The main branches
- master
| silex.model.Widget.register(function(model, view, controller) { | |
| return { | |
| title: 'Align tool', | |
| description: 'This widget displays buttons to align selected elements.', | |
| selection: [], |
| # needs this: curl -L https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git | |
| source ~/.bash_git | |
| # comes from http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt | |
| # Customize BASH PS1 prompt to show current GIT repository and branch. | |
| # by Mike Stewart - http://MediaDoneRight.com | |
| # SETUP CONSTANTS | |
| # Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
| # I don't remember where I found this. o_O |
| set-option -g prefix C-a | |
| unbind-key C-b | |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| # set-window-option -g automatic-rename on | |
| # set-option -g set-titles on |
| set-option -g prefix C-a | |
| unbind-key C-b | |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on |
| // ==UserScript== | |
| // @name twitter-tools | |
| // @namespace lexoyo.user.scripts | |
| // @description Add buttons twitter to gain useful real followers | |
| // @include https://twitter.com/* | |
| // @version 1.1.4 | |
| // @run-at document-end | |
| // @grant none | |
| // ==/UserScript== |
| <html> | |
| OK LOGGED IN | |
| <ul> | |
| <li> | |
| <a href='/repo'>repo<a> | |
| </li> | |
| </ul> | |
| </html> |
| const Shape = { | |
| Triangle: new Symbol() | |
| }; | |
| // Demo func | |
| function getArea(shape, options) { | |
| var area = 0; | |
| switch (shape) { | |
| case Shape.Triangle: |
| <?php | |
| /** | |
| * Recurses each directory and runs PHP's lint function against each file | |
| * to test for parse errors. | |
| * | |
| * @param string $dir the directory you would like to start from | |
| * @return array the files that did not pass the test | |
| */ | |
| function lint( $dir = 'C:\dev\\' ) |