Skip to content

Instantly share code, notes, and snippets.

View fishme's full-sized avatar
👨‍🚀
Space

App Evangelist fishme

👨‍🚀
Space
View GitHub Profile
{
"workbench.colorTheme": "Default Light+",
"editor.fontSize": 16,
"workbench.activityBar.visible": true,
"workbench.sideBar.location": "right",
"window.zoomLevel": 1,
"editor.formatOnSave": true,
"editor.rulers": [
80
],
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
**General**
- [ ] Are all vars used somewhere?
- [ ] Do the vars have properly cased, and meaningful names?
- [ ] Style looks appropriate
- [ ] No unnecessarily duplicated logic
- [ ] Code intent is clear upon initial reading
- [ ] Any code that isn't clear, but is needed, has an effective comment
- [ ] Are method calls or attribute lookups every called on entities that could be undefined/null?
- [ ] The functions can appropriately handle unexpected inputs.
- [ ] Commented *code* has been removed (comments themselves are fine).
@fishme
fishme / InspectCordovaIOSApp.scpt
Last active October 19, 2017 09:40
Cordova: Inspect iOS Simulator or device with Script
#!/usr/bin/osascript
# Open Script Editor and change "DashboardController"
# DashboardController => Replace it with your "html file"
# you find the name, if you open Develop/Simulator/ -> name
# Name of the device as visible in Safari->Develop menu
set deviceName to "Simulator"
# Number of seconds to wait for the simulator window to show up
set maxWait to 30