The Laracasts PHPStorm theme.
https://www.dropbox.com/s/f4l3qc2falnvq61/laracasts_theme_updated.icls
(Add to ~/Library/Preferences/WebIde80/colors on Mac.)
| #!/bin/bash | |
| # | |
| # When you are working on your macbook sitting in cafe and you have to go pee, | |
| # you need some way to guard you machine. | |
| # | |
| # Start this script, remove any earphones, and go do the job. | |
| # The assumption is the thief will close the lid of the laptop before taking it away. | |
| # This script detects the closing of the lid and plays some loud audio that will | |
| # likely distract the thief and/or grab attention of nearby people, making the |
| # On slow systems, checking the cached .zcompdump file to see if it must be | |
| # regenerated adds a noticable delay to zsh startup. This little hack restricts | |
| # it to once a day. It should be pasted into your own completion file. | |
| # | |
| # The globbing is a little complicated here: | |
| # - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct. | |
| # - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error) | |
| # - '.' matches "regular files" | |
| # - 'mh+24' matches files (or directories or whatever) that are older than 24 hours. | |
| autoload -Uz compinit |
The Laracasts PHPStorm theme.
https://www.dropbox.com/s/f4l3qc2falnvq61/laracasts_theme_updated.icls
(Add to ~/Library/Preferences/WebIde80/colors on Mac.)
| module.exports = function(grunt) { | |
| require('load-grunt-tasks')(grunt); | |
| // Project configuration. | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| makepot: { | |
| target: { |
| using System; | |
| using System.Net.Http; | |
| using System.Net.Http.Formatting; | |
| using System.Threading.Tasks; | |
| namespace MyProject.Extensions | |
| { | |
| public static class HttpClientEx | |
| { | |
| public const string MimeJson = "application/json"; |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| #!/bin/bash | |
| # Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password | |
| # Updated to work with Vagrant 1.3.x | |
| # Stage updated sudoers in a temporary file for syntax checking | |
| TMP=$(mktemp -t vagrant_sudoers) | |
| cat /etc/sudoers > $TMP | |
| cat >> $TMP <<EOF | |
| # Allow passwordless startup of Vagrant when using NFS. |
| INSERT INTO 'snippets' ('title', 'body') VALUES | |
| (':+1:', '👍'), | |
| (':-1:', '👎'), | |
| (':100:', '💯'), | |
| (':1234:', '🔢'), | |
| (':8ball:', '🎱'), | |
| (':a:', '🅰'), | |
| (':ab:', '🆎'), | |
| (':abc:', '🔤'), | |
| (':abcd:', '🔡'), |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats