This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
| /* | |
| * object.watch polyfill | |
| * | |
| * 2012-04-03 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ |
| /* | |
| Read more here: | |
| https://developer.mozilla.org/en/CSS/@-moz-document | |
| For more browser-specific hacks: | |
| http://paulirish.com/2009/browser-specific-css-hacks | |
| */ | |
| @-moz-document url-prefix() { | |
| /* Put your Firefox specific code here. */ |
-moz-appearance to none. This will "reset" the styling of the element;text-indent to 0.01px. This will "push" the text a tiny bit[1] to the right;| <?php | |
| add_filter( 'widget_title', 'your_html_widget_title' ); | |
| /** | |
| * html_widget_title function. | |
| * | |
| * @access public | |
| * @param mixed $title | |
| * @return void |
What to do when you have sub elements that have sub elements? How to name them?
Always namespace to the module name + __ + the sub element no matter what?
<section class="foo">
<!-- Regular sub element -->
<div class="foo__chart">
I'm a chartIn the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So ⌘ + D does not mean hold shift. ⌘ + Shift + D does of course.
| Function | Shortcut |
|---|---|
| New Tab | ⌘ + T |
| Close Tab or Window | ⌘ + W (same as many mac apps) |
| Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
| Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
| <script type="text/javascript"> | |
| var baseurl = '<?php echo get_bloginfo("url"); ?>'; | |
| var tplurl = '<?php echo get_bloginfo("template_directory"); ?>'; | |
| </script> |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |