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
| <!-- MixPanel Link click tracking - track clicks for all links --> | |
| <script type="text/javascript">// <![CDATA[ | |
| mixpanel.track_links("a", "Link Click", { | |
| "referrer": document.referrer | |
| }); | |
| // ]]> | |
| </script> | |
| <!-- MixPanel Pageview tracking --> | |
| <?php if( is_page()) { // Sets page type to Page for all pages ?> |
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 | |
| $loop = new WP_Query( array( | |
| 'post_type' => 'Property', | |
| 'posts_per_page' => -1 | |
| ) | |
| ); | |
| ?> | |
| <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
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
| // http://support.advancedcustomfields.com/forums/topic/change-menu-position-of-options-page/ | |
| acf_add_options_page( array( | |
| 'page_title' => 'Home Page Sliders', | |
| 'menu_title' => 'Sliders', | |
| 'menu_slug' => 'home-page-sliders', | |
| 'capability' => 'edit_posts', | |
| 'icon_url' => 'dashicons-images-alt2', | |
| 'position' => 7 |
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
| # OSX for Hackers (Mavericks/Yosemite) | |
| # | |
| # Source: https://gist.github.com/brandonb927/3195465 | |
| #!/bin/sh | |
| # Some things taken from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Ask for the administrator password upfront |
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
| ## This file should be present in the same directory as the EFISTUB kernel and initramfs files | |
| ## More info at http://www.rodsbooks.com/refind/linux.html , http://www.rodsbooks.com/efi-bootloaders/efistub.html | |
| "Boot with defaults" "root=PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx rootfstype=btrfs rw quiet splash systemd.unit=graphical.target radeon.modeset=1 radeon.audio=1 radeon.dpm=1 acpi_backlight=vendor console=tty0" | |
| "Boot with nosplash" "root=PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx rootfstype=btrfs rw quiet systemd.unit=graphical.target radeon.modeset=1 radeon.audio=1 radeon.dpm=1 acpi_backlight=vendor console=tty0" | |
| "Boot with message" "root=PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx rootfstype=btrfs rw systemd.unit=graphical.target radeon.modeset=1 radeon.audio=1 radeon.dpm=1 acpi_backlight=vendor console=tty0" | |
| "Boot to terminal" "root=PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx rootfstype=btrfs rw systemd.unit=multi-user.target radeon.modeset=1 radeon.audio=1 radeon.dpm=1 ac |
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
| <script type="text/javascript"> | |
| (function () { | |
| "use strict"; | |
| // once cached, the css file is stored on the client forever unless | |
| // the URL below is changed. Any change will invalidate the cache | |
| var css_href = './index_files/web-fonts.css'; | |
| // a simple event handler wrapper | |
| function on(el, ev, callback) { | |
| if (el.addEventListener) { | |
| el.addEventListener(ev, callback, false); |