- Requires CSS
- Styles isolated into a single CSS classname
- Only need to remove the class with one event listener
const BATMAN_CLASS = 'batman';
export default function batmanBounce() {
const { body } = document;
const reset = function() {
#!/bin/bash | |
# For setting default browser and apps for file types. | |
# Run with `sudo ./defaultApps | |
# Notes: | |
# - Requires `duti` to be installed: `brew install duti` | |
# - To find app IDs, run: `osascript -e 'id of app "<AppName>"'` | |
# - To get currently set app ID for a file: `mdls -name kMDItemContentType <file.ext>` | |
# - Make sure file is executable: `chmod +x defaultApps.sh` |
[ | |
{ | |
"title": "12 Angry Men", | |
"start": "2023-04-01", | |
"end": "2023-07-01" | |
}, | |
{ | |
"title": "The Hurt Locker", | |
"start": "2023-07-29", | |
"end": "2023-08-01" |
{ | |
"workbench.iconTheme": "vscode-icons", | |
"window.zoomLevel": 0, | |
"editor.tabSize": 2, | |
"editor.wordWrap": "on", | |
"editor.fontSize": 14, | |
"editor.renderWhitespace": "all", | |
"files.autoSave": "onFocusChange", | |
"files.insertFinalNewline": true, | |
"workbench.colorCustomizations":{ |
window.mghf = 1; |
What is Redux?
A single state tree so React components can "talk" to each other. For example we click an "add to cart" button and want to +1 to the number in the header for cart items. The flow for changes in the tree go like so:
Components listening to click -> onclick redux action dispatches event -> reducer see's dispatch and if it corresponds to that event it will update state -> Components get new state passed down via props
^ If you're a react noob and it doesn't make much sense. Don't trip too hard because we're not talking about how redux works as much as immutablility.
What does immutable mean?
For these hacks the iPhone must be jailbroken. But there currently is a jailbreak available for iOS 8.4 and some below. 4 digit pins can be bruteforced unless there is a attempt limit. Even with the limit it can still be hacked but you would need to break the phone open to rig the power to cut before the attempt is registered. Example here.
For all of these you need:
###1) Dump the iOS Keychain
The user bigpapa logs in then wants to store a new password.
So they give the BE:
App/Site Name | Passwd |
---|---|
Reddit.com | foobz |
The backend encrypts the password and stores this app/site name with their username with previous sites/apps stored in a db like so:
I pretty much just followed the directions here - http://scottjehl.github.io/picturefill/ In my markup I have something like:
<html>
<head>
<script src="scripts/vendor/picturefill.min.js"></script>
</head>
<body>
""" | |
For reference I'm trying to create a Pelican plugin | |
that will load templates from a python package before | |
loading the regular template path in the repo. | |
https://github.com/getpelican/pelican/blob/807b3bced38bff7b83a2efa2ce8cda9d644ebad3/pelican/generators.py#L61-L70 | |
http://docs.getpelican.com/en/3.5.0/plugins.html#list-of-signals | |
""" | |
class Generator(object): |