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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Oceanic Next Color Scheme/Oceanic Next.tmTheme", | |
"theme": "Oceanic Next.sublime-theme", | |
"draw_white_space": "all", | |
"font_options": | |
[ | |
"gray_antialias", | |
"subpixel_antialias" |
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
myModule.validate = function(params){ | |
return new WinJS.Promise(function(ccb, ecb){ | |
myModule.preValidate(params).then( | |
function prevalidateSuccess(result){ | |
ccb(result); | |
}, | |
function prevalidateError(err){ | |
ecb(err); | |
}) | |
}); |
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
// CONST's | |
int DS_pin = 8; | |
int STCP_pin = 9; | |
int SHCP_pin = 10; | |
int C1_pin = 1; | |
int C2_pin = 2; | |
int C3_pin = 3; | |
int C4_pin = 4; |
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
{ | |
"folders": | |
[ | |
{ | |
"file_exclude_patterns": | |
[ | |
// "*.sln" | |
], | |
"folder_exclude_patterns": | |
[ |
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
// CONST's | |
int DS_pin = 8; | |
int STCP_pin = 9; | |
int SHCP_pin = 10; | |
int NUM_LED = 8; | |
// 8 LED Registers | |
boolean registers[8]; | |
// Direction of LED travel | |
boolean goingUp = 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
/*Works on Slack Archive Page*/ | |
function delNext(delay, cb){ | |
console.log("Starting delete"); | |
/*Click Delete*/ | |
document.querySelector('#batch_delete_link').click(); | |
setTimeout(function(){ | |
/*Click All*/ | |
document.querySelector('#batch_delete_div > p:nth-child(3) > a:nth-child(2)').click(); | |
setTimeout(function(){ | |
/*Click Delete*/ |
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
[ | |
// https://forum.sublimetext.com/t/quick-switch-project-shortcut-doesnt-work-anymore/17261/6 | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" } | |
] |
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
# This is a test snippet that will iterate over a collection of expected values, and compare them against the test values | |
describe "option 2", -> | |
it "has 5 observableValues", -> expect(product.required_fields[1].observableValues).to.have.length(5) | |
somoText = (text, i) -> it "[" + i + "] text '" + text + "'", -> expect(product.required_fields[1].observableValues[i]).to.have.property('text', text) | |
somoText(item, i) for item, i in ["Color: Snow", "Color: Sky Blue", "Color: Gray Granite", "Color: Soft Pink", "Color: Light Lemon"] |