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 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 | |
class Sizeable_Person | |
{ | |
const POST_TYPE_SLUG = 'szbl-person'; | |
public static $instance; | |
public static function init() | |
{ | |
if ( is_null( self::$instance ) ) |
This file contains 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 | |
/** | |
* Plugin Name: Static Templates | |
* | |
* If most of your site content is in .php template files, and you're tired of | |
* creating new pages, assigning them page templates, creating page templates | |
* then doing it all over again on production, this plugin is for you. | |
* | |
* Examples: | |
* |
This file contains 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
curl -O http://www.scala-lang.org/files/archive/scala-2.10.4.tgz | |
tar xvf scala-2.10.4.tgz | |
curl https://archive.apache.org/dist/kafka/0.8.1/kafka_2.10-0.8.1.tgz -O | |
tar zxvf kafka_2.10-0.8.1.tgz | |
export PATH=$PATH:$HOME/bin:/home/ec2-user/scala-2.10.4/bin:/home/ec2-user/kafka_2.10-0.8.1/bin | |
#Start Zookeeper |
This file contains 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 apt-get install dnsmasq | |
# echo "address=/.dev/127.0.0.1" | sudo tee /etc/dnsmasq.conf | |
# sudo update-rc.d dnsmasq enable | |
# sudo service dnsmasq restart |
This file contains 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
#!/bin/sh | |
wp plugin install be-subpages-widget --activate | |
wp plugin install bulk-creator --activate | |
wp plugin install cookie-notice --activate | |
wp plugin install disable-comments --activate | |
wp plugin install jigsaw --activate | |
wp plugin install jetpack --activate | |
wp plugin install mailchimp --activate | |
wp plugin install mce-table-buttons --activate | |
wp plugin install menu-customizer --activate |
Requires
- aws-cli - https://aws.amazon.com/cli/
- jq - https://stedolan.github.io/jq/
Configure path to your ECS SSH key file ~/.bashrc
echo 'export ECS_PEM_FILE=$HOME/docker.pem' >> ~/.bashrc
This file contains 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
docker-machine create \ | |
--driver=digitalocean \ | |
--digitalocean-access-token=$DO_TOKEN \ | |
--digitalocean-size=512mb \ | |
--digitalocean-region=nyc3 \ | |
--digitalocean-private-networking=true \ | |
--digitalocean-image=ubuntu-15-04-x64 \ | |
docker-swarm-kv-store | |
docker $(docker-machine config docker-swarm-kv-store) run -d \ |
This file contains 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 | |
/** | |
*Reduce the strength requirement on the woocommerce password. | |
* | |
* Strength Settings | |
* 3 = Strong (default) | |
* 2 = Medium | |
* 1 = Weak | |
* 0 = Very Weak / Anything | |
*/ |
OlderNewer