giphy [mp4 gif url]
- Copy and run the following:
curl -o /usr/local/bin/giphy https://gist.githubusercontent.com/tmilewski/f65dd9b6bfcf5c2a39742ce1e515a481/raw/3baa4e5ecdc5d07bd3948d406360e90d8223aa90/giphy; chmod +x /usr/local/bin/giphy
#!/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 |
-- -------------------------------------------------------------------------------- | |
-- Routine DDL | |
-- -------------------------------------------------------------------------------- | |
DELIMITER $$ | |
CREATE DEFINER=`root`@`localhost` FUNCTION `lowerword`( str VARCHAR(128), word VARCHAR(5) ) RETURNS varchar(128) CHARSET utf8 | |
BEGIN | |
DECLARE i INT DEFAULT 1; | |
DECLARE loc INT; |
#!/usr/bin/env ruby | |
# > TOKEN=[PERSONAL ACCESS TOKEN] ruby backup.rb | |
require 'octokit' | |
directory = './backups' | |
client = Octokit::Client.new( | |
access_token: ENV['TOKEN'], |
// 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 |
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' |
// Helps with IE debugging. | |
jQuery.extend({ | |
getScript: function(url, callback) { | |
var head = document.getElementsByTagName("head")[0]; | |
var script = document.createElement("script"); | |
var done = false; // Handle Script loading | |
script.src = url; | |
script.onload = script.onreadystatechange = function() { // Attach handlers for all browsers | |
if ( !done && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete") ) { |
import { SearchIndex } from './search-index.ts' | |
import { SearchService } from './search-service.ts' | |
// ========================================================== | |
// Index Contents Shape | |
// ========================================================== | |
export interface Collab { | |
id: string | |
name: string |