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
for(var cs = scope.$$childHead; cs; cs = cs.$$nextSibling) { | |
// cs is child scope | |
console.log(cs); | |
} |
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 apt-get install lib32stdc++6 lib32z1 (fouten met aapt tijdens builden van app) | |
# Composer toevoegen aan path | |
export PATH=$PATH:/home/edwin/.composer/vendor/bin | |
# Android stuff | |
export ANDROID_HOME=/home/edwin/android/sdk | |
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform_tools | |
# JAVA |
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
place this in .profile @ ~/ (user's home) | |
if [ -d "$HOME/.composer/vendor/bin" ] ; then | |
PATH="$PATH:$HOME/.composer/vendor/bin" | |
fi | |
of..... onderaan je .profile: | |
export PATH=$PATH:/home/edwin/.composer/vendor/bin | |
(werkt beter @ ubuntu) |
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
public function register() | |
{ | |
if ($this->app->environment() == 'local') { | |
$this->app->register('Laracasts\Generators\GeneratorsServiceProvider'); // for example ;) | |
} | |
} |
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
alias vm="ssh -o StrictHostKeyChecking=no [email protected] -p 2222" |
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
) Clear NPM's cache: | |
sudo npm cache clean -f | |
2) Install a little helper called 'n' | |
sudo npm install -g n | |
3) Install latest stable NodeJS version |
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
cURL error 60: SSL certificate problem: unable to get local issuer certificate | |
If you see this issue then you're likely running Windows. The fix to this is: | |
Download file: curl.haxx.se/ca/cacert.pem | |
Update your `php.ini` to include the following: | |
curl.cainfo = "[path_to_location]\cacert.pem" | |
Restart your web server |
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
First make sure you have Python (https://www.python.org/download/) and pip (http://pip.readthedocs.org/en/latest/installing.html) installed, then install the filesystem observer with: | |
python -m pip install F5NoMore" | |
C:\Python34\python.exe -m f5nomore | |
Now add the F5NoMore extension from the Google Chrome webstore and you're good to go: https://chrome.google.com/webstore/detail/f5nomore/bgkkcdjaonlbjoopncdpdgchdohaieap |
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
alias homestead='function __homestead() { (cd ~/Code/Homestead && vagrant $*); unset -f __homestead; }; __homestead' | |
# Usage | |
homestead up | |
homestead halt | |
# etc... |
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
@%COMSPEC% /K |