- Termination status of the last executed program available via a shell variable named $?
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
# I just installed SanDisk 6Gig/s SSD in my Sony VAIO Laptop today. | |
# I also installed Xubuntu 13.04 on it as well. I have been | |
# using Ubuntu from almost a year now. I was actually kind of | |
# getting tired of Ubuntu, it was causing a lot of issues. And yes I | |
# am well aware of the fact that Xubuntu is technically Ubuntu. | |
# Anyways that's not why I am writing this gist. I am just creating | |
# this gist so I can have a reference to my bash aliases file | |
# and so that other's can use it as an example as well. |
##Create public keys
- Generate a public key
ssh-keygen -t dsa
- Now put public key to your remote server
scp .ssh/id_dsa.pub [email protected]:
- Install public key on remote server
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
set wrapmargin=8 | |
set ruler | |
set number | |
" ts = tabstop, sw = shiftwidth, sts = softtabstop | |
set ts=4 sw=4 sts=2 | |
" expandtab: appropriate number of spaces in insert mode | |
set expandtab | |
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
package com.example.yourapp; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import com.example.yourapp.AuthenticationModel; | |
import retrofit.client.Header; | |
import retrofit.client.OkClient; |
Why Should I Care (For Developers)
"Docker interests me because it allows simple environment isolation and repeatability. I can create a run-time environment once, package it up, then run it again on any other machine. Furthermore, everything that runs in that environment is isolated from the underlying host (much like a virtual machine). And best of all, everything is fast and simple."
- To list dependencies:
gradlew -q dependencies
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 | |
# Author: Tobias Preuss | |
# Version: 2014-08-01 | |
echo "Creating symbolic links in Android SDK folder" | |
echo "=============================================" | |
echo | |
if [ -z "$ANDROID_HOME" ] ; then |
OlderNewer