Skip to content

Instantly share code, notes, and snippets.

// Generated on 2014-02-24 using generator-mobile 1.0.0-alpha.1
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
// # Globbing
// for performance reasons we're only matching one level down:
(function() {
var EventEmitter = events.EventEmitter;
var inspect = util.inspect;
var emit_ = EventEmitter.prototype.emit;
EventEmitter.prototype.emit = function(name) {
var args = Array.prototype.slice.call(arguments);
if (this !== process.stderr && (this.constructor.name === 'pool' || this.constructor.name === 'Pool' || this.constructor.name === 'SMTPConnectionPool' || this.constructor.name === 'SMTPClient')) {
console.log('From:%s Event: %s, arguments: %s', this.constructor.name, name, inspect(args.slice(1), false, 1));
}
#####################################################
# Create SAMSUNG TAB S 8.4 (5)
#####################################################
f_gtab_kernel5(){
echo "Downloading Android Toolchain"
if [[ $LOCALGIT == 1 ]]; then
echo "Copying toolchain to rootfs"
cp -rf ${basepwd}/arm-eabi-4.7 ${basedir}/toolchain
else
@jmingov
jmingov / cm12 Build Instructions TAB S
Created February 17, 2015 23:03
build cm 12.0 GALAXY TAB S 8.4
CyanogenMod (pronounced /saɪ.'æn.oʊ.dʒɛn.mɒd/) is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices.
http://wiki.cyanogenmod.org/w/About
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
@jmingov
jmingov / roomservice.xml
Created February 19, 2015 16:35
roomservice.xml original
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_picassowifi" path="device/samsung/picassowifi" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_exynos5420" path="kernel/samsung/exynos5420" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos" path="hardware/samsung_slsi/exynos" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5420" path="hardware/samsung_slsi/exynos5420" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_openmax" path="hardware/samsung_slsi/openmax" remote="github" />
</manifest>
@jmingov
jmingov / updated
Created February 22, 2015 16:56
updated roomservice.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="fat-tire/nethunter-app" path="packages/apps" remote="github" revision="master" />
<project name="eousphoros/android_device_samsung_klimtwifi" path="device/samsung/klimtwifi" remote="github" />
<project name="eousphoros/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="binkybear/android_kernel_samsung_exynos5420" path="kernel/samsung/exynos5420" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos" path="hardware/samsung_slsi/exynos" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal" path="hardware/samsung_slsi/exynos5-insignal" remote="github" />
<project name="CyanogenMod/android_hardware_samsung_slsi_exynos5420" path="hardware/samsung_slsi/exynos5420" remote="github" />
@jmingov
jmingov / i Need FeedBack
Last active August 29, 2015 14:16
Nethunter mac test.
Test for "our" macchanger stuff.
[options]
resize_grip = false
geometry = 1920x1040
scroll_on_output = true
scroll_on_keystroke = true
audible_bell = true
visible_bell = true
mouse_autohide = true
dynamic_title = true
urgent_on_bell = true
@jmingov
jmingov / CSS DEBUG.md
Last active August 29, 2015 14:18 — forked from addyosmani/README.md

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert