binaries/ ├── config (download from virtualopensystem) ├── cookies.txt (download from virtualopensystem) ├── jb_ve_4_1_1.bz2 (download from virtualopensystem)
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
<html> | |
<head> | |
<title>Reveal</title> | |
<style type="text/css"> | |
.reveal * { display: none; } | |
.reveal .handle { display: block; } | |
</style> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ |
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
static void* doit1(void *arg) { | |
time_t startTime, endTime; | |
while(true) { | |
pthread_mutex_lock(&t1_mutex); | |
while(t1 == 0) | |
pthread_cond_wait(&t1_cond, &t1_mutex); | |
startTime = timeInUs(); | |
getBestSwapTarget(bin_index1, cell_index1, curr_swap_target1, curr_target_profit1); | |
endTime = timeInUs(); | |
t_doit1 += endTime - startTime; |
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
import java.io.*; | |
import java.util.zip.*; | |
public class Zip{ | |
private ZipInputStream zipIn; | |
private ZipOutputStream zipOut; | |
private ZipEntry zipEntry; | |
private static int bufSize; | |
private byte[] buf; | |
private int readedBytes; |
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 tw.fatminmin.intentparser; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; |
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
2795 while ((dom->item_in + 1) % SYSCALL_SIZE == dom->item_out && (timeout-- > 0)) | |
2796 { | |
2797 udelay(100); | |
2798 } | |
2799 | |
2800 spin_lock(&dom->syscall_lock); | |
2801 if ((dom->item_in + 1) % SYSCALL_SIZE == dom->item_out) | |
2802 { | |
2803 printk("Domain buffer full !!!!\n"); | |
2804 goto out; |
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/busybox sh | |
# | |
# By Chih-Wei Huang <[email protected]> | |
# and Thorsten Glaser <[email protected]> | |
# | |
# Last updated 2014/01/15 | |
# | |
# License: GNU Public License | |
# We explicitely grant the right to use the scripts | |
# with Android-x86 project. |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <assert.h> | |
typedef struct _List { | |
struct _List *next; | |
int val; | |
} List; |
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
# Installing apktool | |
mkdir -p ~/.local/bin | |
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.1.1.jar -O ~/.local/bin/apktool.jar | |
wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O ~/.local/bin/apktool | |
chmod a+x ~/.local/bin/apktool | |
# Installing dex2jar | |
wget https://github.com/pxb1988/dex2jar/releases/download/2.1-nightly-26/dex-tools-2.1-20150601.060031-26.zip -O ~/.local/bin/dex2jar.zip | |
unzip ~/.local/bin/dex2jar.zip -d ~/.local/bin/ | |
mv ~/.local/bin/dex2jar-2.1-SNAPSHOT/* ~/.local/bin/ |
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
const sort = (arr) => { | |
const l = arr.length; | |
for (let i = 0; i < l; i++) { | |
for (let j = 0; j < l - i; j++) { | |
if (arr[j] > arr[j + 1]) { | |
const t = arr[j + 1]; | |
arr[j + 1] = arr[j]; | |
arr[j] = t; | |
} | |
} |
OlderNewer