Skip to content

Instantly share code, notes, and snippets.

@yhnu
yhnu / vcredistr.md
Created August 25, 2023 06:28 — forked from ChuckMichael/vcredistr.md
Visual C++ Redistributable Packages

Microsoft Visual C++ Redistributable Packages

  • Microsoft Visual C++ 2005 Redistributable Package
    • x64 8.0.61000 (EOL)
    • x86 8.0.61001 (EOL)
  • Microsoft Visual C++ 2008 Redistributable Package
    • x64 9.0.30729.6161 (EOL)
    • x86 9.0.30729.6161 (EOL)
  • Microsoft Visual C++ 2010 Redistributable Package
  • x64 10.0.40219.473 (EOL)
So you'd like to manage your iOS devices by command line?
You can use libimobiledevice tools for that.
Easy on Linux. Let's see how it is on Mac OS X.
You'll need to:
1. install Xcode
2. start Xcode and agree to it's license
3. install Xcode command line tools (Start Xcode, Go to Preferences -> Downloads tab)
4. install homebrew by this command (sudo password will be prompted)
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
@yhnu
yhnu / recompile-and-run.sh
Created August 28, 2017 09:51 — forked from PuKoren/recompile-and-run.sh
Recompile APK + Sign with apktool
# You must first install apktool (https://github.com/iBotPeaches/Apktool) and android SDK
# and decompile apk using it
# apktool d -rf my-app.apk
# then generate a key for sign in:
# keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
rm signed-app.apk
apktool b -f -d com.myapp
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore com.myapp/dist/com.myapp.apk alias_name
zipalign -v 4 com.myapp/dist/com.myapp.apk signed-app.apk
@yhnu
yhnu / gist.sh
Created August 8, 2017 17:36 — forked from anonymous/gist.sh
sudo apt-get install rubygems
gem install gist
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbound": {
"port": 36688,
"listen": null,
"protocol": "vmess",