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
public String runAsRoot() { | |
try { | |
// Executes the command. | |
Process process = Runtime.getRuntime().exec(command); | |
// Reads stdout. | |
// NOTE: You can write to stdin of the command using | |
// process.getOutputStream(). | |
BufferedReader reader = new BufferedReader( | |
new InputStreamReader(process.getInputStream())); |
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
curl -i 'https://api.github.com/users/grace5921?client_id=ed3c77e4af1326ab7c01&client_secret=6cd7304af83374e1acf74cc10033f51b80d0126a' | |
curl -H "Authorization: token OAUTH-TOKEN" https://api.github.com/users/grace5921 -I |
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
From 60ee12283c6be1540135f8470ae42f85cc4baebe Mon Sep 17 00:00:00 2001 | |
From: Mike Kasick <mike@kasick.org> | |
Date: Sat, 7 Jul 2012 19:00:47 -0400 | |
Subject: [PATCH] Add and enable kexec hardboot support. | |
Consists of squashed commits from: | |
https://github.com/mkasick/android_kernel_samsung_jfltespr.git | |
commit 750bb80f2854d6af5273e55ea179a4c60b2d9efc | |
Author: Mike Kasick <mike@kasick.org> |
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
If you do not start JACK (Java Android Compiler Kit) 6.0 server in the assembly | |
ERROR: Can not launch Jack server | |
First method. | |
Open the file (in your home directory) .jack. | |
Change Ports: | |
SERVER_PORT_SERVICE = 8072 -> 8074 | |
SERVER_PORT_ADMIN = 8073 -> 8075 | |
Save. |
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
diff --git a/icu4c/source/common/ucnv.c b/icu4c/source/common/ucnv.c | |
index 5cf4d15..3701f30 100644 | |
--- a/icu4c/source/common/ucnv.c | |
+++ b/icu4c/source/common/ucnv.c | |
@@ -2914,6 +2914,75 @@ ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status){ | |
return FALSE; | |
} | |
} | |
+ | |
+U_CAPI void U_EXPORT2 ucnv_setToUCallBack_48 (UConverter * converter, |
NewerOlder