Set up an HMAC-SHA1 header with the attached script as the input, and your Twilio secret as the key like this:
The script will calculate a correct signature for any request you throw at it.
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 |
I hereby claim:
To claim this, I am signing this object:
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.
<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:[email protected]?subject=Found+a+dead+link&body=Hey%2C+this+link+is+dead%3A+"> | |
Email link | |
</a> |
/* | |
* 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)); |