- Initialize an empty repository
$git init
- Add files to staging area
$git add filename.ext
- Check changings status
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 | |
exec scala "$0" "$@" | |
!# | |
args.foreach(arg => print(arg+" ")) | |
println("\n") | |
args.foreach(println) | |
println("\n") |
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 | |
usage() { | |
printf "Usage: $0 [-d] [ -p PATH | -t ] [ -o FILENAME ] [ -r RESOLUTION ]\n\n" | |
printf "\t-d to just download the image\n" | |
printf "\t-p to save image on specific path.\n" | |
printf "\t-p to save image in /tmp.\n" | |
printf "\t-o to save image with specific name.\n" | |
printf "\t-r to set custom resoltion for image.\n\n" |
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 branch | grep -v '^*' | xargs git branch -D |
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 | |
git config --global --replace-all core.pager "less -F -X" |
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
mvn install:install-file | |
-Dfile=./lib/RedshiftJDBC41-no-awssdk-1.2.27.1051.jar | |
-DgroupId=com.amazon.redshift \ | |
-DartifactId=jdbc41 | |
-Dversion=1.2.27.1051 | |
-Dpackaging=jar |
I hereby claim:
- I am iamfaizankhalid on github.
- I am iamfaizankhalid (https://keybase.io/iamfaizankhalid) on keybase.
- I have a public key ASBsKzdTeZIy5l1gGQVd5izLE77jfizTAMBj0Pgz-U-4sgo
To claim this, I am signing this object:
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
echo off | |
title Windows Spotlight | |
cls | |
echo This will copy all wallpapers from %userprofile%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets\ to the folder "wallpaper" on the Desktop | |
pause | |
cd %userprofile%\Desktop | |
md wallpaper | |
cd wallpaper | |
rem md %date:/=% | |
rem cd %date:/=% |
OlderNewer