Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@muka
muka / README.md
Created June 12, 2014 05:21 — forked from sarg/README.md

Obtaining RK3066 boot ROM.

Here are my steps.

At first, I took a look to RK30xxLoader(L)_V1.18.bin. This file appears in update.img for my device. So, I unpacked update.img using rk29Kitchen.

strings on that file returns nothing interesting, so I assumed the file is crypted

@muka
muka / app.js
Last active August 29, 2015 14:05 — forked from jonalter/app.js
var win = Titanium.UI.createWindow({
backgroundColor: 'blue'
});
var btn = Ti.UI.createButton({
title : 'Add Notification'
});
btn.addEventListener('click', function(e) {
var activityName = Ti.App.name;
// add all items to collection
Alloy.Collections.Fugitive.reset([{
"name" : "Jeff Haynie"
}, {
"name" : "Nolan Wright"
}, {
"name" : "Don Thorp"
}, {
"name" : "Marshall Culpepper"
}, {
@muka
muka / test.js
Last active August 29, 2015 14:16
idm test
// install deps
// npm i muka/Appcelerator@idm
// 1 get the captcha link, from cli
// # node test.js
// 2 visit the link displayed
// 3 create the user, from cli
// # node test.js [session] [captcha]
var idmTest = function() {
@muka
muka / atom-goplus-install.sh
Last active December 9, 2015 10:38
install go and go-plus for atom on ubuntu
# Install go from ppa
sudo apt-add-repository ppa:gophers/go -y
sudo apt-get update
sudo apt-get install golang golang-go.tools golang-go.tools-dev -y
# Add $GOPATH
# GOPATH="~/go"
# mkdir $GOPATH
var couchbase = require('couchbase');
var ViewQuery = couchbase.ViewQuery;
var run = function () {
importData();
};
var importData = function () {
var raptor = new couchbase.Cluster('couchbase://127.0.0.1');
@muka
muka / kemap.cson
Created October 18, 2016 11:40
my custom keymap
'atom-text-editor':
'ctrl-s': 'atom-save-all:saveAll'
# 'ctrl-shift-s': 'atom-save-all:saveAll'
'alt-shift-f': 'formatter:format-code'
'atom-text-editor[data-grammar="source go"]:not(.mini)':
'alt-g': 'golang:godef'
'alt-shift-g': 'golang:godef-return'
'atom-text-editor[data-grammar~="go"]:not([mini])':
var mqtt = require('mqtt');
var client = mqtt.connect('mqtt://localhost:1883', {
username: "admin",
password: "eyJhbGciOiJIUzUxMiJ9.eyJjcmVhdGVkIjoxNDc3NDg1NDc5OTEzLCJleHAiOjE0Nzc0ODcyNzksInV1aWQiOiI2NmVkNDc3Mi0wNDg5LTRlOTYtYmI2NS01NDhiMmVkMmM3MWQifQ.LbOAr8pPApDlVBLi32JWtCjmCa80ByAJYq9BnTnWQgh4SWka4WzykMU0D_atE5tYtgICj2QOg-OFglv2ZqLLNw",
protocolId: 'MQTT',
protocolVersion: 4,
});
client.on('connect', function () {
@muka
muka / renew.md
Last active January 25, 2017 11:11
letsencript renew