I no longer mantain this list. There are lots of other very comprehensive JavaScript link lists out there. Please see those, instead (Google "awesome JavaScript" for a start).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
# or... | |
sudo killall coreaudiod |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
padding:100px; | |
} | |
.top { | |
position:absolute; | |
top:0; | |
left:0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* plugin.js | |
* | |
* Copyright, Moxiecode Systems AB | |
* Released under LGPL License. | |
* | |
* License: http://www.tinymce.com/license | |
* Contributing: http://www.tinymce.com/contributing | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat ~/.ssh/id_rsa.pub | ssh [email protected] "cat >> ~/.ssh/authorized_keys" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// XL screen | |
@screen-xl: 1600px; | |
@screen-xl-min: @screen-xl; | |
@screen-xl-hughdesktop: @screen-xl-min; | |
// So media queries don't overlap when required, provide a maximum | |
@screen-lg-max: (@screen-xl-min - 1); | |
//Container sizes | |
// Large screen / wide desktop |
- Install PHP-CS-Fixer on your local machine according to these instructions: https://github.com/FriendsOfPHP/PHP-CS-Fixer
- Open PHPStorm, Preferences > Tools > External Tools and enter these values:
- Program, edit to match your path where PHP-CS-Fixer lives:
/.composer/vendor/friendsofphp/php-cs-fixer/php-cs-fixer
- Parameters:
--rules=@PSR2 --verbose fix $FileDir$/$FileName$
. Note that previous verions of PHP-CS-Fixer used--levels
instead of--rules
. - Working directory:
$ProjectFileDir$
Click OK and Apply. Now we'll set up a shortcut.
- Go to Preferences > Keymap and search for "PHP Fixer" (or whatever name you gave it). Add whatever shortcut you like, I'm using
ctrl + cmd + ]
:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Event Tickets Plus - Add other WooCommerce Product to Cart when WooCommerce Ticket is added to cart | |
* | |
* @link https://wordpress.org/plugins/woocommerce-product-dependencies/ May be a better and easier solution !!! !!! !!! (But I haven't tried it.) | |
* | |
* !!! Before using, edit the variables in this function according to your needs!!! | |
* Could maybe also do the inverse (if ticket product is removed from cart, also remove the chained product). | |
* | |
* From https://gist.github.com/cliffordp/30481ca323012e298418095476d49337 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Save Work ID | |
* | |
* Save work ID on the fly when adding new post. | |
* | |
* @param string $post_id Post ID. | |
* | |
* @return array $_POST Post Data. |
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
OlderNewer