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
// ==UserScript== | |
// @name HNQ Hider | |
// @namespace colemancodes.com | |
// @description Hides Stackexchange HNQ | |
// @include *://*.stackexchange.com/* | |
// @include *://*.stackoverflow.com/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.getElementById('hot-network-questions').style.display = 'none'; |
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
<snippet> | |
<content><![CDATA[ | |
<cflog text='$TM_FILENAME ${1:mark} ${2:1}' file='${3:application}'> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>logger</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>text.html.cfm</scope> --> | |
</snippet> |
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
<snippet> | |
<content><![CDATA[ | |
<cfdump var="$1" label="$2" format="html" output="${3:c:\debug.html}" expand="${4:false}"> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>dumpvar</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>text.html.cfm</scope> | |
</snippet> |
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
============================================ | |
|Name | Est Date | | |
============================================ | |
|Sachin Shekar | Aug 2012 | | |
|SS-3.1415926535897932384626433 | Nov 2015 | | |
|SS-3 | Jan 2016 | | |
|I Love You | Apr 2017 | | |
|I Am Groot | May 2017 | | |
|Sachin Stark | Jul 2017 | | |
|Atomic Blonde | Aug 2017 | |
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
[ | |
// cf tags | |
{ "keys": ["ctrl+shift+a"], "command": "insert_snippet", "args": {"contents": "<cfabort>" } }, | |
{ "keys": ["ctrl+shift+d"], "command": "insert_snippet", "args": {"contents": "<cfdump var=\"#${0:$SELECTION}#\">" }}, | |
{ "keys": ["ctrl+shift+o"], "command": "insert_snippet", "args": {"contents": "<cfoutput>${0:$SELECTION}</cfoutput>"}} , | |
// comments & wrappers | |
// hash | |
{ "keys": ["ctrl+shift+h"], "command": "insert_snippet", "args": {"contents": "#${0:$SELECTION}#" } }, | |
// single line comment |
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
<html> | |
<head> | |
<style> | |
table.cfdump_wddx, | |
table.cfdump_xml, | |
table.cfdump_struct, | |
table.cfdump_array, | |
table.cfdump_query, | |
table.cfdump_cfc, |
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
# Set the default behavior, in case people don't have core.autocrlf set. | |
* text=auto | |
# Explicitly declare text files you want to always be normalized and converted | |
# to native line endings on checkout. | |
*.c text | |
*.h text | |
# Declare files that will always have CRLF line endings on checkout. | |
*.sln text eol=crlf |
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
if (!Array.prototype.indexOf) { | |
Array.prototype.indexOf = function (obj, fromIndex) { | |
if (fromIndex == null) { | |
fromIndex = 0; | |
} else if (fromIndex < 0) { | |
fromIndex = Math.max(0, this.length + fromIndex); | |
} | |
for (var i = fromIndex, j = this.length; i < j; i++) { | |
if (this[i] === obj) | |
return i; |
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
DECLARE | |
v_filter varchar2(20) := 'All'; | |
v_count number := 0 ; | |
BEGIN | |
dbms_output.enable(100000) ; | |
DBMS_output.put_line('running') ; | |
SELECT count(1) into v_count | |
FROM personnel p | |
WHERE NVL(P.TERMINATED_FLAG,'N') = 'N' | |
AND CASE WHEN (v_filter = 'Federal') THEN |
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
WITH typelist AS | |
(SELECT 0 AS n | |
FROM DUAL | |
WHERE 1 = 0 | |
UNION | |
SELECT 1 AS n | |
FROM DUAL | |
UNION | |
SELECT 2 AS n | |
FROM DUAL) |
NewerOlder