Skip to content

Instantly share code, notes, and snippets.

View le6o's full-sized avatar

Martin Ledgard le6o

  • Birmingham, England
View GitHub Profile
@kharrison
kharrison / SwiftIntegerGuide.swift
Created February 17, 2017 16:43
Swift Integer Quick Guide
// -------------------------------------
// Swift Integer Quick Guide
// -------------------------------------
// Created by Keith Harrison http://useyourloaf.com
// Copyright (c) 2017 Keith Harrison. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
@cs278
cs278 / github-ws-toggle.js
Last active August 29, 2015 14:04
Toggles ignore whitespace on GitHub diffs.
(function(location, domain) {
var search, regexp;
domain = domain || 'github.com';
search = location.search;
regexp = /[\?&]w=1/;
if (domain !== location.hostname) return;
if (regexp.test(search)) {
@jonathantneal
jonathantneal / README.md
Last active March 24, 2025 17:47
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"