Skip to content

Instantly share code, notes, and snippets.

View SkullMasher's full-sized avatar

Florian Ledru SkullMasher

View GitHub Profile
/**
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a
@flaki
flaki / FirefoxDevEdition48.js
Last active September 22, 2021 23:38
Go to firefox.com/developer. Paste the script into the console. Profit! 😎
/*
(!) Please make sure you've read the disclamer below! (!)
If you want to see how can you transform the Firefox Developer Edition landing
page into a fancy animation just
- navigate to http://firefox.com/developer *
- open the developer tools (F12)
- copy and paste this code into the console
- hit enter, and enjoy the show!
- you can follow the commentary via the console log
@Azeirah
Azeirah / Default (Linux).sublime-keymap
Last active December 17, 2017 18:50
The settings for my sublime text set-up
[
// Use paste and indent as default paste mechanism,
// this conserves your indentation and it's overall better.
// original paste is now ctrl+shift+v
{
"keys": ["ctrl+v"],
"command": "paste_and_indent"
}, {
"keys": ["ctrl+shift+v"],
"command": "paste"
@maximishchenko
maximishchenko / Linux_backup_and_restore_dovecot_maildir.sh
Last active July 6, 2016 14:35
Linux_backup_and_restore_dovecot_maildir
#!/bin/bash
#for run backup function from this script need run:
# source </path/to/this_script_name>.sh; backup>/dev/null 2>&1
#for run restore function from this script need run:
# source </path/to/this_script_name>.sh; restore>/dev/null 2>&1