TODO: Write a project description
TODO: Describe the installation process
| <key>Customized</key> | |
| <dict> | |
| <key>Delete Line</key> | |
| <string>selectLine:, deleteBackward:</string> | |
| <key>Duplicate Lines</key> | |
| <string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string> | |
| <key>Duplicate Current Line</key> | |
| <string>moveToBeginningOfLine:, deleteToEndOfLine:, yank:, insertNewline:, moveToBeginningOfLine:, yank:</string> | |
| </dict> |
| <?php | |
| // Output screenshot: | |
| // http://cl.ly/NsqF | |
| // ------------------------------------------------------- | |
| include_once 'console.php'; | |
| // ::log method usage | |
| // ------------------------------------------------------- | |
| Console::log('Im Red!', 'red'); |
| function hex2rgb($hex) { | |
| $hex = str_replace("#", "", $hex); | |
| if(strlen($hex) == 3) { | |
| $r = hexdec(substr($hex,0,1).substr($hex,0,1)); | |
| $g = hexdec(substr($hex,1,1).substr($hex,1,1)); | |
| $b = hexdec(substr($hex,2,1).substr($hex,2,1)); | |
| } else { | |
| $r = hexdec(substr($hex,0,2)); | |
| $g = hexdec(substr($hex,2,2)); |
| <?php | |
| $urls = array(); | |
| $videos = array(); | |
| // vimeo test | |
| $urls[] = 'http://vimeo.com/6271487'; | |
| $urls[] = 'http://vimeo.com/68546202'; | |
| // youtube test |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Bootstrap Masonry Template</title> | |
| <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
| <link rel="stylesheet" href="style.css"> | |
| <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans+Caption:400,700"> |
| //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| #!/bin/bash | |
| mkdir -p ~/.ssh | |
| # generate new personal ed25519 ssh keys | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <rthijssen@gmail.com>" | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <rob@rob.tn>" | |
| # generate new host cert authority (host_ca) ed25519 ssh key | |
| # used for signing host keys and creating host certs |