Skip to content

Instantly share code, notes, and snippets.

View jamescaldow's full-sized avatar
:octocat:
Embracing the Octocat

James Caldow jamescaldow

:octocat:
Embracing the Octocat
View GitHub Profile
@jamescaldow
jamescaldow / nginx.conf
Created August 21, 2016 17:50
Nginx config file with SSL/TLS, security, speed and Cloudflare optimisations. (Work in progress)
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
events {
@jamescaldow
jamescaldow / .gitignore
Created December 29, 2016 09:45 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@jamescaldow
jamescaldow / tmux-cheatsheet.markdown
Created September 9, 2018 07:36 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jamescaldow
jamescaldow / GPG and git on macOS.md
Created May 6, 2021 19:11 — forked from danieleggert/GPG and git on macOS.md
How to set up git to use the GPG Suite

GPG and git on macOS

Setup

No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.

  1. Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  2. Create or import a key -- see below for https://keybase.io
  3. Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  4. Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys
@jamescaldow
jamescaldow / keybase.md
Last active June 20, 2022 20:42
Keybase Gist

Keybase proof

I hereby claim:

  • I am jamescaldow on github.
  • I am jamescaldow (https://keybase.io/jamescaldow) on keybase.
  • I have a public key ASCnoVaz_XOEuMrvobEscdd6oASjrD6iPcMUSprYmsDY3Ao

To claim this, I am signing this object: