-
create a file in
/usr/local/bincalled "stupid" and add the content for "stupid" in this gist to the file. Alternatively you could do a wget. -
Set the file to executable by
chmod +x stupid
Now, the stupid command shoud be available anywhere.
| server { | |
| server_name _ {{domain}}; | |
| location / { | |
| proxy_pass http://localhost:{{port}}; | |
| } | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| } |
| #!/bin/bash | |
| montage -tile 2x5 -mode concatenate -background transparent "images/*.*" sprite%05d.png | |
| optipng -o5 *.png |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "precise32" | |
| config.vm.box_url = "http://files.vagrantup.com/precise32.box" |
| <?php | |
| // [...] | |
| if( !function_exists('get_thumb_url') ) | |
| { | |
| function get_thumb_url($size='thumbnail',$id=null) | |
| { | |
| $id = ( $id ?: get_post()->ID ); |
| var ffmpeg = require('fluent-ffmpeg'), | |
| express = require('express'); | |
| var app = express(); | |
| app.get('/video/:filename', function(req, res) { | |
| res.contentType('ogg'); | |
| var pathToMovie = 'video/' + req.params.filename; // be-s1e1.avi |
| html { | |
| font-family: "Dejavu Sans Mono", "Monaco", monospace; | |
| font-size: 9pt; | |
| background-color: #2b2b2b; | |
| color: #FFFFFF; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| body { |
| # All colors must be in the form of '#rrggbb' or '#rgb'. | |
| # You cannot use color names. | |
| log-view: | |
| nickname-format: '%n' | |
| input-text: | |
| font-family: 'Lucida Grande, Tahoma, Verdana, Arial, sans-serif' | |
| font-size: 11.0 | |
| background-color: '#232323' | |
| color: '#ffffff' |
| { | |
| "color_scheme": "Packages/User/Laravel.tmTheme", | |
| "detect_indentation": false, | |
| "font_size": 19.0, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "line_padding_bottom": 7, | |
| "line_padding_top": 7, |
| <?php spl_autoload_register(function($c){@include preg_replace('#\\\|_(?!.+\\\)#','/',$c).'.php';}); |