converts git remote from https to ssh using sed
wget https://bit.ly/https_ssh_manoo -O- | bash- Downlaod
| /** | |
| * This method displays the given price on the screen. | |
| */ | |
| private void displayPrice(int number) { | |
| TextView priceTextView = (TextView) findViewById(R.id.price_text_view); | |
| priceTextView.setText(NumberFormat.getCurrencyInstance().format(number)); | |
| } |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
| #!/bin/bash | |
| # System-wide crontab file and cron job directory. Change these for your system. | |
| CRONTAB='/etc/crontab' | |
| ANACRONTAB='/etc/anacrontab' | |
| CRONDIR='/etc/cron.d' | |
| # Single tab character. Annoyingly necessary. | |
| tab=$(echo -en "\t") |
| import java.awt.Color; | |
| import java.util.ArrayList; | |
| /** | |
| * Java Code to get a color name from rgb/hex value/awt color | |
| * | |
| * The part of looking up a color name from the rgb values is edited from | |
| * https://gist.github.com/nightlark/6482130#file-gistfile1-java (that has some errors) by Ryan Mast (nightlark) | |
| * | |
| * @author Xiaoxiao Li |
| package com.store.ui.widget | |
| import android.content.Context | |
| import android.util.AttributeSet | |
| import android.widget.LinearLayout | |
| class MockPlaceHolder(context: Context, attrs: AttributeSet?): LinearLayout(context, attrs) { | |
| var repeact = 1 | |
| var layoutResource = android.R.layout.activity_list_item |