- Join to Azure (Microsoft Live account and credit card needed) - Azure has 30 day free trial
- Create Virtual Machine with Windows Server 2008 R2
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/sh | |
rm -rf $HOME/Library/Preferences/WebIde* | |
rm -rf $HOME/Library/Preferences/WebStorm* | |
rm -rf $HOME/Library/Caches/WebIde* | |
rm -rf $HOME/Library/Caches/WebStorm* | |
rm -rf $HOME/Library/Application\ Support/WebIde* | |
rm -rf $HOME/Library/Application\ Support/WebStorm* | |
rm -rf $HOME/Library/Logs/WebIde* | |
rm -rf $HOME/Library/Logs/WebStorm* |
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
<!-- Dependencies --> | |
<script src="http://codeorigin.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/ICanHaz.js/0.10/ICanHaz.min.js" type="text/javascript"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.4.0/moment.min.js" type="text/javascript"></script> | |
<!-- Small styling for blogger.com --> | |
<style> | |
.delicious-widget { | |
width: 246px; |
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
/* | |
!.gitignore | |
!favicon.ico | |
!favicon.png | |
!robots.txt | |
!humans.txt | |
!wp-content/ | |
wp-content/* | |
!wp-content/plugins/ |
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
git rm --cached <file> | |
git add . # or git add <file> |
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/bash | |
# Pre-commit hook to make a mysql dump right before committing and add it to the commit. | |
# | |
## Change the following values to suit your local setup. | |
# The name of a database user with read access to the database. | |
DBUSER=root | |
# The password associated with the above user. Leave commented if none. | |
#DBPASS=password | |
# The database associated with this repository. | |
DBNAME=site1 |
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
http://cbednarski.com/articles/veewee/ | |
$ cd veewee | |
$ veewee vbox define awesome-ubuntu-server ubuntu-14.04-server-amd64 | |
$ veewee vbox build awesome-ubuntu-server -n | |
$ veewee vbox export awesome-ubuntu-server | |
$ vagrant box add 'awesome-ubuntu-server' '/path/to/awesome-ubuntu-server.box' |
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
config.vm.provision :shell, :inline => "echo \"Europe/Copenhagen\" | sudo tee /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata" |
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
## TYPO3 v4 | |
# Ignore serveral upload and file directories. | |
/fileadmin/user_upload/ | |
/fileadmin/_temp_/ | |
/uploads/ | |
# Alternative Ignore all fileadmin and enable only a few | |
# /fileadmin | |
# !/fileadmin/res |
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
vagrant up | |
vagrant ssh | |
cd /vagrant | |
mkdir myproj | |
cd myproj | |
npm install generator-angular | |
yo angular | |
sed -i 's/localhost/0.0.0.0/' Gruntfile.js | |
grunt serve |
OlderNewer