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
package main | |
import ( | |
"fmt" | |
"html/template" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"strings" |
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
<?php namespace App\Tips; | |
class NewUser extends Tip { | |
/** | |
* An array of tips. | |
* | |
* @var array | |
*/ | |
protected $tips = [ |
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
<?php namespace App\Database; | |
use Config; | |
use DB; | |
class OTF { | |
/** | |
* The name of the database we're connecting to on the fly. | |
* |
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 bash | |
# | |
# browser-remote-watch: reload the page when the source changes | |
# | |
# Version 1.1 | |
# | |
# Written by Kevin MacMartin ([email protected]) | |
# Released under the MIT license | |
# |
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
# hhvm - HipHop VM | |
# | |
# The HipHopVM server provides a high performance PHP stack and web server. | |
# modified by pjv from original found here: http://stackoverflow.com/questions/19013516/upstart-script-for-hhvm-hiphop | |
description "HHVM server" | |
author "pjv https://gist.github.com/pjv/2e9ab32d8d9884bf79a4" | |
start on filesystem or runlevel [2345] | |
stop on runlevel [!2345] |
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
package main | |
import ( | |
"errors" | |
"log" | |
"os" | |
"github.com/PuerkitoBio/goquery" | |
"github.com/robertkrimen/otto" | |
) |
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"runtime" | |
"sync" | |
) |
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/bash | |
# | |
## blog | |
# | |
# This script creates a temporary file with [trofaf][] header data and | |
# opens it with an editor. When this is saved and closed, the file is | |
# moved to a particular directory with a title given either as the | |
# first argument, or read on the command line after completion. | |
# | |
# Once the file has been successfully renamed to markdown, if REGENDIR |
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/local/bin/perl | |
# irpg bot v3.1.2 by jotun, [email protected], et al. See http://idlerpg.net/ | |
# | |
# Some code within this file was written by authors other than myself. As such, | |
# distributing this code or distributing modified versions of this code is | |
# strictly prohibited without written authorization from the authors. Contact | |
# [email protected]. Please note that this may change (at any time, no less) if | |
# authorization for distribution is given by patch submitters. | |
# | |
# As a side note, patches submitted for this project are automatically taken to |
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/bash | |
# This script bumps the version number of a Go project. The variable "Version" | |
# should be declared as a constant in the file that matches the name of the | |
# project. For example, a project contained in example/ should declare Version | |
# in example.go. | |
# | |
# To use: vup <level> | |
# | |
# <level> is the depth of the bump, determined by number of periods | |
# to the left of the number. For example, bumping v1 to v2 is a level |
NewerOlder