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
nameserver 127.0.0.1 |
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 LocalValetDriver extends WordpressValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri |
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
HOST_DB_PORT=33060 |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/stefan.horner/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="pygmalion" |
- Open System Preferences
- Go to the Network tab
- Delete all of your network interfaces from the list
- delete the file at:
/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
- restart your computer
- Go to System preferneces -> Network
- Re-add your network interfaces
- Restart your computer? (may not be neccessary, but it is fun)
From http://www.tonymacx86.com/el-capitan-desktop-support/173653-el-cap-app-store-failing-login.html
Steps to fix for my issue:
- delete all interfaces in the Network Pane of the Control Panel
- delete Networkinterfaces.plist from /Library/preferences/systemconfiguration
- restart
- add Ethernet interface in the Network control panel pane
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
#! /usr/bin/env bash | |
if [[ ! -d /etc/elasticsearch ]]; then | |
ARC_ELASTICSEARCH_INSTALL_VERSION=1.6.0 | |
sudo apt-get update -y | |
sudo apt-get install openjdk-7-jre -y | |
echo "Installing elasticsearch - version ${ARC_ELASTICSEARCH_INSTALL_VERSION}" | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${ARC_ELASTICSEARCH_INSTALL_VERSION}.deb | |
sudo dpkg -i elasticsearch-${ARC_ELASTICSEARCH_INSTALL_VERSION}.deb |
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
## Copy (OSX only) | |
Pipe anything to `pbcopy` to copy it to the clipboard: `cat ~/.ssh/id_rsa.pub | pbcopy` | |
## The last argument | |
To insert the last argument of the previous command wherever the cursor currently is, press `alt+.` (or, on a mac, `esc+.`) | |
## File expansions |
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 update -y | |
sudo apt-get install openjdk-7-jre -y | |
wget -O elasticsearch.tar.gz https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.0.tar.gz | |
tar -xzvf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz |
NewerOlder