This file contains 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
#include <GUIConstants.au3> | |
$Struct = DllStructCreate("int cxLeftWidth;int cxRightWidth;int cyTopHeight;int cyBottomHeight;") | |
$sStruct = DllStructCreate("dword;int;ptr;int") | |
Global $MyArea[4] = [50, 50, 50, 50] | |
$GUI = GUICreate("Windows Vista DWM", 243, 243) | |
$Apply = GUICtrlCreateButton("Apply", 80, 104, 83, 25, 0) | |
$ICE = GUICtrlCreateButton("DWM Check", 80, 134, 83, 25, 0) |
This file contains 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
(function() { | |
var proxied = window.alert; | |
window.alert = function() { | |
return proxied.apply(this, arguments); | |
}; | |
})(); |
This file contains 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
{ | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow.tmTheme", | |
"draw_white_space": "selection", | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
".gitkeep", | |
".smb*" | |
], | |
"folder_exclude_patterns": |
This file contains 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
Show hidden characters
[ | |
{ "keys": ["ctrl+alt+n"], "command": "prompt_insert_nums" } | |
] |
This file contains 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
<!-- Rich Object stuff --> | |
<meta property="og:url" value="{{ site.url }}{{ page.url }}"> | |
<meta property="og:type" content="website" /> | |
{% if page.title %}<meta property="og:title" value="{% if page.title %}{{ page.title }}{% endif %}"> | |
<meta property="og:description" value="{% if page.description %}{{ page.description }}{% else %}{{site.description}}{% endif %}"> | |
{% else %}<meta property="og:title" value="{{ site.title }}"> | |
<meta property="og:description" value="{{ description }}"> | |
{% endif %}{% if page.cover %}<meta property="og:image" value="{{ site.url }}{{ page.cover }}">{% endif %} |
This file contains 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 | |
function pascal_r($n) { | |
$aLines = [[1]]; | |
for ($i=1; $i <= $n; $i++) { | |
$lastItem = $aLines[$i-1]; | |
$aLines[$i] = []; | |
for ($j=0; $j <= $i; $j++) { | |
$aLines[$i][$j] = (isset($lastItem[$j - 1]) ? $lastItem[$j - 1] : 0) + (isset($lastItem[$j]) ? $lastItem[$j] : 0); | |
} | |
} |
This file contains 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 | |
function flush_buffers() { | |
echo(str_pad("", 2048, " ")); // Fix Chrome buffers. | |
ob_end_flush(); | |
@ob_flush(); // Suppress potential errors | |
flush(); | |
ob_start(); | |
} |
This file contains 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 | |
$_gitHead = file('.git/HEAD', FILE_USE_INCLUDE_PATH); | |
$_gitHead = $_gitHead[0]; | |
$_gitString = explode("/", $_gitHead); | |
$_gitBranchName = trim($_gitString[2]); | |
printf("<h4>Working Git Branch:</h4> <strong>» %s</strong>", $_gitBranchName); | |
?> |
This file contains 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": ["`"], "command": "insert_snippet", "args": {"contents": "`$0`"}, "context": | |
[ | |
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true }, | |
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true }, | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true }, | |
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "[`a-zA-Z0-9_]$", "match_all": true }, | |
{ "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single", "match_all": true } | |
] | |
}, |