Copy and paste this into a bookmark:
javascript:!function(d){d.head.appendChild(d.createElement("style")).innerText="html,img,video{-webkit-filter:invert(1)hue-rotate(180deg);filter:invert(1)hue-rotate(180deg)}body{background:#000}"}(document);
/* | |
* Calculates the sRGB luma of a colour. | |
* | |
* Math nicked from a great Thoughtbot article by Reda Lemeden: | |
* http://robots.thoughtbot.com/closer-look-color-lightness | |
*/ | |
@function luma($c) { | |
$-local-red: red(rgba($c, 1.0)); | |
$-local-green: green(rgba($c, 1.0)); |
import React from 'react'; | |
import {AppRegistry, LayoutAnimation, StyleSheet, Text, UIManager, View} from 'react-native'; | |
if (UIManager.setLayoutAnimationEnabledExperimental) { | |
UIManager.setLayoutAnimationEnabledExperimental(true); | |
} | |
class LayoutAnimationTest extends React.Component { | |
constructor(props) { | |
super(props); |
import React from 'react'; | |
import {AppRegistry, LayoutAnimation, StyleSheet, Text, UIManager, View} from 'react-native'; | |
if (UIManager.setLayoutAnimationEnabledExperimental) { | |
UIManager.setLayoutAnimationEnabledExperimental(true); | |
} | |
class LayoutAnimationTest extends React.Component { | |
constructor(props) { | |
super(props); |
#!/usr/bin/env python3 | |
# Pull specific files from an unencrypted iOS backup. | |
# | |
# ## Examples | |
# | |
# ./pull_files.py ~/backup ~/all_backup_files.zip | |
# ./pull_files.py -d '%com.example.app%' ~/backup ~/app_files.zip | |
import argparse | |
import pathlib | |
import sqlite3 |
CyanogenMod was discontinued, but I’ll keep this up since you can probably try to flash something else using this. Also Heimdall is still very useful but not much talked about. You should probably use TWRP Recovery instead of ClockworkMod these days.
First install Heimdall using Homebrew Cask. You can also download the .pkg and install it manually. Heimdall includes a kext, so you need to reboot after installation.
I hereby claim:
To claim this, I am signing this object:
<a id="alert-twitter" | |
href="https://twitter.com/intent/tweet?text=%40lnikkila+Hey%2C+this+link+is+dead%3A&url="> | |
Twitter link | |
</a> | |
<a id="alert-email" | |
href="mailto:hello@lnikki.la?subject=Found+a+dead+link&body=Hey%2C+this+link+is+dead%3A+"> | |
Email link | |
</a> |