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
#!/usr/sbin/dtrace -C -s | |
#pragma D option quiet | |
proc::posix_spawn:exec-success,proc::__mac_execve:exec-success | |
{ | |
this->isx64=(curproc->p_flag & P_LP64)!=0; | |
#define SELECT_64_86(x64, x86) (this->isx64 ? (x64) : (x86)) | |
#define GET_POINTER(base, offset) (user_addr_t)SELECT_64_86(*(uint64_t *)((base)+sizeof(uint64_t)*(offset)), *(uint32_t *)((base)+sizeof(uint32_t)*(offset))) | |
this->ptrsize=SELECT_64_86(sizeof(uint64_t),sizeof(uint32_t)); |
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
#!/bin/sh | |
cd /tmp | |
#CMDLINE="androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F ehci-hcd.park=3 msm_rtb.enable=0 lpj=192598 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y" | |
CMDLINE="androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 msm_rtb.enable=0 lpj=192598 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y androidboot.emmc=true androidboot.bootloader=s1 oemandroidboot.s1boot=1270-3115_S1_Boot_MSM8974_Rhine1.2_LA1.04_12 androidboot.serialno=BH906G1Y0G ta_info=1,16,256 startup=0x00000005 warmboot=0x77665500 oemandroidboot.imei=35 0940555023900 oemandroidboot.phoneid=0000:3580940555023900 oemandroidboot.security=0 androidboot.baseband=msm" | |
MKBOOTIMG=~/ubuntu-touch/out/host/linux-x86/bin/mkbootimg | |
KERNEL=~/ubuntu-touch/sony-oss/kernel/arch/arm/boot/zImage | |
RAMDISK=~/ubuntu-touch/out/target/product/honami/ramdisk.img |
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
root@ubuntu-phablet:/# uname -a | |
Linux ubuntu-phablet 3.4.0-perf #3 SMP PREEMPT Wed Jul 2 01:08:13 PDT 2014 armv7l armv7l armv7l GNU/Linux | |
root@ubuntu-phablet:/# modinfo /tmp/wlan.ko | |
filename: /tmp/wlan.ko | |
description: WLAN HOST DEVICE DRIVER | |
author: Qualcomm Atheros, Inc. | |
license: Dual BSD/GPL | |
depends: | |
staging: Y | |
intree: Y |
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
class EdgeEmitter | |
include Enumerable | |
attr_accessor :edges | |
def initialize(filename) | |
# you should load the file and save the edges | |
end | |
# implementation of Enumerable is bonus points | |
def length |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Mavenlink is unavailable due to scheduled maintenance. Mavenlink will return shortly.</title> | |
<style type="text/css"> | |
html, body { | |
width: 100%; height: 100%; | |
margin: 0; padding: 0; | |
overflow: hidden; |
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
#!/bin/sh | |
in=$1 | |
out=$2 | |
curl -s \ | |
-d compilation_level=SIMPLE_OPTIMIZATIONS \ | |
-d output_format=text \ | |
-d output_info=compiled_code \ | |
--data-urlencode "js_code@${in}" \ |
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
ADB_TRACE=1 ./platform-tools/adb connect 192.168.129.2:20434 | |
system/core/adb/adb.c::main():Handling commandline() | |
system/core/adb/adb_client.c::adb_query():adb_query: host:connect:192.168.129.2:20434 | |
system/core/adb/adb_client.c::_adb_connect():_adb_connect: host:version | |
system/core/adb/transport.c::writex():writex: fd=3 len=4: 30303063 000c | |
system/core/adb/transport.c::writex():writex: fd=3 len=12: 686f73743a76657273696f6e host:version | |
system/core/adb/transport.c::readx():readx: fd=3 wanted=4 | |
system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4 | |
4f4b4159 OKAY | |
system/core/adb/adb_client.c::_adb_connect():_adb_connect: return fd 3 |
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
// setup a small scratch buffer | |
short *buffer; | |
buffer = new short[min_buffer_length]; | |
void *pump_audio(void *) { | |
int wrote; | |
// zero out the scratch buffer | |
memset(buffer, 0, min_buffer_length * sizeof(short)); |
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
** [out :: ofsocket-backend3.c43893.blueboxgrid.com] PING ofsocket-interconnect.openfeint.com (67.214.208.204) 56(84) bytes of data. | |
** [out :: ofsocket02-prod.of.c43893.blueboxgrid.com] 64 bytes from shopwgby.org (67.214.208.204): icmp_seq=1 ttl=253 time=0.850 ms |
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
::ffff:201.144.87.36 - - [22/Apr/2011:10:43:22 -0700] "-" 408 0 "-" "-" | |
::ffff:61.158.152.198 - - [22/Apr/2011:10:43:22 -0700] "-" 400 0 "-" "-" | |
::ffff:178.106.234.56 - - [22/Apr/2011:10:43:22 -0700] "-" 408 0 "-" "-" | |
::ffff:123.122.8.124 - - [22/Apr/2011:10:43:22 -0700] "-" 400 0 "-" "-" | |
::ffff:95.220.254.247 - - [22/Apr/2011:10:43:23 -0700] "-" 400 0 "-" "-" |
NewerOlder