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
$scope.events = [{ | |
title: 'Scenic KZN - Garden Route', | |
anothetInfo : 'Something', | |
type: 'important', | |
bookingMaker : 'Camila Levin', | |
bookingMakerComp : '80Days', | |
/*startsAt: '2015-04-22T12:30:00.000Z',*/ | |
startsAt: '2015-04-22T11:33:33.000Z', | |
endsAt: '2015-04-22T13:33:33.000Z', | |
editable: true, |
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 | |
# https://gist.github.com/acedesigns/484dfe5345f67ff8d6dd | |
# Read more about directories in bash scriptitng | |
# http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html | |
# PURPOSE :: To try and automate the git commands. | |
# We will change to our project folder and then check for changes to any file | |
# within the folder structure. |
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
{ | |
"directory": "app/vendor" | |
} |
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
// Load plugins | |
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
imagemin = require('gulp-imagemin'), | |
rename = require('gulp-rename'), | |
clean = require('gulp-clean'), |
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 | |
/* | |
Shout Out to : | |
http://stackoverflow.com/questions/27896131 | |
http://webexplorar.com/wordpress-create-custom-post-types-with-tags-and-categories | |
*/ | |
add_action ('init', 'register_custom_post_type_event'); | |
function register_custom_post_type_event() { | |
$labels = array( |
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
/* ======================================================= | |
* Custom Filters | |
* ======================================================= | |
*/ | |
(function() { | |
'use strict'; | |
angular.module('app') | |
.filter('parag', function () { |
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
# install openjdk | |
sudo apt-get install openjdk-7-jdk | |
# download android sdk | |
wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
tar -xvf android-sdk_r24.2-linux.tgz | |
cd android-sdk-linux/tools | |
# install all sdk packages |
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
# This is not an executable file but commands to run on the terminal | |
# In a somewhat order | |
`sudo add-apt-repository ppa:ondrej/php` | |
`sudo apt-get update` | |
`sudo apt-get install php-mbstring php7.0-mbstring php-gettext libapache2-mod-php7.0` | |
`sudo apt-get install php7.0-xml` |
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/sh | |
echo "Hello world" | |
# Remove node that was installed via Homebrew | |
# https://stackoverflow.com/a/11178106 | |
# install Node via NVM | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash | |
# https://www.versioneye.com/nodejs/cordova/6.5.0 |
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 | |
// sudo apt-get install php7.0-gd | |
// sudo apt-get install php-curl php-xml php-gettext php-cgi php-mysql libcurl3 libcurl3-dev php-mbstring php7.0-mbstring php-gettext -y | |
// apt-get install php7.0 php-curl libapache2-mod-php7.0 libcurl3 libcurl3-dev php7.0-mysql php7.0-xml php7.0-gd php7.0-zip php7.0-mcrypt php7.0-mbstring php7.0-cli php7.0-common | |
// https://askubuntu.com/a/640900/625311 |
OlderNewer