Just like NATO phonetic alphabet but using software related words. You can use them to spell out your git commit SHAs or JIRA issue codes.
- A - Agile
- B - Build
- C - Commit
find . -type f -name 'package.json' -not -path './.git/*' -not -path '*/node_modules/*' -execdir readlink -f {} \; -execdir npm-check \; > deps.log |
import React from "react"; | |
import { useForm, SubmitHandler } from "react-hook-form"; | |
import { usePutFormMutation } from "../formApi"; | |
import { useDispatch, useSelector } from 'react-redux' | |
type Inputs = { | |
name: string, | |
}; | |
export default function FormPageTwo() { |
class Session { | |
public String getCustomerName() { | |
// Some checks and throws exception if session not started | |
throw new SessionNotStartedException(); | |
} | |
public static Session getCurrentSession() { | |
return new Session(); | |
} | |
} |
class Session { | |
public String getCustomerName() { | |
// Some checks and throws exception if session not started | |
throw new SessionNotStartedException(); | |
} | |
public static Session getCurrentSession() { | |
return new Session(); | |
} | |
} |
package main | |
import ( | |
"fmt" | |
"os" | |
"errors" | |
) | |
func NewNote(field string) (Note, error) { | |
inst := Note{} |
#include <iostream> | |
#include <stdexcept> | |
class Note { | |
public: | |
int PublicField; | |
std::string GetPrivateField() { | |
return privateField; | |
} | |
void SetPrivateField(const std::string& field) { |
/// object_pool.hpp | |
#include <functional> | |
#include <iostream> | |
#include <memory> | |
#include <stack> | |
#include <tuple> | |
// Base class for all poolable objects | |
class PoolableObject { |
#include <iostream> | |
class HiMyNameIs { | |
public: | |
void SlimShady() { std::cout << "Hi! My name is (what?)" << std::endl; } | |
}; | |
void HiMyNameIs() { | |
std::cout << "My name is who?" << std::endl; | |
} |
find impl/ -iname *.hpp -o -iname *.cpp -o -iname *.h | xargs clang-format -i -style=file |