Skip to content

Instantly share code, notes, and snippets.

View juliancoleman's full-sized avatar

Julian Coleman juliancoleman

View GitHub Profile
#include QMK_KEYBOARD_H
enum custom_keycodes {
REPT = SAFE_RANGE,
};
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_COLEMAKDH,
(barcode-api) bob@Arvid:~/pyproj/barcode-api$ conda env export > environment.yml
Traceback (most recent call last):
  File "/home/bob/anaconda3/bin/conda-env", line 6, in <module>
    from conda_env.cli.main import main
  File "/home/bob/anaconda3/lib/python3.7/site-packages/conda_env/cli/main.py", line 44, in <module>
    from . import main_create
  File "/home/bob/anaconda3/lib/python3.7/site-packages/conda_env/cli/main_create.py", line 17, in <module>
    from .. import exceptions, specs
ZSH_THEME_GIT_PROMPT_PREFIX=":%{$fg_bold[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}✓%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_AHEAD="%{$fg_bold[cyan]%}▲%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_BEHIND="%{$fg_bold[orange]%}▼%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_STAGED="%{$fg_bold[green]%}●%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_UNSTAGED="%{$fg_bold[yellow]%}●%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg_bold[red]%}●%{$reset_color%} "
#
  1. Keep your diff sizes and commits small
    • Break down the project into bite-sized chunks and submit targeted, small pieces, one-at-a-time.
    • Submit small-sized diffs incrementally.
    • It's easier to receive approval on smaller diffs.
  2. Write a design doc
    • Write a document that describes what you're going to build.
      • Feature requirements
      • Architecture/Setup
      • Helper functions
  • Classes
@juliancoleman
juliancoleman / cloudSettings
Last active August 17, 2019 00:05
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-08-17T00:05:25.614Z","extensionVersion":"v3.4.1"}
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Name=DBGlass
Comment=Simple, modern and fast PostgreSQL client
GenericName=PostgreSQL Client
Exec=/opt/DBGlass-linux-x64/DBGlass
Icon=/opt/DBGlass-linux-x64/resources/app/logo/logo.png
Terminal=false
@juliancoleman
juliancoleman / YakYak.desktop
Last active February 12, 2018 04:43
A concise install instruction for YakYak on Ubuntu GNOME 16.04
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Name=YakYak
Comment=Desktop client for Google Hangouts
GenericName=Hangouts Client
Exec=/opt/yakyak-linux-x64/yakyak
Icon=/opt/yakyak-linux-x64/resources/app/icons/[email protected]
Terminal=false