This file contains hidden or 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 static final String LESS_THAN_A_MINUTE = "less than a minute"; | |
public static final String SECONDS = "seconds"; | |
public static final String MINUTES = "minutes"; | |
public static final String HOURS = "hours"; | |
public static final String DAYS = "days"; | |
public static final String WEEKS = "weeks"; | |
public static final String MONTHS = "months"; | |
public static final String YEARS = "years"; | |
public static final String DECADES = "decades"; | |
public static final String CENTURIES = "centuries"; |
This file contains hidden or 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
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.65-b04-466.1 mixed mode): | |
"Attach Listener" daemon prio=9 tid=11bc87800 nid=0x11ed4e000 waiting on condition [00000000] | |
java.lang.Thread.State: RUNNABLE | |
Locked ownable synchronizers: | |
- None | |
"JobScheduler FJ pool 0/4" daemon prio=6 tid=11bd05000 nid=0x11ee51000 waiting on condition [11ee50000] | |
java.lang.Thread.State: TIMED_WAITING (parking) |
This file contains hidden or 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
01-08 14:10:25.748 3270-3477/com.example.client E/BluetoothConnection﹕ Exception communicating over bluetooth: bt socket closed, read return: -1 | |
java.io.IOException: bt socket closed, read return: -1 | |
at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:434) | |
at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:96) | |
at java.io.InputStream.read(InputStream.java:162) | |
at com.example.bluetooth.BluetoothConnection.run(BluetoothConnection.java:99) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:237) | |
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152) | |
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265) |
This file contains hidden or 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
obj-m := hello.o | |
KDIR := /lib/modules/${uname -r}/build | |
PWD := ${shell pwd} | |
default: | |
${MAKE} -C ${KDIR} SUBDIRS=${PWD} modules |
This file contains hidden or 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
fdisk | |
# Follow instructions! | |
mkfs.ext4 /dev/sda1 | |
mkfs.ext4 /dev/sda2 | |
mkdir /mnt/home | |
mount /dev/sda1 /mnt | |
mount /dev/sda2 /mnt/home |
This file contains hidden or 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
/// GENERAL METHODS FOR OAUTH'ING | |
/// using the Apache Oltu library | |
/// https://cwiki.apache.org/confluence/display/OLTU/Index | |
public String getAuthUrl() { | |
OAuthClientRequest request = null; | |
try { | |
request = OAuthClientRequest | |
.authorizationLocation("https://www.hackerschool.com/oauth/authorize") |
This file contains hidden or 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 <stdlib.h> | |
#include <stdio.h> | |
int* merge_sort(int* ,int, int); | |
void merge(int*, int, int, int, int); | |
int main(void) { | |
int *return_array_ptr; |
This file contains hidden or 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
HOMEBREW_VERSION: 0.9 | |
HEAD: (none) | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.7.4 | |
Kernel Architecture: x86_64 | |
Xcode: 4.3.2 | |
GCC-4.0: N/A | |
GCC-4.2: build 5658 |
NewerOlder