Remove all stuff that I won't use.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
This commit is contained in:
parent
2596046140
commit
4fc8d0f296
62
bin/cloudapp
62
bin/cloudapp
@ -1,62 +0,0 @@
|
|||||||
#!/usr/bin/env ruby
|
|
||||||
#
|
|
||||||
# cloudapp
|
|
||||||
# Zach Holman / @holman
|
|
||||||
#
|
|
||||||
# Uploads a file from the command line to CloudApp, drops it into your
|
|
||||||
# clipboard (on a Mac, at least).
|
|
||||||
#
|
|
||||||
# Example:
|
|
||||||
#
|
|
||||||
# cloudapp drunk-blake.png
|
|
||||||
#
|
|
||||||
# This requires Aaron Russell's cloudapp_api gem:
|
|
||||||
#
|
|
||||||
# gem install cloudapp_api
|
|
||||||
#
|
|
||||||
# Requires you set your CloudApp credentials in ~/.cloudapp as a simple file of:
|
|
||||||
#
|
|
||||||
# email
|
|
||||||
# password
|
|
||||||
|
|
||||||
require 'rubygems'
|
|
||||||
|
|
||||||
['json', 'cloudapp_api'].each do |gem|
|
|
||||||
begin
|
|
||||||
require gem
|
|
||||||
rescue LoadError
|
|
||||||
puts "You need to install #{gem}: gem install #{gem}"
|
|
||||||
exit!(1)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
config_file = "#{ENV['HOME']}/.cloudapp"
|
|
||||||
unless File.exist?(config_file)
|
|
||||||
puts "You need to type your email and password (one per line) into "+
|
|
||||||
"`~/.cloudapp`"
|
|
||||||
exit!(1)
|
|
||||||
end
|
|
||||||
|
|
||||||
email,password = File.read(config_file).split("\n")
|
|
||||||
|
|
||||||
if ARGV[0].nil?
|
|
||||||
puts "You need to specify a file to upload."
|
|
||||||
exit!(1)
|
|
||||||
end
|
|
||||||
|
|
||||||
urls = []
|
|
||||||
ARGV.each do |x|
|
|
||||||
CloudApp.authenticate(email,password)
|
|
||||||
puts "Attempting to upload #{x}"
|
|
||||||
url = CloudApp::Item.create(:upload, {:file => x}).url
|
|
||||||
|
|
||||||
# Say it for good measure.
|
|
||||||
puts "Uploaded #{x} to #{url}"
|
|
||||||
|
|
||||||
# Get the embed link.
|
|
||||||
url = "#{url}/#{ARGV[0].split('/').last}"
|
|
||||||
urls << url
|
|
||||||
end
|
|
||||||
|
|
||||||
# Copy it to your (Mac's) clipboard.
|
|
||||||
`echo '#{urls.join(',')}' | tr -d "\n" | pbcopy`
|
|
110
bin/color.js
110
bin/color.js
@ -1,110 +0,0 @@
|
|||||||
#!/usr/bin/env node
|
|
||||||
|
|
||||||
/**
|
|
||||||
* HTML color converter
|
|
||||||
* Convert #hex colors to HSL/HSLA (by default) or RGB/RGBA (if `--rgb` key specified).
|
|
||||||
*
|
|
||||||
* Usage: color [--rgb] [#]dead00 [alpha]
|
|
||||||
*
|
|
||||||
* Author: Artem Sapegin, sapegin.me
|
|
||||||
* Based on https://github.com/LeaVerou/CSS.coloratum
|
|
||||||
*/
|
|
||||||
|
|
||||||
//jshint node:true
|
|
||||||
|
|
||||||
var format = 'hsl';
|
|
||||||
var args = process.argv.splice(2);
|
|
||||||
if (!args.length) helpme();
|
|
||||||
|
|
||||||
if (args[0] === '--rgb') {
|
|
||||||
format = 'rgb';
|
|
||||||
args = args.splice(1);
|
|
||||||
}
|
|
||||||
if (!args.length) helpme();
|
|
||||||
|
|
||||||
var rgb = hex2rgb(args[0]);
|
|
||||||
if (!rgb) helpme();
|
|
||||||
|
|
||||||
var alpha = args[1];
|
|
||||||
|
|
||||||
if (format === 'hsl') {
|
|
||||||
console.log(toHslString(rgb2hsl(rgb), alpha));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
console.log(toRgbString(rgb, alpha));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function helpme() {
|
|
||||||
console.log('Usage: color [--rgb] [#]dead00 [alpha]');
|
|
||||||
process.exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
function hex2rgb(rgbString) {
|
|
||||||
// Remove leading `#`
|
|
||||||
rgbString = rgbString.replace(/^#/, '');
|
|
||||||
|
|
||||||
// Parse `dead00` and `f00`
|
|
||||||
var channels = [];
|
|
||||||
if (rgbString.length === 3) {
|
|
||||||
channels = rgbString.match(/([0-9a-f])/ig);
|
|
||||||
channels = channels.map(function(hex) {
|
|
||||||
return hex + hex;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
channels = rgbString.match(/([0-9a-f]){2}/ig);
|
|
||||||
}
|
|
||||||
if (channels.length !== 3) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Convert to integers
|
|
||||||
channels = channels.map(function(hex) {
|
|
||||||
return parseInt(hex, 16);
|
|
||||||
});
|
|
||||||
|
|
||||||
return channels;
|
|
||||||
}
|
|
||||||
|
|
||||||
function rgb2hsl(rgb) {
|
|
||||||
rgb = rgb.map(function(a) {
|
|
||||||
return a / 2.55;
|
|
||||||
});
|
|
||||||
|
|
||||||
var hsl = [];
|
|
||||||
var max = Math.max.apply(Math, rgb);
|
|
||||||
var min = Math.min.apply(Math, rgb);
|
|
||||||
|
|
||||||
hsl[2] = Math.round((min + max)/2);
|
|
||||||
|
|
||||||
var d = max - min;
|
|
||||||
|
|
||||||
if(d !== 0) {
|
|
||||||
hsl[1] = Math.round(d*100 / (100 - Math.abs(2*hsl[2] - 100))) + '%';
|
|
||||||
|
|
||||||
switch(max){
|
|
||||||
case rgb[0]: hsl[0] = (rgb[1] - rgb[2]) / d + (rgb[1] < rgb[2] ? 6 : 0); break;
|
|
||||||
case rgb[1]: hsl[0] = (rgb[2] - rgb[0]) / d + 2; break;
|
|
||||||
case rgb[2]: hsl[0] = (rgb[0] - rgb[1]) / d + 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
hsl[0] = Math.round(hsl[0]*60);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
hsl[0] = 0;
|
|
||||||
hsl[1] = '0%';
|
|
||||||
}
|
|
||||||
|
|
||||||
hsl[2] += '%';
|
|
||||||
|
|
||||||
return hsl;
|
|
||||||
}
|
|
||||||
|
|
||||||
function toRgbString(rgb, alpha) {
|
|
||||||
return 'rgb' + (alpha < 1 ? 'a' : '') + '(' + rgb.join(',') + ((alpha < 1 ? ',' + alpha : '') + ')').replace(/\b0\./, '.');
|
|
||||||
}
|
|
||||||
|
|
||||||
function toHslString(hsl, alpha) {
|
|
||||||
return 'hsl' + (alpha < 1 ? 'a' : '') + '(' + hsl.join(',') + ((alpha < 1 ? ',' + alpha : '') + ')').replace(/\b0\./, '.');
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Convert font to set of SVG files
|
|
||||||
|
|
||||||
command -v fontforge >/dev/null 2>&1 || { echo >&2 "fontforge not installed."; exit 1; }
|
|
||||||
|
|
||||||
fontforge -lang=ff -c 'Open($1); SelectWorthOutputting(); foreach Export("svg"); endloop;' $@
|
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Print random domain from list of domains prohibited in Russia.
|
|
||||||
# http://bolknote.ru/2013/01/10/~3831#05
|
|
||||||
|
|
||||||
domain=$(curl -so- http://flisti.ru/stop-list.txt | iconv -f cp1251 | awk -F'[\t\.]' 'BEGIN {srand()} $3 {print rand(), $3}' | sort -n | tail -1)
|
|
||||||
php -r '$s=explode(" ", $argv[1]); echo mb_convert_case("${s[1]}!\n", MB_CASE_TITLE, "UTF-8");' "$domain"
|
|
@ -1,72 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
#
|
|
||||||
# Markdown to Aegea blog engine converter
|
|
||||||
# Author: Artem Sapegin (sapegin.me)
|
|
||||||
#
|
|
||||||
|
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
import re
|
|
||||||
import cgi
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
filename = sys.argv[1]
|
|
||||||
if not filename:
|
|
||||||
sys.exit('Usage: %s <filename>' % os.path.basename(__file__))
|
|
||||||
|
|
||||||
try:
|
|
||||||
file = open(filename, 'r')
|
|
||||||
except IOError:
|
|
||||||
return []
|
|
||||||
|
|
||||||
print(process(file.read()))
|
|
||||||
|
|
||||||
|
|
||||||
def process(text):
|
|
||||||
# Preserve code blocks
|
|
||||||
blocks = {}
|
|
||||||
|
|
||||||
def store_code_blocks(m):
|
|
||||||
key = r'<%s>' % (len(blocks))
|
|
||||||
value = [m.group(1), m.group(2)]
|
|
||||||
blocks[key] = value
|
|
||||||
return key
|
|
||||||
|
|
||||||
text = re.sub(r'```(\w+)\n([\w\W]+?)\n```', store_code_blocks, text)
|
|
||||||
|
|
||||||
# Process lines
|
|
||||||
lines = text.split('\n')
|
|
||||||
new_lines = []
|
|
||||||
for line in lines:
|
|
||||||
new_lines.append(process_line(line))
|
|
||||||
text = '\n'.join(new_lines)
|
|
||||||
|
|
||||||
# Restore and convert code blocks
|
|
||||||
for key, value in blocks.items():
|
|
||||||
code = value[1]
|
|
||||||
code = cgi.escape(code)
|
|
||||||
value = r'<pre><code class="language-%s">%s</code></pre>' % (value[0], code)
|
|
||||||
text = text.replace(key, value)
|
|
||||||
|
|
||||||
return text
|
|
||||||
|
|
||||||
|
|
||||||
def process_line(line):
|
|
||||||
line = re.sub(r'#(#+) ', r'\1 ', line) # Increase headings level
|
|
||||||
|
|
||||||
line = re.sub(r'\*\*([^*]+)\*\*', r'__\1__', line) # Escape bold
|
|
||||||
line = re.sub(r'\*([^*]+)\*', r'//\1//', line) # Italic
|
|
||||||
line = re.sub(r'__[^_]__', r'**\1**', line) # Restore bold
|
|
||||||
|
|
||||||
line = re.sub(r'\[([^\]]+)\]\(([^\)]+)\)', r'[[\2 \1]]', line) # Link
|
|
||||||
|
|
||||||
line = re.sub(r'`([^`]+)`', r'\1', line) # Remove inline code blocks
|
|
||||||
|
|
||||||
return line
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
main()
|
|
@ -1,34 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Upgrade npm package (dev)dependencies to the latest versions and update package.json
|
|
||||||
#
|
|
||||||
# Require:
|
|
||||||
# - jq - brew install jq
|
|
||||||
|
|
||||||
command -v jq >/dev/null 2>&1 || { echo >&2 "jq not installed: see comments for instructions."; exit 1; }
|
|
||||||
|
|
||||||
# Common stuff
|
|
||||||
RED="$(tput setaf 1)"
|
|
||||||
CYAN="$(tput setaf 6)"
|
|
||||||
UNDERLINE="$(tput sgr 0 1)"
|
|
||||||
NOCOLOR="$(tput sgr0)"
|
|
||||||
function header() { echo -e "$UNDERLINE$CYAN$1$NOCOLOR\n"; }
|
|
||||||
function error() { echo -e "$UNDERLINE$RED$1$NOCOLOR"; }
|
|
||||||
|
|
||||||
if [ ! -f package.json ]; then
|
|
||||||
error "package.json not found"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
update() {
|
|
||||||
header "Upgrading $1..."
|
|
||||||
for package in $(cat package.json | jq -r ".$1 | keys | .[]" 2>/dev/null); do
|
|
||||||
npm install --$2 $package
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
update dependencies save
|
|
||||||
update devDependencies save-dev
|
|
||||||
|
|
||||||
git diff -U0 package.json
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
|
|
||||||
# Human readable password generator.
|
|
||||||
# Based on https://github.com/Version2beta/passphrase
|
|
||||||
|
|
||||||
NAMES_DICT = "/usr/share/dict/propernames"
|
|
||||||
DICT = "/usr/share/dict/words"
|
|
||||||
|
|
||||||
import random
|
|
||||||
|
|
||||||
name = random.sample(list(open(NAMES_DICT)), 1)
|
|
||||||
words = random.sample(list(open(DICT)), 2)
|
|
||||||
phrase = name[0].rstrip().lower()
|
|
||||||
for word in words:
|
|
||||||
phrase = phrase + word.rstrip().lower()
|
|
||||||
print phrase
|
|
40
bin/showme
40
bin/showme
@ -1,40 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
#
|
|
||||||
# Takes N pictures of you via your iSight camera, animates them, uploads them to CloudApp, and puts the url in your clipboard.
|
|
||||||
#
|
|
||||||
# USAGE: showme [shots]
|
|
||||||
#
|
|
||||||
# Author: Artem Sapegin, sapegin.me
|
|
||||||
# Inspired by https://gist.github.com/832125
|
|
||||||
#
|
|
||||||
# Requirements:
|
|
||||||
# brew istall imagemagick imagesnap
|
|
||||||
# gem install gifme cloudapp_api json
|
|
||||||
# https://github.com/holman/dotfiles/blob/master/bin/cloudapp
|
|
||||||
# http://www.getcloudapp.com/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
# 3 shots by default
|
|
||||||
shots=${1-3}
|
|
||||||
|
|
||||||
TMPDIR=`mktemp -d` && {
|
|
||||||
cd $TMPDIR
|
|
||||||
|
|
||||||
for ((shot=1; shot<=$shots; shot++)); do
|
|
||||||
echo "Prepare for shot $shot..."
|
|
||||||
echo "3..."
|
|
||||||
sleep 1
|
|
||||||
echo "2..."
|
|
||||||
sleep 1
|
|
||||||
echo "1..."
|
|
||||||
sleep 1
|
|
||||||
echo "GO!"
|
|
||||||
imagesnap -q "shot$shot.jpg"
|
|
||||||
done
|
|
||||||
|
|
||||||
gifme -w 200 -o hereisapictureofme.gif *.jpg
|
|
||||||
|
|
||||||
rm -rf $TMPDIR
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"default_root": "current"
|
|
||||||
}
|
|
@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"syntax_sensitive_as_default": true,
|
|
||||||
"syntax_docset_map":
|
|
||||||
{
|
|
||||||
"ActionScript" : "actionscript",
|
|
||||||
"C" : "c",
|
|
||||||
"C++" : "cpp",
|
|
||||||
"Clojure" : "clojure",
|
|
||||||
"CSS" : "css",
|
|
||||||
"Erlang" : "erlang",
|
|
||||||
"GoSublime" : "go",
|
|
||||||
"Groovy" : "groovy",
|
|
||||||
"Haskell" : "haskell",
|
|
||||||
"HTML" : "html",
|
|
||||||
"Java" : "java7",
|
|
||||||
"JavaScript" : "javascript",
|
|
||||||
"Lisp" : "lisp",
|
|
||||||
"Literate Haskell" : "haskell",
|
|
||||||
"Lua" : "lua",
|
|
||||||
"Perl" : "perl",
|
|
||||||
"PHP" : "php",
|
|
||||||
"Python" : "python2",
|
|
||||||
"Ruby on Rails" : "rails",
|
|
||||||
"Ruby" : "ruby",
|
|
||||||
"Scala" : "scala",
|
|
||||||
"Shell-Unix-Generic": "manpages",
|
|
||||||
"SQL" : "psql",
|
|
||||||
"TCL" : "tcl",
|
|
||||||
"Stylus" : "css"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
[
|
|
||||||
{ "keys": ["super+d"], "command": "duplicate_line" },
|
|
||||||
{ "keys": ["super+y"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
|
|
||||||
{ "keys": ["super+v"], "command": "paste_and_indent" },
|
|
||||||
{ "keys": ["super+shift+v"], "command": "paste" },
|
|
||||||
{ "keys": ["f3"], "command": "find_next" },
|
|
||||||
{ "keys": ["super+r"], "command": "show_panel", "args": {"panel": "replace"} },
|
|
||||||
{ "keys": ["super+g"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
|
|
||||||
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} }
|
|
||||||
]
|
|
@ -1,4 +0,0 @@
|
|||||||
[
|
|
||||||
{ "keys": ["ctrl+d"], "command": "duplicate_line" },
|
|
||||||
{ "keys": ["ctrl+y"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }
|
|
||||||
]
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extensions_path": "../User/emmet"
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"font_face": "Consolas",
|
|
||||||
"font_size": 16,
|
|
||||||
"translate_tabs_to_spaces": false,
|
|
||||||
"word_wrap": true,
|
|
||||||
"wrap_width": -1,
|
|
||||||
"draw_centered": false,
|
|
||||||
"auto_match_enabled": false
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"cmd": ["open","-a","/Applications/Marked.app","$file"],
|
|
||||||
"selector": "text.html.markdown"
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
{
|
|
||||||
"auto_upgrade_last_run": null,
|
|
||||||
"installed_packages":
|
|
||||||
[
|
|
||||||
"AdvancedNewFile",
|
|
||||||
"CoffeeScript",
|
|
||||||
"DashDoc",
|
|
||||||
"DocBlockr",
|
|
||||||
"eco",
|
|
||||||
"EditorConfig",
|
|
||||||
"Emmet",
|
|
||||||
"GitGutter",
|
|
||||||
"Handlebars",
|
|
||||||
"Hayaku - tools for writing CSS faster",
|
|
||||||
"Inc-Dec-Value",
|
|
||||||
"JavaScript Refactor",
|
|
||||||
"JavaScriptNext - ES6 Syntax",
|
|
||||||
"Koken",
|
|
||||||
"MarkdownEditing",
|
|
||||||
"Package Control",
|
|
||||||
"Stylus",
|
|
||||||
"SublimeLinter",
|
|
||||||
"Theme - Soda"
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
"auto_complete_delay": 1000,
|
|
||||||
"auto_match_enabled": false,
|
|
||||||
"caret_style": "phase",
|
|
||||||
"color_scheme": "Packages/User/Tomorrow.tmTheme",
|
|
||||||
"create_window_at_startup": false,
|
|
||||||
"default_line_ending": "unix",
|
|
||||||
"detect_indentation": true,
|
|
||||||
"detect_slow_plugins": false,
|
|
||||||
"drag_text": true,
|
|
||||||
"fallback_encoding": "Cyrillic (Windows 1251)",
|
|
||||||
"font_face": "Consolas",
|
|
||||||
"font_size": 17.0,
|
|
||||||
"hayaku_CSS_colors_case": "lowercase",
|
|
||||||
"hayaku_CSS_numbers_leading_zero": false,
|
|
||||||
"hayaku_CSS_syntax_autoguess":
|
|
||||||
[
|
|
||||||
"selector {",
|
|
||||||
" property:value;",
|
|
||||||
" }"
|
|
||||||
],
|
|
||||||
"highlight_line": true,
|
|
||||||
"ignored_packages":
|
|
||||||
[
|
|
||||||
"Vintage"
|
|
||||||
],
|
|
||||||
"line_padding_bottom": 1,
|
|
||||||
"line_padding_top": 1,
|
|
||||||
"open_files_in_new_window": false,
|
|
||||||
"rulers":
|
|
||||||
[
|
|
||||||
120
|
|
||||||
],
|
|
||||||
"save_on_focus_lost": true,
|
|
||||||
"scroll_past_end": true,
|
|
||||||
"tab_completion": true,
|
|
||||||
"theme": "Soda Light.sublime-theme"
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"disable_tab_abbreviations": true,
|
|
||||||
|
|
||||||
"hayaku_CSS_syntax_autoguess": [
|
|
||||||
"selector {",
|
|
||||||
"\tproperty:value;",
|
|
||||||
"}"
|
|
||||||
],
|
|
||||||
|
|
||||||
// Syntax quirks
|
|
||||||
"hayaku_CSS_syntax_no_curly_braces": false, // Don't print braces for code blocks
|
|
||||||
"hayaku_CSS_syntax_no_semicolons": false, // Don't print the semicolon at the end of rule
|
|
||||||
"hayaku_CSS_syntax_no_colons": false, // Don't print colon between property and value
|
|
||||||
|
|
||||||
// Prefixes
|
|
||||||
"hayaku_CSS_prefixes_disable": true // Disable the prefixes at all, like if using nib
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"sublimelinter_delay": 1,
|
|
||||||
"sublimelinter_mark_style": "none",
|
|
||||||
"sublimelinter_gutter_marks": true,
|
|
||||||
"sublimelinter_notes": true,
|
|
||||||
"pep8_ignore": [ // https://github.com/jcrocholl/pep8/blob/master/pep8.py
|
|
||||||
"E501", // Line too long
|
|
||||||
"E701", // Multiple statements on one line
|
|
||||||
"W191" // Indentation contains tabs
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,245 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>comment</key>
|
|
||||||
<string>http://chriskempson.com</string>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Tomorrow</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#FFFFFF</string>
|
|
||||||
<key>caret</key>
|
|
||||||
<string>#AEAFAD</string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#4D4D4C</string>
|
|
||||||
<key>invisibles</key>
|
|
||||||
<string>#D1D1D1</string>
|
|
||||||
<key>lineHighlight</key>
|
|
||||||
<string>#EFEFEF</string>
|
|
||||||
<key>selection</key>
|
|
||||||
<string>#D6D6D6</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Comment</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>comment</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#8E908C</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Foreground</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>keyword.operator.class, constant.other, source.php.embedded.line</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#666969</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Variable, String Link, Regular Expression, Tag Name</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>variable, support.other.variable, string.other.link, string.regexp, entity.name.tag, entity.other.attribute-name, meta.tag, declaration.tag</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#C82829</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Number, Constant, Function Argument, Tag Attribute, Embedded</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>constant.numeric, constant.language, support.constant, constant.character, variable.parameter, punctuation.section.embedded, keyword.other.unit</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#F5871F</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Class, Support</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>entity.name.class, entity.name.type.class, support.type, support.class</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#C99E00</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>String, Symbols, Inherited Class, Markup Heading</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>string, constant.other.symbol, entity.other.inherited-class, markup.heading</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#718C00</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Operator, Misc</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>keyword.operator, constant.other.color</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#3E999F</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Function, Special Method, Block Level</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>entity.name.function, meta.function-call, support.function, keyword.other.special-method, meta.block-level</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#4271AE</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Keyword, Storage</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>keyword, storage, storage.type</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#8959A8</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Invalid</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>invalid</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#C82829</string>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#FFFFFF</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Separator</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>meta.separator</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#4271AE</string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#FFFFFF</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Deprecated</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>invalid.deprecated</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#8959A8</string>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string></string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#FFFFFF</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Diff foreground</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>markup.inserted.diff, markup.deleted.diff, meta.diff.header.to-file, meta.diff.header.from-file</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#FFFFFF</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Diff insertion</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>markup.inserted.diff, meta.diff.header.to-file</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#718c00</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Diff deletion</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>markup.deleted.diff, meta.diff.header.from-file</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#c82829</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Diff header</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>meta.diff.header.from-file, meta.diff.header.to-file</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#FFFFFF</string>
|
|
||||||
<key>background</key>
|
|
||||||
<string>#4271ae</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<dict>
|
|
||||||
<key>name</key>
|
|
||||||
<string>Diff range</string>
|
|
||||||
<key>scope</key>
|
|
||||||
<string>meta.diff.range</string>
|
|
||||||
<key>settings</key>
|
|
||||||
<dict>
|
|
||||||
<key>fontStyle</key>
|
|
||||||
<string>italic</string>
|
|
||||||
<key>foreground</key>
|
|
||||||
<string>#3e999f</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
<key>uuid</key>
|
|
||||||
<string>82CCD69C-F1B1-4529-B39E-780F91F07604</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
@ -1,6 +0,0 @@
|
|||||||
<snippet>
|
|
||||||
<content><![CDATA[
|
|
||||||
console.log($1);
|
|
||||||
]]></content>
|
|
||||||
<tabTrigger>cl</tabTrigger>
|
|
||||||
</snippet>
|
|
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"html": {
|
|
||||||
"filters": "html, bem"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
var fullscreen = S.op('move', {
|
|
||||||
x: 'screenOriginX',
|
|
||||||
y: 'screenOriginY',
|
|
||||||
width: 'screenSizeX',
|
|
||||||
height: 'screenSizeY'
|
|
||||||
});
|
|
||||||
|
|
||||||
var middle = S.op('move', {
|
|
||||||
x: 'screenOriginX+screenSizeX/4',
|
|
||||||
y: 'screenOriginY',
|
|
||||||
width: 'screenSizeX/2',
|
|
||||||
height: 'screenSizeY'
|
|
||||||
});
|
|
||||||
|
|
||||||
S.bnda({
|
|
||||||
'f:ctrl;alt': fullscreen,
|
|
||||||
'm:ctrl;alt': middle
|
|
||||||
});
|
|
Loading…
Reference in New Issue
Block a user