- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| # Put this function to your .bashrc file. | |
| # Usage: mv oldfilename | |
| # If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
| # Original mv is called when it's called with more than one argument. | |
| # It's useful when you want to change just a few letters in a long name. | |
| # | |
| # Also see: | |
| # - imv from renameutils | |
| # - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste) |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
This is a quick guide of the commands we use to sign someone's GPG key in a virtual key signing party.
Note: The steps cover only the technical aspects of signing someone's key. Before signing someone's key, you must verify their identity. This is usually done by showing government-issued ID and confirming the key's fingerprint
The commands will work for both GPG and GPG2.
I use Julian's key for the examples. His key id is 2AD3FAE3. You should substitute with the appropriate key id when running the commands.
gpg --list-keys.| # Reusable bash function you can add to your ~/.zshrc or ~/.bashrc file | |
| # | |
| # Usage: pkg-script start "node index.js" | |
| # | |
| function pkg-script () { | |
| echo $(jq --arg key "${1}" --arg val "${2}" '.scripts[$key]=$val' package.json) | jq . | > package.json | |
| } |
Technical details for https://stackoverflow.com/a/44169445/6730571
On a base system, /usr/bin/java is a symlink that points to /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java, which is an Apple wrapper tool that locates and executes the actual java.
(Do not touch anything in those 2 system directories. It should actually be impossible due to "System Integrity Protection" anyway.)
If you don't have Java installed, attempting to execute java will open a dialog that invites you to install it.
| apply plugin: 'com.android.application' | |
| apply from: "$rootDir/coverage.gradle" | |
| //... | |
| android { | |
| //... | |
| buildTypes { | |
| //... | |
| debug { |
This page documents the external/internal behavior of Casper.
Casper installed itself into the following directories:
| List grabbed from running `strings` on the bootloader; it's probably incomplete. | |
| Most of these commands are untested, and all of them sound like they can seriously break your phone. Be careful. | |
| Tested: (all on a bootloader unlocked device) | |
| fastboot oem uart enable: changes "Console" on the bootloader screen to say "ttyHSL0,115200,n8"; | |
| probably enables serial messages; haven't checked since I don't know where the Nexus 6P's uart is | |
| fastboot oem ramdump enable: changes "Download mode" on the bootloader screen to say "ENABLED" instead of "DISABLED". |
| Found valid GPT with protective MBR; using GPT | |
| Disk /dev/block/mmcblk0: 61071360 sectors, 1148M | |
| Logical sector size: 512 | |
| Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20 | |
| Partition table holds up to 44 entries | |
| First usable sector is 34, last usable sector is 61071326 | |
| Number Start (sector) End (sector) Size Code Name | |
| 1 16384 180223 80.0M 0700 modem |
| package co.sveinung.utils; | |
| import com.google.gson.FieldNamingStrategy; | |
| import java.lang.reflect.Field; | |
| import java.util.regex.Pattern; | |
| /** | |
| * Created by sveinung on 21.02.15. | |
| */ |