Skip to content

Instantly share code, notes, and snippets.

@marioflores
marioflores / tail-command-for-powershell
Created September 10, 2013 14:08
Tail Command for Powershell
Get-Content -Path "C:\scripts\test.txt" -Wait
@marioflores
marioflores / global-gitignore
Created September 11, 2013 12:47
Global Gitignore
View
git config --get core.excludesfile
Set
git config --global core.excludesfile ~/.gitignore_global
@marioflores
marioflores / reload-bashrc
Created September 12, 2013 11:39
Reload bashrc
source ~/.bashrc
@marioflores
marioflores / crontab
Created September 23, 2013 15:21
Cron Management
crontab -e Edit your crontab file, or create one if it doesn’t already exist.
crontab -l Display your crontab file.
crontab -r Remove your crontab file.
crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)
@marioflores
marioflores / maven-commands
Created September 24, 2013 13:48
Maven Commands
Create project from archetype
mvn archetype:generate –DarchetypeCatalog
@marioflores
marioflores / simple-drop-down
Created November 7, 2013 12:48
Simple Angular Drop Down
<!DOCTYPE html>
<html ng-app="">
<head>
<title>Banner Onclick Code</title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.js"></script>
<script>
function bannerCode($scope) {
$scope.programs=[
{name:'Appellate'},