This requires the latest version of apktool.
apktool d $APK_PATH -o $OUTPUT_FOLDER
# Open the apktool.yml text file
# Alter the versionCode and versionName entries
# now rebuild!
apktool build $OUTPUT_FOLDER
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
@servers(['web' => 'deploy-ex']) | |
@setup | |
$repo = '[email protected]:Servers-for-Hackers/deploy-ex.git'; | |
$release_dir = '/var/www/releases'; | |
$app_dir = '/var/www/app'; | |
$release = 'release_' . date('YmdHis'); | |
@endsetup | |
@macro('deploy', ['on' => 'web']) |
# Get a constant by string/symbol, e.g. User.const :NAME_LIMIT | |
# Returns nil if no match | |
class Object | |
def self.const(s) | |
self.const_get(s) if self.const_defined?(s) | |
end | |
end |
--- PKGBUILD.org 2014-11-18 18:06:33.000000000 +0900 | |
+++ PKGBUILD 2015-02-22 16:18:42.861243876 +0900 | |
@@ -52,12 +52,12 @@ | |
## Mozc compile option | |
_bldtype=Release | |
-_mozcver=1.15.1917.102 | |
-_utdicver=20141110 | |
-_zipcoderel=201410 | |
+_mozcver=2.16.2037.102 |
This requires the latest version of apktool.
apktool d $APK_PATH -o $OUTPUT_FOLDER
# Open the apktool.yml text file
# Alter the versionCode and versionName entries
# now rebuild!
apktool build $OUTPUT_FOLDER
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem | |
chmod 600 id_rsa.pem |
While this gist has been shared and followed for years, I regret not giving more background. It was originally a gist for the engineering org I was in, not a "general suggestion" for any React app.
Typically I avoid folders altogether. Heck, I even avoid new files. If I can build an app with one 2000 line file I will. New files and folders are a pain.
//----- The ECMAScript 6 meta object protocol (MOP) implemented in ES5 | |
// This is how getting a property is handled internally. | |
// Double underscore (__) implies internal operation. | |
Object.prototype.__Get__ = function (propKey, receiver) { | |
receiver = receiver || this; | |
var desc = this.__GetOwnProperty__(propKey); | |
if (desc === undefined) { | |
var parent = this.__GetPrototypeOf__(); | |
if (parent === null) return undefined; |
Where 0 is the Xvfb screen number: | |
DISPLAY=:0 import -window root screenshot.png |
You will need the user_id
from the user. This is difficult to discover at Instagram but easy from this site http://jelled.com/instagram/lookup-user-id
I used http://jelled.com/instagram/access-token for the next few steps
You will also need an access token
which ends up being difficult to obtain. Log into the account and go to their Developer Page.