This is what I did to install all apps onto laptop
- Chrome
- iTerm
- Dropbox
- Atom
- Spotify
- Tweetbot
tell application "System Events" to tell application process "DiffMerge" | |
tell window 1 | |
set {size, position} to {{400, 400}, {50, 50}} | |
end tell | |
end tell |
<?xml version="1.0" encoding="UTF-8"?> | |
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> | |
<asset> | |
<contributor> | |
<authoring_tool>SceneKit Collada Exporter v1.0</authoring_tool> | |
</contributor> | |
<created>2018-10-25T16:29:03Z</created> | |
<modified>2018-10-25T16:29:03Z</modified> | |
<unit meter="1.000000"/> | |
<up_axis>Y_UP</up_axis> |
<?xml version="1.0" encoding="UTF-8"?> | |
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> | |
<asset> | |
<contributor> | |
<authoring_tool>SceneKit Collada Exporter v1.0</authoring_tool> | |
</contributor> | |
<created>2018-10-25T16:29:03Z</created> | |
<modified>2018-10-25T16:29:03Z</modified> | |
<unit meter="1.000000"/> | |
<up_axis>Y_UP</up_axis> |
// --- vibrateDevice--------------- | |
value nme_vibrate_device() | |
{ | |
#ifdef WEBOS | |
VibrateDevice(); | |
return alloc_null(true); | |
#enif | |
} | |
DEFINE_PRIM(nme_vibrate_device,0); |
#!/bin/sh | |
# Copyright (C) Pierre d'Herbemont, 2010 | |
# Copyright (C) Felix Paul Kühne, 2012-2015 | |
set -e | |
BUILD_DEVICE=yes | |
BUILD_SIMULATOR=yes | |
BUILD_STATIC_FRAMEWORK=no | |
SDK=`xcrun --sdk iphoneos --show-sdk-version` |
extension UIImage { | |
convenience init?(inCurrentBundleNamed: String) { | |
class BundleClass { } | |
self.init(named: inCurrentBundleNamed, in: Bundle(for: BundleClass.self), compatibleWith: nil) | |
} | |
} |
var Pushover = require('node-pushover'); | |
var moment = require('moment'); | |
var request = require('request'); | |
// Fill out with your secrets | |
var secrets = { | |
pushover: { | |
token: '', | |
user: '' | |
}, |
// | |
// Hacky script to convert lazy loaded closures into private instance functions | |
// The script ignores Pods, Carthage and build folders, and only looks for | |
// .swift files | |
// This doesn't work on all cases, and may break things. Be warned ⚠️ | |
// | |
// Usage: | |
// node delazy.js <folder path> | |
// |
Obj-c | |
find . -iname "*.m" -o -iname "*.h" -not -path "*/Pods/*" -not -path "*ThirdParty*" -exec wc -l '{}' + | |
Swift: | |
find . -iname "*.swift" -not -path "*/Pods/*" -not -path "*/Carthage/*" -not -path "*submodules*" -exec wc -l '{}' + |