- Install stud
$ brew install https://raw.github.com/paulnicholson/homebrew/master/Library/Formula/stud.rb
- Download and install the powssl script
$ curl https://gist.githubusercontent.com/paulnicholson/2050941/raw/7e4d2178e3733bed18fdfe737277c3cb72241d39/powssl > ~/bin/powssl
$ chmod +x ~/bin/powssl
- Run powssl to create development certificate and configure stud.
$ powssl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Licence: MIT | |
# Created by tomykaira, 2011-10-25 | |
if [ $# -ne 1 ]; then | |
echo "Give me your new project name (only)" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install stud | |
brew install https://raw.github.com/paulnicholson/homebrew/master/Library/Formula/stud.rb | |
# Download and install the powssl script | |
curl https://gist.githubusercontent.com/paulnicholson/2050941/raw/3ea59efe8c7e9013c265313045a9fdda5c653963/powssl > ~/bin/powssl | |
chmod +x ~/bin/powssl | |
# Add ~/bin to your PATH | |
export PATH="$HOME/bin:$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# > TOKEN=[PERSONAL ACCESS TOKEN] ruby backup.rb | |
require 'octokit' | |
directory = './backups' | |
client = Octokit::Client.new( | |
access_token: ENV['TOKEN'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/krux/postscribe | |
<!-- Main form wrapper, required for styling the form --> | |
<div class="webform"> | |
<!-- Empty div (must have a unique ID), into which the form will be loaded --> | |
<div id="formstack-bridal-appointment"></div> | |
<script type="text/javascript">// <![CDATA[ | |
// Only run the code below when jQuery says the document is ready | |
(function($) { | |
// Process the form using postscribe: | |
// 1. Must reference the unique ID of the div above |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.gl 'pull --prune' | |
git config --global alias.gp 'push origin HEAD' | |
git config --global alias.lg 'log --graph --pretty=format:"%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset" --abbrev-commit --date=relative' | |
git config --global alias.gd 'diff --color | sed "s/^\([^-+ ]*\)[-+ ]/\\1/" | less -r' | |
git config --global alias.c 'commit' | |
git config --global alias.ca 'commit -a' | |
git config --global alias.co 'checkout' | |
git config --global alias.cb 'copy-branch-name' | |
git config --global alias.b 'branch' | |
git config --global alias.s 'status -sb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { SearchIndex } from './search-index.ts' | |
import { SearchService } from './search-service.ts' | |
// ========================================================== | |
// Index Contents Shape | |
// ========================================================== | |
export interface Collab { | |
id: string | |
name: string |
OlderNewer