Skip to content

Instantly share code, notes, and snippets.

From 5c6b761e8e393a8ad133bd7080841c37a748da51 Mon Sep 17 00:00:00 2001
From: Jiangyi <sam.andrew.jiang@gmail.com>
Date: Fri, 18 Jul 2014 15:53:13 -0400
Subject: [PATCH] build: Add chromium prebuilt support to envsetup.sh && The
core Makefile
This adds a chromium_prebuilt function to envsetup.sh that is invoked by lunch to check
whether the chromium prebuilts are up-to-date or not. If not, it will be built from source
and then the new source built version will be pulled during brunch/mka bacon to become the
new prebuilts for future builds.
This file has been truncated, but you can view the full file.
‰PNG

<html>
<head>
<title>NIGGERED BBC</title>
<HTA:APPLICATION
APPLICATIONNAME="GAYSHIT"
ID="DICKLOVER420"
VERSION="1.0"/>
From aec82a2af4abef36f4667ac56de58e70f9915c8b Mon Sep 17 00:00:00 2001
From: LuK1337 <priv.luk@gmail.com>
Date: Thu, 5 Nov 2015 19:29:30 +0100
Subject: [PATCH] msm8226-common: Replace LD_PRELOAD with LD_SHIM_LIBS
Change-Id: Ica1714b41d1ec9f819778e937b03b721f4f3639d
---
libmoto/Android.mk | 21 +++++++++++++++++----
msm8226.mk | 3 ++-
rootdir/etc/init.qcom.rc | 3 ++-
From 94b2f58e075486971cd65f3d07d19b582f8e2e66 Mon Sep 17 00:00:00 2001
From: LuK1337 <priv.luk@gmail.com>
Date: Thu, 17 Dec 2015 16:02:42 +0100
Subject: [PATCH] [WIP] Enable flip gesture sensor
Change-Id: I7dc0e813e4f0bd1cf45f3eed322a8aff9ee64c38
---
.../frameworks/base/core/res/res/values/config.xml | 6 +++
sensors/bst/hal/BstSensor.cpp | 4 +-
sensors/bst/hal/BstSensorInfo.cpp | 47 +++++++++++-----------
@luk1337
luk1337 / ļ
Last active December 18, 2015 17:46
From 92757f095e501daebd404c8b38fc6066c4d63306 Mon Sep 17 00:00:00 2001
From: LuK1337 <priv.luk@gmail.com>
Date: Fri, 18 Dec 2015 12:26:55 +0100
Subject: [PATCH] msm8226-common: sensors: bst: Enable step counter sensor
* Also set maxDelay to 425k to fix bogus steps issue.
Change-Id: If828e3b792114a456a39343cb6dc2d2ecfedc955
---
sensors/bst/hal/BstSensorInfo.cpp | 95 ++++++++++++++++++++-------------------
From a800c758397e535cc11aabc574e6c09a190808ee Mon Sep 17 00:00:00 2001
From: LuK1337 <priv.luk@gmail.com>
Date: Fri, 18 Dec 2015 15:40:40 +0100
Subject: [PATCH] titan: Enable step counter and detector feature
Change-Id: I26a1d5d20cdf1af0c1eb288d87a918749bc003f4
---
device.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sensors/bst/daemon/inc/channel.h b/sensors/bst/daemon/inc/channel.h
index 84ce43f..7ad882b 100644
--- a/sensors/bst/daemon/inc/channel.h
+++ b/sensors/bst/daemon/inc/channel.h
@@ -147,7 +147,7 @@ struct channel_cfg {
struct channel {
- const char const *name;
+ const char *name;
@luk1337
luk1337 / √elo
Last active January 10, 2016 17:21
// ==UserScript==
// @name fuck bandcamp
// @namespace http://bandcamp.com/
// @version 1.0
// @author Swype
// @match *://*.bandcamp.com/album/*
// @match *://*.bandcamp.com/track/*
// @require https://code.jquery.com/jquery-2.1.4.min.js
// @grant none
// ==/UserScript==
@luk1337
luk1337 / cool_gerrit.css
Last active April 26, 2016 17:51
For use with 'Stylish' addon.
/* Custom fonts */
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Droid+Sans+Mono);
body, .gwt-DialogBox .dialogMiddleCenter {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAMAAAAKE/YAAAAAk1BMVEUbGxseHh4NDQ0aGhoXFxcMDAwLCwsZGRkKCgodHR0iIiIcHBwYGBgJCQkPDw8fHx8gICAhISEUFBQQEBAODg4lJSUWFhYVFRUjIyMkJCQSEhImJiYpKSkRERETExMnJycoKCgsLCwICAgqKiorKystLS0uLi4wMDAvLy8HBwcxMTEzMzM0NDQyMjI3Nzc1NTUGBgb8FWWBAABMrklEQVR4Xj3418q2ybJsCZrrkI9Wr/7En5lzrrWrqu//6pqkmobAMYIRRzZOPDCNnEupuiLjWe0jxxKptlBsS92PuZeGIja/kS/DfIIMUm/CjeqMvoytHR2YaWKZSZHwVcbT8JBJWJZTJpserYVDKoh1ybRsV4wyb2OMJ3wSPA+TTMDQWlHh71xJEuZRpo1qUF5n0D4aFIROAfz0W+Kn3dswgLfs6clpN5PE8PvNuvAdbLB7NidntfS13ck4uj+YqzH1rj4Ec+OOzYI5/AerF9+ybRgs3CpbWIdvu63ZDcnAw+R8Dj4PfP43gR2+xZr2dB/diR2cRudq25KcmI/UT7a43zW5gMJoOrDYG/Ofmk7RQtzG7+9gioh2tvLMmiJm0bTkOWhDm6epV5SMIcuxVJOHorxRgjDMiP/UVPJ3zBvVmMtA7YycalB9plwwCaNdKjaBvsiRRRpjHkGM+ueUXvMR1QXyuPFxL0A6cEx3n3P9a+RYKqQ+T7FJKY4EiEQa6VbBKvgVz1pK
@luk1337
luk1337 / script.py
Last active July 31, 2016 14:39
god this is awful: Bandcamp thief
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import urllib.request, re, os, sys, lxml.html, requests, mutagen, wgetter
from dateutil.parser import parse
from mutagen.mp3 import MP3
from mutagen.id3 import ID3, APIC, TPE1, TALB, TIT2, TCON, TYER, TRCK, error
if len(sys.argv) is not 3:
print("Usage: python script.py [bandcamp link] [genre]")
exit()