This file contains hidden or 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
<div class="cat"> | |
<div class="ear ear--left"></div> | |
<div class="ear ear--right"></div> | |
<div class="face"> | |
<div class="eye eye--left"> | |
<div class="eye-pupil"></div> | |
</div> | |
<div class="eye eye--right"> | |
<div class="eye-pupil"></div> | |
</div> |
This file contains hidden or 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 | |
# put your instance id here | |
instance="dev######" | |
# make sure your password doesn't have shell operators in it | |
credentials="admin:password" | |
while true; do | |
entropy=`rand` | |
outdata="{\"short_description\":\"Automated incident $entropy\"}" |
This file contains hidden or 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
Eg. URL translating en page to es | |
http://translate.google.com/translate?hl=en&sl=en&tl=es&u=http://about.com | |
Define the web interface language to be English by adding | |
hl=en to the end of the URL and after the change the URL will look | |
like this: | |
http://www.google.com/search?hl=en | |
When you use more than one setting code in the URL, you need to use |
This file contains hidden or 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
/* | |
Script Include | |
Name: JournalRedactor | |
Client Callable: false | |
Accessible from: All scopes | |
Usage documentation: http://redactor.snc.guru/ | |
*/ | |
var JournalRedactor = Class.create(); | |
JournalRedactor.prototype = { |
This file contains hidden or 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
// just run node pandoc-build.js > output.txt | |
// that will write the contents of this there | |
// and then just copy paste that command and | |
// you should get a good epub. | |
// I always had to cd to the root of the posts | |
// directory to run the command. | |
var fs = require('fs'); | |
var path = require('path'); | |
var output = [ | |
"pandoc -o _book.epub \\\n", |
NewerOlder