Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| // ==UserScript== | |
| // @name UTM param stripper | |
| // @author Paul Irish | |
| // @namespace http://github.com/paulirish | |
| // @version 1.1 | |
| // @description Drop the UTM params from a URL when the page loads. | |
| // @extra Cuz you know they're all ugly n shit. | |
| // @include http://* | |
| // ==/UserScript== |
| # Any Model | |
| def to_s | |
| name | |
| end | |
| def to_param | |
| "#{id}-#{to_s.parameterize}" | |
| end |
| var isVisible = false; | |
| function onVisible() { | |
| isVisible = true; | |
| jQuery.getScript("http://www.google-analytics.com/ga.js"); | |
| } | |
| if ( document.webkitVisibilityState === undefined || document.webkitVisibilityState === "visible" ) { | |
| onVisible(); | |
| } else { | |
| jQuery.bind( "webkitvisibilitychange", function() { |
| .mouse, #preview{ | |
| position: absolute; | |
| background-repeat: no-repeat; | |
| height: 22px; | |
| min-width: 15px; | |
| z-index: 100; | |
| } | |
| .mouse{ | |
| background-image: url('../images/cursor.png'); |
| exports.I18n = | |
| en: | |
| title: "Free YouTube video download" | |
| navi: | |
| home: "Home" | |
| howto: "Tutorial" | |
| blog: "Blog" | |
| termsofuse: "Terms of Use" | |
| support: "Support" | |
| imprint: "Imprint" |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| <script type="text/javascript"> | |
| var _gaq = _gaq || []; | |
| _gaq.push(['_setAccount', 'UA-12345678-1']); | |
| _gaq.push(['_setDomainName', 'yoursite.com']); | |
| _gaq.push(['_addIgnoredRef', 'yoursite.com']); | |
| _gaq.push(['_trackPageview']); | |
| (function() { | |
| var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| public static Result list() | |
| { | |
| ObjectNode json = Json.newObject(); | |
| ArrayNode arr = json.arrayNode(); | |
| ObjectNode element1 = Json.newObject(); | |
| element1.put("title", 123); | |
| element1.put("content", 123); | |
| arr.add(element1); |
| // Hide URL Bar for iOS and Android "level above next level" | |
| // streamlined version without extension part | |
| // slowly moving it to perfection... | |
| MBP.hideUrlBar = function () { | |
| if ( !location.hash ) { | |
| doScrollTop = setInterval(function(){ | |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |