Skip to content

Instantly share code, notes, and snippets.

View tsphethean's full-sized avatar

Tom Phethean tsphethean

View GitHub Profile
@hendrikswan
hendrikswan / .eslintrc
Last active September 29, 2020 09:18
Packages and build config for Build Cross Platform React Native Apps with Exponent and Redux
{
"extends": "airbnb/base",
"plugins": [
"react"
],
"env": {
"node": true,
"jasmine": true,
},
"rules": {
@jamtur01
jamtur01 / ladder.md
Last active July 4, 2024 19:31
Kickstarter Engineering Ladder
@LeShadow
LeShadow / gist:131863b8844cec8edde3
Last active August 29, 2015 14:07
#drupageddon PoC (untested)
require 'net/http'
require 'uri'
require 'optparse'
options = {}
OptionParser.new do |opts|
opts.banner = "Usage: poc.rb [options]"
opts.on("-d", "--drupal_url=drupal_host", "Define the url for your drupalsite without. (www.domain.tld)") do |drupal_url|
@mrkrstphr
mrkrstphr / README.md
Last active February 5, 2019 13:17
Deploying Sculpin Sites to GitHub Pages

Deploying Sculpin Sites to GitHub Pages

I wanted to be able to use Sculpin to generate GitHub pages. Here's what I did...

  1. Created a super awesome Sculpin site from the Sculpin Blog Skeleton

  2. Make sure everything is under version control in my master branch (except things that shouldn't be. see the .gitignore)

  3. Updated publish.sh:

#!/bin/bash

@olragon
olragon / run.sh
Last active January 3, 2017 00:37
HHVM config for Drupal 7 with clean urls working fine.
#!/usr/bin/env bash
sudo hhvm --config site1.hhvm.hdf --user www-data --mode daemon -v "Log.Level=Verbose" -v "Log.NoSilencer=on" -v "Log.Header=on"
@simensen
simensen / composer.json
Created July 9, 2012 13:55
Trying to install VersionControl_Git to be used with a local Phing install managed by Composer
{
"name": "phing/phing",
"description": "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.",
"keywords": ["build", "tool", "task"],
"homepage": "http://www.phing.info/",
"license": "LGPL3",
"authors": [
{
"name": "Michiel Rook",
"email": "mrook@php.net"
# Small define to expand a tarball at a location; assumes File[$title]
# definition of tarball and installation of pax:
define baselayout::drop_tarball($dest, $dir_name, $dir_sub='') {
# $dest: cwd in which expansion is done
# $dir_name: name of top level directory created in $dest
# $dir_sub: regexp to -s for pax - not supported for .zip archives
if ($dir_sub) {