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
| require 'fileutils' | |
| # specify files which should not be copied | |
| dont_copy = ['jquery.languageTags.js'] | |
| puts "Copying files from FE to BE folder" | |
| from_dir = "./../FE/templates/global" | |
| to_dir = "./../BE/trunk/htdocs/fileadmin/templates/global" |
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
| (function($) { // jQuery no conflict container | |
| "use strict"; // strict mode on! | |
| new function() { // class container | |
| // map this to that (to use this in anonymous functions) | |
| var that = this; | |
| // fires initial Event... |
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
| [ | |
| { "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, | |
| { "keys": ["alt+up"], "command": "swap_line_up" }, | |
| { "keys": ["alt+down"], "command": "swap_line_down" }, | |
| { "keys": ["ctrl+alt+j"], "command": "join_lines" }, | |
| { "keys": ["ctrl+alt+down"], "command": "duplicate_line" }, | |
| { "keys": ["shift+ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
| { "keys": ["ctrl+shift+s"], "command": "save_all" }, | |
| { "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, | |
| { "keys": ["shift+ctrl+f4"], "command": "close_all" }, |
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
| // .* does not work because it can not handle multi line | |
| var regex = /<body.*?>([\s\S]*)<\/body>/igm; | |
| regex.exec(data); | |
| data = RegExp.$1; |
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
| "asdf a asdfsad".replace(/\s+/g, "-"); |
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
| $paddingHeight: 50px; | |
| background: transparent url(../img/b2b-content-middle.png) repeat-y; | |
| min-height: 400px; | |
| padding: 30px 30px 0 30px; | |
| margin-bottom: $paddingHeight; | |
| position: relative; | |
| .main-content { | |
| &:before, | |
| &:after { |
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
| nohup node app.js & | |
| ps -ef | grep "app.js" |
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
| .ir { | |
| font: 0/0 a; | |
| text-shadow: none; | |
| color: transparent; | |
| } |
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
| # Put this file in '_plugins/' and write a YAML header to your .coffee files (i.e. "---\n---\n") | |
| module Jekyll | |
| require 'coffee-script' | |
| class CoffeeScriptConverter < Converter | |
| safe true | |
| priority :normal | |
| def matches(ext) | |
| ext =~ /coffee/i | |
| end |
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
| module Jekyll | |
| # Sass plugin to convert .scss to .css | |
| # | |
| # Note: This is configured to use the new css like syntax available in sass. | |
| require 'sass' | |
| class SassConverter < Converter | |
| safe true | |
| priority :low | |
| def matches(ext) |