Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| /c_extension_module*.so | |
| /build/* | |
| /.do_built* | |
| /log | |
| /all.did | 
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| // ==UserScript== | |
| // @name HTML5 video using VLC plugin | |
| // @grant none | |
| // @include * | |
| // ==/UserScript== | |
| function html5vlc(){ | |
| var videos = document.getElementsByTagName("video"); | |
| var embeds = new Array(videos.length); | |
| for (var i = 0; i < videos.length; i++) { | |
| var vlc = document.createElement("embed"); | 
This should be one of the core features of Git, but for some reason it's impossible to figure out how to search for a string in your commit history and see the diffs that that string is in. Here's the best I've come up with:
To find which commits and which files a string was added or removed in:
git log -S'search string' --oneline --name-status
To see the diff of that
| --- | |
| title: "Sample Equations used in Statistics" | |
| output: html_document | |
| --- | |
| ### Summations | |
| ### Without Indices | |
| $\sum x_{i}$ | 
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import lxml.etree | |
| import lxml.html | |
| import requests | |
| xml_sample = """<?xml version="1.0" encoding="UTF-8"?> | |
| <foo:Results xmlns:foo="http://www.foo.com" xmlns="http://www.bah.com"> | |
| <foo:Recordset setCount="2"> | 
| language: | |
| - cpp | |
| compiler: | |
| - gcc | |
| before_install: | |
| - sudo apt-get update | |
| install: |