Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍🚀
Space

App Evangelist fishme

👨‍🚀
Space
View GitHub Profile
View gist:248c1e1c47dedd832854589b7ec1e36f
{
"workbench.colorTheme": "Default Light+",
"editor.fontSize": 16,
"workbench.activityBar.visible": true,
"workbench.sideBar.location": "right",
"window.zoomLevel": 1,
"editor.formatOnSave": true,
"editor.rulers": [
80
],
View gist:60cc3f7708ae60b0091dfdcd488930d3
# 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
View Plullrequests
**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 Oct 19, 2017
Cordova: Inspect iOS Simulator or device with Script
View InspectCordovaIOSApp.scpt
#!/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
You can’t perform that action at this time.