Skip to content

Instantly share code, notes, and snippets.

@cyberrob-zz
cyberrob-zz / cropAndStraightenBatch
Last active August 29, 2015 13:59
Code from Jeffrey Tranberry for batching crop & straighten photos
// cropAndStraightenBatch.jsx
// Copyright 2006-2008
// Written by Jeffrey Tranberry
// Photoshop for Geeks Version 2.0
/*
Description:
This script demonstates how to batch process
a folder of images using the crop and straighten command
*/
@cyberrob-zz
cyberrob-zz / cropAndStraightenBatch.jsx
Created May 20, 2014 03:37
An photoshop batch script for crop & straighten photo from Jeffrey Tranberry
// cropAndStraightenBatch.jsx
// Copyright 2006-2008
// Written by Jeffrey Tranberry
// Photoshop for Geeks Version 2.0
/*
Description:
This script demonstates how to batch process
a folder of images using the crop and straighten command
*/
@cyberrob-zz
cyberrob-zz / also_checkout_these_links
Last active August 29, 2015 14:05
WebRTC Build Steps
11-19 23:09:58.449 8908-9586/io.solda.android D/Retrofit﹕ ---> HTTP POST http://staging1.solda.io/api/products.json
11-19 23:09:58.450 8908-9586/io.solda.android D/Retrofit﹕ Authorization: bearer CAAT2ZA96f8NsBAIJooY1YLnxjHxJAZBjsixxXw8L1ehBZBSHP5UwuARIrlJOSG2GEoMgkbIjntBksBKaegDOo14EpgxZAL01tqb9vpcGkvLuhgGXUuGZBcZBBXTHTWGZCJvvCrPcmMEqP6afXOctsydQZB8R91aULtduFu76sFM9urpb3qJT4ywGqhzoXwPLzoaNkEgMc01bdN8cCxuI5edm
11-19 23:09:58.450 8908-9586/io.solda.android D/Retrofit﹕ Content-Type: application/json
11-19 23:09:58.450 8908-9586/io.solda.android D/Retrofit﹕ Content-Length: 2534
11-19 23:09:58.450 8908-9586/io.solda.android D/Retrofit﹕ {"product": {"links":[{"description":"比這個食譜做的更好吃!","title":"{食譜} 贏過Starbucks的柔軟濕潤香蕉蛋糕Banana Loaf @ 3 6 5 天 不間斷美食日記 :: 痞客邦 PIXNET ::","url":"http://ichigoholly.pixnet.net/blog/post/134136214-%7B%E9%A3%9F%E8%AD%9C%7D-%E8%B4%8F%E9%81%8Estarbucks%E7%9A%84%E6%9F%94%E8%BB%9F%E6%BF%95%E6%BD%A4%E9%A6%99%E8%95%89%E8%9B%8B%E7%B3%95banana-lo"}],"name":"好吃手工香蕉蛋糕","price":"299","
11-19 23:25:52.823 11645-11691/io.solda.android D/Retrofit﹕ ---> HTTP POST http://staging1.solda.io/api/products.json
11-19 23:25:52.824 11645-11691/io.solda.android D/Retrofit﹕ Authorization: bearer CAAT2ZA96f8NsBAIJooY1YLnxjHxJAZBjsixxXw8L1ehBZBSHP5UwuARIrlJOSG2GEoMgkbIjntBksBKaegDOo14EpgxZAL01tqb9vpcGkvLuhgGXUuGZBcZBBXTHTWGZCJvvCrPcmMEqP6afXOctsydQZB8R91aULtduFu76sFM9urpb3qJT4ywGqhzoXwPLzoaNkEgMc01bdN8cCxuI5edm
11-19 23:25:52.824 11645-11691/io.solda.android D/Retrofit﹕ Content-Type: application/json
11-19 23:25:52.824 11645-11691/io.solda.android D/Retrofit﹕ Content-Length: 1157
11-19 23:25:52.825 11645-11691/io.solda.android D/Retrofit﹕ {"product": {"image_ids":["1429","1430"],"links":[],"name":"亮晶晶小屁孩兩枚","price":"0","quantity":"2","socialOptions":[{"id":"842844067","message":"嘿,來瞧瞧我的新鮮貨吧!","platform":"facebook","target":"user","token":"CAAT2ZA96f8NsBAIJooY1YLnxjHxJAZBjsixxXw8L1ehBZBSHP5UwuARIrlJOSG2GEoMgkbIjntBksBKaegDOo14EpgxZAL01tqb9vpcGkvLuhgGXUuGZBcZBBXTHTWGZCJvvCrPcmMEqP6afXOctsydQZB8R91aULtdu
11-19 23:38:33.142 13422-14354/io.solda.android D/Retrofit﹕ ---> HTTP POST http://staging1.solda.io/api/products.json
11-19 23:38:33.142 13422-14354/io.solda.android D/Retrofit﹕ Authorization: bearer CAAT2ZA96f8NsBAIJooY1YLnxjHxJAZBjsixxXw8L1ehBZBSHP5UwuARIrlJOSG2GEoMgkbIjntBksBKaegDOo14EpgxZAL01tqb9vpcGkvLuhgGXUuGZBcZBBXTHTWGZCJvvCrPcmMEqP6afXOctsydQZB8R91aULtduFu76sFM9urpb3qJT4ywGqhzoXwPLzoaNkEgMc01bdN8cCxuI5edm
11-19 23:38:33.142 13422-14354/io.solda.android D/Retrofit﹕ Content-Type: application/json
11-19 23:38:33.149 13422-14354/io.solda.android D/Retrofit﹕ Content-Length: 2347
11-19 23:38:33.151 13422-14354/io.solda.android D/Retrofit﹕ {"product": {"image_ids":[1431,1432,1433,1434],"links":[{"description":"千年傳統全新感受","title":"Charging Devices - iPhone Accessories - Apple Store (U.S.)","url":"http://store.apple.com/us/iphone/iphone-accessories/power"}],"name":"IPhone充電座","price":"50","quantity":"1111","socialOptions":[{"id":"842844067","message":"嘿,來瞧瞧我的新鮮貨吧!","platform":"facebook","target":"user","t
01-23 12:38:12.030 25761-26384/com.my.app:sipStack D/OpenGLRenderer﹕ Render dirty regions requested: true
01-23 12:38:12.042 25761-25761/com.my.app:sipStack D/Atlas﹕ Validating map...
01-23 12:38:12.063 25761-25761/com.my.app:sipStack D/SIP SRV﹕ Action is com.csipsimple.service.SipService
01-23 12:38:12.063 25761-25761/com.my.app:sipStack D/SIP SRV﹕ Service returned
01-23 12:38:12.169 25761-26384/com.my.app:sipStack I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/28/14, c33033c, Ia6306ec328
01-23 12:38:12.171 25761-26384/com.my.app:sipStack I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-23 12:38:12.205 25761-26384/com.my.app:sipStack D/OpenGLRenderer﹕ Enabling debug mode 0
01-23 12:38:12.294 25761-25761/com.my.app:sipStack D/DeviceFragment﹕ Service Connected!!!
01-23 12:38:12.302 25761-25761/com.my.app:sipStack D/DeviceFragment﹕ Got 1 SIP account.
01-23 12:38:12.306 25761-25761/com.my.app:sipStack D/DeviceFragment﹕ @ <sip:[email protected]>
Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip)
Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip)
Google Apps for Android 4.2 (https://www.androidfilehost.com/?fid=23060877490000128 - gapps-jb-20130812-signed.zip)
Google Apps for Android 4.1 (https://www.androidfilehost.com/?fid=22979706399755082 - gapps-jb-20121011-signed.zip)
@cyberrob-zz
cyberrob-zz / dd_command_to_create_installation_disk_to_usb_drive
Last active August 29, 2015 14:21
Create a USB install drive from any ISO file on Mac
# Check out what disks exist on your Mac, make sure the installation disk exists
$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 250.1 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
<uses-feature
android:name="android.hardware.telephony"
android:required="true"/>
<compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />