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
#Header | |
%KeyInit() | |
%Param.AvoidPluginCleanUp() | |
%Common.SetPriority(140) | |
%Graph.SetTextArea(0,0,255,31) | |
%Graph.Font('OCR-A',10,1) | |
%DefVar(xPos,Local=105) | |
%DefVar(yPos,Local=16) | |
%DefVar(an=0) | |
%DefVar(km,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
<?php | |
/** | |
* Recursively removes a directory. | |
* | |
* @param string $path Directory path to remove. | |
* @param bool $suicide Whether to remove itself or not. | |
* | |
* @return void | |
*/ |
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
<?php | |
/** | |
* Parses CSV file into an associative array with the first row as field names. | |
* | |
* @param string $filepath Path to readable CSV file. | |
* @param array $options Parse options (eol, delimiter, enclosure, escape, to_object). | |
* | |
* @return array Associative array of parsed CSV file. | |
*/ |
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
svn st | grep '^!' | awk '{print $2}' | xargs svn delete --force |
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": ["ctrl+super+a"], "command": "alignment" }, | |
{ "keys": ["ctrl+super+f"], "command": "reindent", "args": {"single_line": false}}, | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" }, | |
{ "keys": ["super+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
] |
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
/** | |
* Debug helper similar to PHP's print_r(). | |
* | |
* This function was inspired by the print_r function of PHP. | |
* This will accept some data as the argument and return a | |
* text that will be a more readable version of the | |
* array/hash/object that is given. | |
* | |
* @param data | |
* array, object or hash (assoc array) |
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
<?php | |
/** | |
* Converts a linear array to its associative equivalent. | |
* | |
* @param $array | |
* Linear array to process. | |
* @param $function | |
* Callback name to call against each value. | |
* | |
* @return array |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<gdipp> | |
<version>0.9.1</version> | |
<gdimm> | |
<process> | |
<freetype> | |
<cache_max_faces>32</cache_max_faces> | |
<cache_max_sizes>32</cache_max_sizes> | |
<cache_max_bytes>4194304</cache_max_bytes> |
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
<?php | |
/** | |
* Recursively casts an object into array. | |
* | |
* @param $object | |
* Object to cast to array. | |
* | |
* @return array | |
*/ |
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
// ==UserScript== | |
// @name SCRIPT | |
// @description SCRIPT DESCRIPTION | |
// @icon https://raw.github.com/sepehr/userscript-SCRIPT/master/SCRIPT.png | |
// | |
// @author Sepehr Lajevardi <[email protected]> | |
// @namespace http://github.com/sepehr | |
// @downloadURL https://raw.github.com/sepehr/userscript-SCRIPT/master/SCRIPT.user.js | |
// | |
// @license GPLv3 - http://www.gnu.org/licenses/gpl-3.0.txt |