- Install XCode from App Store.
- Open XCode and agree to terms and conditions.
xcode-select --install
| <?php | |
| /** | |
| * Magento | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Academic Free License (AFL 3.0) | |
| * that is bundled with this package in the file LICENSE_AFL.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/afl-3.0.php |
| # 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 |
| # Write a /etc/sudoers on OS X for vagrant 1.7.3 and above with these entries: | |
| Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/tee -a /etc/exports | |
| Cmnd_Alias VAGRANT_NFSD = /sbin/nfsd restart | |
| Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /usr/bin/sed -E -e /*/ d -ibak /etc/exports | |
| %admin ALL=(root) NOPASSWD: VAGRANT_EXPORTS_ADD, VAGRANT_NFSD, VAGRANT_EXPORTS_REMOVE |
| function hide_update_notice_to_all_but_admin_users() | |
| { | |
| if (!current_user_can('update_core')) { | |
| remove_action( 'admin_notices', 'update_nag', 3 ); | |
| } | |
| } | |
| add_action( 'admin_head', 'hide_update_notice_to_all_but_admin_users', 1 ); |
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.
| function change_post_label() { | |
| global $menu; | |
| global $submenu; | |
| $menu[5][0] = 'Blog'; | |
| $submenu['edit.php'][5][0] = 'Blog'; | |
| $submenu['edit.php'][10][0] = 'Adicionar publicação'; | |
| $submenu['edit.php'][16][0] = 'Blog Tags'; | |
| echo ''; |
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 14, | |
| // font family with optional fallbacks | |
| fontFamily: 'Source Code Pro', | |
| // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
| cursorColor: 'rgba(248,28,229,0.8)', |
| if ( !function_exists( 'populate_roles' ) ) { | |
| require_once( ABSPATH . 'wp-admin/includes/schema.php' ); | |
| } | |
| populate_roles(); |