Skip to content

Instantly share code, notes, and snippets.

FrozenCow FrozenCow

Block or report user

Report or block FrozenCow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View proprietary-files.txt
# Camera
bin/mm-qcamera-daemon
lib/hw/camera.vendor.bacon.so
lib/libmmcamera_interface.so
lib/libmmjpeg_interface.so
lib/libqomx_core.so
vendor/lib/libjpegdhw.so
vendor/lib/libjpegehw.so
vendor/lib/libmmcamera2_c2d_module.so
vendor/lib/libmmcamera2_cpp_module.so
@FrozenCow
FrozenCow / gist:9f7658a4ba49feb96046a060a3539e73
Last active Aug 15, 2016
CyanogenMod 13 on Ubuntu 16.08
View gist:9f7658a4ba49feb96046a060a3539e73
# Building CyanogenMod 13 on Ubuntu 16.08 (xenial)
## Install required packages
cat > /etc/apt/sources.list << EOF
deb http://nl.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://nl.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://archive.canonical.com/ubuntu xenial partner
EOF
@FrozenCow
FrozenCow / PKGBUILD
Last active Jan 9, 2016
janus-gateway-git
View PKGBUILD
# Maintainer: Maurizio Porrato <maurizio.porrato@gmail.com>
pkgname=janus-gateway-git
pkgver=0.0.9.r239.ga6c2572
pkgrel=1
pkgdesc="WebRTC gateway."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://janus.conf.meetecho.com/"
license=('GPL3')
depends=('libmicrohttpd' 'jansson' 'libnice' 'openssl' 'libsrtp' 'sofia-sip' 'libusrsctp-git' 'libwebsockets-git' 'libevent' 'librabbitmq-c' 'opus' 'libogg' 'glib2' 'ding-libs')
@FrozenCow
FrozenCow / git-log-all.sh
Created Jan 20, 2014
List all git commits from multiple repositories chronologically, filtered by argument. Useful to know of all work that has been done over by someone (by filtering on email-address).
View git-log-all.sh
#!/bin/bash
for i in $(ls); do (cd $i && git log --format="%at|$i|%ae|%gs|%s"); done | grep "$1" | sort -n | awk -F'|' '{ print strftime("%F|%X|%A", $1) "|" $2 "|" $0; }' | cut -d'|' -f 1-4,8- | column -t -s'|' | less -S
@FrozenCow
FrozenCow / PKGBUILD
Created Nov 5, 2013
PKGBUILD for Phonegap 2.9.0
View PKGBUILD
# Maintainer: Roy Lines <roy@roylines.co.uk>
pkgname=phonegap
pkgver=2.9.0
pkgrel=1
pkgdesc="Access core functions on Android, iPhone and Blackberry using JavaScript."
arch=('any')
url="https://github.com/phonegap/phonegap"
license=('MIT')
@FrozenCow
FrozenCow / mydebianimages.json
Created Oct 11, 2013
Example of repository file for DriveDroid 0.9.0
View mydebianimages.json
[
{
"id": "mydebian",
"name": "My Debian Images",
"url": "http://www.debian.org/",
"releases": [
{
"version": "6.0.6",
"arch": "amd64",
"size": 176160768,
@FrozenCow
FrozenCow / pipework-wait
Last active Dec 24, 2015
pipework-wait
View pipework-wait
#!/bin/bash
pipework --wait
$@
@FrozenCow
FrozenCow / example.sh
Last active Dec 23, 2015
Systemd env.conf generation using profile.d
View example.sh
sudo mkdir -p /etc/systemd/system/user@${UID}.service.d/
./generate-systemd-envconf-from-profile.sh | sudo tee /etc/systemd/system/user@${UID}.service.d/env.conf
@FrozenCow
FrozenCow / example.js
Last active Dec 21, 2015
An example of node-gitteh for the functions createBlobFromDisk, createTree and createCommit that can be found here: https://github.com/libgit2/node-gitteh/pull/63
View example.js
var gitteh = require('gitteh');
function deepClone(val) {
if (val === null) {
return val;
} else if (val === undefined) {
return val;
} else if (val instanceof Array) {
return val.map(deepClone);
} else if (typeof val === 'object') {
View hello.cljs
(ns hello
(:require-macros
[macros :as macros]
)
)
; ...
(macros/indexMatrix 4 4 i x y (+ (fieldGet x y) i))
; ...
You can’t perform that action at this time.