Skip to content

Instantly share code, notes, and snippets.

View Kristinita's full-sized avatar

Саша Черных Kristinita

View GitHub Profile
@pbiggar
pbiggar / gist:3166676
Created July 23, 2012 22:35
Sample circle.yml file
########################
# Customize the test machine
########################
machine:
# Set the timezeone - any value from /usr/share/zoneinfo/ is valid here
timezone:
America/Los_Angeles
# Version of ruby to use
@joshearl
joshearl / Fetch-sublime.settings
Last active May 2, 2017 13:34
Example Fetch.sublime-settings file that shows how to add the WordPress Plugin Boilerplate to the list of packages you can install with the Fetch plugin.
{
"files":
{
"jquery": "http://code.jquery.com/jquery.min.js"
},
"packages":
{
"html5_boilerplate": "https://github.com/h5bp/html5-boilerplate/zipball/master",
"wordpress_plugin_boilerplate": "https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/zipball/master"
}
@fredrik
fredrik / gist:6166061
Created August 6, 2013 16:23
POST yaml with curl
curl -X POST --data-binary @payload.yaml -H "Content-type: text/x-yaml" http://localhost:4200/some-url/1024
@tmplinshi
tmplinshi / KeypressOSD.ahk
Last active February 16, 2024 12:55
Note: This script has been moved to https://github.com/tmplinshi/KeypressOSD
; KeypressOSD.ahk
;--------------------------------------------------------------------------------------------------------------------------
; ChangeLog : v2.22 (2017-02-25) - Now pressing same combination keys continuously more than 2 times,
; for example press Ctrl+V 3 times, will displayed as "Ctrl + v (3)"
; v2.21 (2017-02-24) - Fixed LWin/RWin not poping up start menu
; v2.20 (2017-02-24) - Added displaying continuous-pressed combination keys.
; e.g.: With CTRL key held down, pressing K and U continuously will shown as "Ctrl + k, u"
; v2.10 (2017-01-22) - Added ShowStickyModKeyCount option
; v2.09 (2017-01-22) - Added ShowModifierKeyCount option
; v2.08 (2017-01-19) - Fixed a bug
@frontendbeast
frontendbeast / Default (OSX).sublime-keymap
Last active July 16, 2019 07:45
Simple example of a key-mapped Sublime Text snippet (⌘+b for bold)
[
{ "keys": ["super+b"], "command": "insert_snippet", "args": {"name": "Packages/User/bold.sublime-snippet"} },
// Set context so shortcut works in HTML files only
{ "keys": ["super+b"], "command": "insert_snippet", "args": {"name": "Packages/User/bold.sublime-snippet"},"context":[{ "key": "selector", "operator": "equal", "operand": "text.html" }] }
]
@tablacus
tablacus / CopyCurrentFolderAsText.js
Last active May 12, 2020 06:01
Copy current folder as text - Tablacus Explorer
clipboardData.setData("text", FV.FolderItem.Path);
@tablacus
tablacus / BetweenFilesAndFolders.js
Last active April 27, 2021 12:20
Jump to the boundary between files and folders
var FV = GetFolderView(Ctrl,pt);
var Items = FV.Items();
var bFolder = !IsFolderEx(Items.Item(0));
var nCount = Items.Count;
var nIndex = Math.floor((nCount - 1) / 2);
var nDiff = nIndex;
while (nDiff) {
if (bFolder ^ IsFolderEx(Items.Item(nIndex))) {
nIndex += nDiff;
} else {
@tablacus
tablacus / MoveSelectedItemsToParent.js
Created September 5, 2017 12:49
Move selected items to the parent folder
var FV = GetFolderView(Ctrl, pt);
var Selected = FV.SelectedItems();
if (Selected) {
var oDest = sha.NameSpace(fso.GetParentFolderName(api.GetDisplayNameOf(FV, SHGDN_FORPARSING)));
if (oDest) {
oDest.MoveHere(Selected, FOF_ALLOWUNDO);
}
}
@Guerra24
Guerra24 / win10-context-menus.css
Last active October 3, 2023 00:17
Self-contained CSS for context menus. For the updated/completed theme please use: https://github.com/Guerra24/Firefox-UWP-Style
menupopup {
-moz-appearance: none !important;
padding: 8px 2px 8px 2px !important;
background-color: #2B2B2B !important;
border: 1px #A0A0A0 solid !important;
min-width: 280px !important;
}
menuseparator {
-moz-appearance: none !important;
border: none !important;
@tablacus
tablacus / autocolumnssize.js
Created May 10, 2018 22:14
Auto columns size - Tablacus Explorer
FV.CurrentViewMode(4,16);
setTimeout(function()
{
FV.Columns ='"System.ItemNameDisplay" -2 "System.DateModified" -2 "System.Size" -2 "System.ItemTypeText" -2';
}, 99);