- Disable Windows Fast-Startup
- Disable Secure Boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create Git Repository | |
# created by Jim Kubicek, 2009 | |
# jimkubicek@gmail.com | |
# http://jimkubicek.com | |
# DESCRIPTION | |
# Create remote git repository from existing project | |
# this script needs to be run from within the project directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dex-method-count() { | |
cat $1 | head -c 92 | tail -c 4 | hexdump -e '1/4 "%d\n"' | |
} | |
function dex-method-count-by-package() { | |
dir=$(mktemp -d -t dex) | |
baksmali $1 -o $dir | |
for pkg in `find $dir/* -type d`; do | |
smali $pkg -o $pkg/classes.dex | |
count=$(dex-method-count $pkg/classes.dex) | |
name=$(echo ${pkg:(${#dir} + 1)} | tr '/' '.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pty' | |
require 'expect' | |
def parse_android_packages(packages_raw) | |
packages_raw = packages_raw.split("\n----------\n") | |
result = [] | |
packages_raw.each do |raw| | |
id_match = /id: (\d+) or "(.+)"/.match(raw) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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". |
This page documents the external/internal behavior of Casper.
Casper installed itself into the following directories:
- /Library/Application Support/JAMF
- ManagementFrameworkScripts - a set of scripts that runs on certain events
- StartupScript.sh - Activated when jamf is started
- loginhook.sh - Activated when user login
- ManagementFrameworkScripts - a set of scripts that runs on certain events
- logouthook.sh - Activated when user logout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply from: "$rootDir/coverage.gradle" | |
//... | |
android { | |
//... | |
buildTypes { | |
//... | |
debug { |
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.
OlderNewer