Skip to content

Instantly share code, notes, and snippets.

@linkarys
linkarys / ryan.css
Created March 27, 2013 14:10
css: default
/*! ryan.css v1.1.0 */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
html{background: none;height: 100%;}
::selection{background:#78a8a8;color:#f7f3e7;text-shadow:none;}
::-moz-selection{background:#78a8a8;color:#f7f3e7;text-shadow:none;}
::-webkit-selection{background:#78a8a8;color:#f7f3e7;text-shadow:none;}
@linkarys
linkarys / ex.js
Created March 27, 2013 14:14
javascript: extend
/**************************************************************
author: linkarys
description: framework of javascript
date begin: 2012-9-8
**************************************************************/
/* =============================================================================
Shortcuts
========================================================================== */
@linkarys
linkarys / sublime-browser
Last active December 15, 2015 11:39
sublime: openbrowser
import sublime, sublime_plugin
import webbrowser
class openBrowser(sublime_plugin.TextCommand):
def run(self, edit):
url = self.view.file_name();
webbrowser.open_new(url)
@linkarys
linkarys / sublime-plugin-list
Last active December 15, 2015 11:39
sublime: pluginlist
AdvanceNewFile
Netus Fetch
Gist
SulimetLinter
ClipBoard History
@linkarys
linkarys / sublime-keybindings
Created March 27, 2013 14:28
sublime: key bindings
[
{ "keys": ["alt+x"], "command": "open_browser" },
{ "keys": ["ctrl+k", "ctrl+t"], "command": "title_case" },
{ "keys": ["alt+shift+j"], "command": "move_to", "args": {"to": "bol"}},
{ "keys": ["alt+shift+k"], "command": "move_to", "args": {"to": "eol"}},
{ "keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false}},
{ "keys": ["ctrl+alt+f"], "command": "pep8_autoformat" },
{ "keys": ["alt+shift+;"], "command": "run_macro_file", "args": {"file": "Packages/User/addnewlinewithsemi.sublime-macro" } },
{ "keys": ["alt+shift+l"], "command": "run_macro_file", "args": {"file": "Packages/User/addnewline.sublime-macro" } },
{ "keys": ["ctrl+shift+l"], "command": "run_macro_file", "args": {"file": "Packages/User/addnewlinewithcolon.sublime-macro" } },
@linkarys
linkarys / sublime-nettusts-settings
Last active December 15, 2015 11:39
sublime: nettus fetch
"jquery": "http://code.jquery.com/jquery.min.js",
"reset": "http://meyerweb.com/eric/tools/css/reset/reset.css",
"prefixfree": "https://raw.github.com/LeaVerou/prefixfree/gh-pages/prefixfree.min.js",
"normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css"
@linkarys
linkarys / sublime-settings
Created March 27, 2013 14:30
sublime: settings
{
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
"theme": "Soda Dark.sublime-theme",
"word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?_",
"font_face": "Comic Sans MS",
"font_face": "STXIhei Bold",
"font_size": 11.2,
"ignored_packages":
[
"ASP",
@linkarys
linkarys / template.html
Created March 27, 2013 15:00
html: common
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="css/tyles.css">
<title>HTML</title>
</head>
<body>
@linkarys
linkarys / coldfusion-specialcharacters
Created March 28, 2013 03:54
coldfusion: special characters
<cfset tabChr = chr(9)>
<cfset newlineChr = chr(13) & chr(10)>
tabChar = chr(9);
newlineChr = chr(13) & chr(10);
@linkarys
linkarys / sublime-shortcuts
Created March 30, 2013 04:09
sublime: shortcuts
Search Forward F3
Search Backwards Shift + F3
Select All Matches Alt + F3Searching
Toggle Regular Expressions Alt + R
Toggle Case Sensitivity Alt + C
Toggle Exact Match Alt + W
Find Next Enter
Find Previous Shift + Enter