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
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 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 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 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
def self.daemon | |
IO.popen("python /root/isk-daemon-0.6.2/isk-daemon.py 2>&1") { |io| | |
i = "" | |
thread = Thread.new { | |
while IO.select([io], nil, nil) do | |
i = io.gets | |
puts i | |
break if i.nil? | |
end | |
} |
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
def x_put (blob) | |
self.permalink = UUID.random_create.to_s if self.permalink.blank? | |
imgs = Magick::Image.from_blob(blob) | |
first = imgs.first | |
case first.get_exif_by_entry("Orientation") && first["EXIF:Orientation"] | |
when "6" | |
first.rotate!(90) | |
first["EXIF:Orientation"] = "1" | |
when "3" | |
first.rotate!(180) |
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
# Typical way of handling the email in the controller | |
class UsersController < ApplicationController | |
def create | |
@user = User.new params[:user] | |
UserMailer.deliver_welcome(@user) if @user.save | |
end | |
end |
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
=CRASH REPORT==== 12-Nov-2009::17:24:16 === | |
crasher: | |
initial call: gen:init_it/6 | |
pid: <0.22220.97> | |
registered_name: [] | |
exception exit: system_limit | |
in function gen_server2:terminate/6 | |
ancestors: [<0.22138.97>] | |
messages: [{'EXIT',<0.22137.97>,normal}] | |
links: [] |
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
=CRASH REPORT==== 31-Jan-2010::06:49:55 === | |
crasher: | |
initial call: ssl_connection:init/1 | |
pid: <0.11745.973> | |
registered_name: [] | |
exception exit: bad_info | |
in function gen_fsm:terminate/7 | |
ancestors: [ssl_connection_sup,ssl_sup,<0.180.0>] | |
messages: [] | |
links: [<0.188.0>] |
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
=CRASH REPORT==== 31-Jan-2010::06:30:43 === | |
crasher: | |
initial call: gen:init_it/6 | |
pid: <0.6619.974> | |
registered_name: [] | |
exception exit: {{case_clause,{error,system_limit}}, | |
[{rabbit_queue_index,scatter_journal,4}, | |
{rabbit_queue_index,init,1}, | |
{rabbit_variable_queue,init,1}, | |
{rabbit_amqqueue_process,init,1}, |
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
# GravitronShiftr | |
# | |
# just a simple test of ShinyCocos2d | |
# i could get used to this | |
class DemoScene < Cocos2D::Scene | |
include Cocos2D | |
def initialize | |
@layer = Layer.new |
OlderNewer