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
if (typeof String.prototype.startsWith != 'function') { | |
String.prototype.startsWith = function(str) { | |
return (this.lastIndexOf(str, 0) === 0); | |
}; | |
} |
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
if (typeof String.prototype.contains != 'function') { | |
String.prototype.contains = function(str) { | |
return this.indexOf(str) >= 0; | |
}; | |
} |
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
(function ($) { | |
'use strict'; | |
$.textareaMaxlength = function () { | |
// Allows the 'maxlength' attribute to be used with textarea fields to limit the | |
// number of characters that can be entered. | |
// e.g <textarea id="myfield" maxlength="250"></textarea> |
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
git tag -d abcde | |
git push origin :refs/tags/abcde |
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
{ | |
"color_scheme": "Packages/User/Espresso Soda.tmTheme", | |
"default_line_ending": "windows", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"draw_white_space": "all", | |
"font_face": "Source Code Pro", | |
"font_size": 13, | |
"word_wrap": "false", | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
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
select 1 | |
from __TABLE_NAME__ | |
where rownum = 1 |
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
select column_name as found | |
from user_tab_cols | |
where table_name = '__TABLE_NAME__' | |
and column_name = '__COLUMN_NAME__' |
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
select table_name | |
from user_tables | |
where table_name = '__TABLE_NAME__' |
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
select table_name as found | |
from information_schema.tables | |
where table_schema = SCHEMA() | |
and table_name = '__table_name__' |
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
select 1 | |
from __table_name__ | |
limit 1 |