This gist is to remind me (and anyone else who it helps) how to quickly disable and re-enable Notification Center.
- Open your terminal (<⌘ + ␣ (spacebar)>, then type "terminal", then press <↩ (enter)>).
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| <!DOCTYPE html> | |
| <head> | |
| {# Base #} | |
| {% includeCssFile 'layouts/base/css/base.css' %} | |
| {% includeJsFile 'layouts/base/js/base.js' %} | |
| {# Header #} | |
| {% includeCssFile 'modules/header/css/header.css' %} | |
| {% includeJsFile 'modules/header/js/header.js' %} |
| /* | |
| Dispatcher module | |
| by: wangyu (bigeyex@gmail.com) | |
| dispatch global event | |
| usage: | |
| - fire an event: | |
| dispatcher.dispatch('example.event.name', arg1, arg2...) | |
| - subscribe an event: | |
| dispatcher.subscribe('example.event.name', function(arg1, arg2...){}); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8" /> | |
| <script src="templating.js" type="text/javascript" charset="utf-8"></script> | |
| </head> | |
| <body> | |
| <template id=t> |
This is no longer needed as Emmet supports JSX - you just need to turn it all on. Did a quick tutorial: http://wesbos.com/emmet-react-jsx-sublime/
Thanks, @wesbos
The Modern.ie Virtual Machine Images – VMs used for testing several versions of IE – are now also available as vagrant boxes. Here’s the list:
Web Audio API spec is a great way of professional audio playing and mixing in the modern browser. However, it's too complex and versatile for some simple one-off tasks such as "load an audio sample into memory and just play it when necessary". That's why Samples.js has come true. It's a really simple and tiny (less than 1K minified) library that exposes just 5 methods to manipulate your samples from JS code in a really easy and fun way.
The library exposes the following calls:
| <?php | |
| namespace Craft; | |
| class EntryTypeSourcesPlugin extends BasePlugin | |
| { | |
| public function getName() | |
| { | |
| return Craft::t('Entry Type Sources'); | |
| } |
| -- rotoscale! | |
| -- by eiyeron | |
| -- 07/04/2015 | |
| -- a good old demo effect! :3 | |
| -- retroactive.me/retro-actif | |
| -- thanks zep for everything!:) | |
| -- for pico-8, the code and | |
| -- voxatron! | |
| -- iirc local vars are faster | |
| local t, angle, scale = 0, 0, 1 |