I hereby claim:
- I am timkrins on github.
- I am timkrins (https://keybase.io/timkrins) on keybase.
- I have a public key ASAXymmk_41AiHKqsNNUGMBs4R3gY2yddJmMQNOBwabiIgo
To claim this, I am signing this object:
package com.timkrins.templates.ui.custom; | |
import android.content.Context; | |
import android.graphics.Typeface; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.EditText; | |
import uk.co.chrisjenx.calligraphy.CalligraphyConfig; |
package com.timkrins.templates.ui.custom; | |
import android.content.Context; | |
import android.graphics.Typeface; | |
import android.support.annotation.NonNull; | |
import android.support.design.widget.TabLayout; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.TextView; |
def getFacebookHash = { -> | |
try { | |
def stdOut = new ByteArrayOutputStream() | |
def stdIn = new ByteArrayInputStream() | |
exec { | |
commandLine "keytool", "-exportcert", "-alias", KEY_ALIAS, "-keystore", file(STORE_FILE), "-storepass", STORE_PASSWORD | |
standardOutput = stdOut | |
} | |
stdIn = new ByteArrayInputStream(stdOut.toByteArray()) |
import java.util.regex.Pattern | |
def getGoogleMapsHash = { -> | |
def pattern = Pattern.compile("SHA1: ([0-9a-fA-F:]+)") | |
try { | |
def stdOut = new ByteArrayOutputStream() | |
exec { | |
commandLine "keytool", "-list", "-v", "-keystore", file(STORE_FILE), "-storepass", STORE_PASSWORD | |
standardOutput = stdOut | |
} |
[ | |
{ | |
"id":"f271a8a3-88c4-4d93-956a-063e1d2fa80b", | |
"name":"Static IP Address Usage", | |
"unit":"ip", | |
"time_scale":"hours", | |
"notes":"Count of IP addresses used. If you call the usage API with a daily granularity, the meter returns IP address multiplied by the number of hours." | |
}, | |
{ | |
"id":"9e2739ba-8674-4796-b465-f64674b822ba", |
# config/initializers/form_helper.rb | |
# | |
# These helpers can be used inside a Rails form builder. | |
# Pass an 'fields' array as a component prop, with each element of the array being the result of the helper. | |
# The 'blank' helper should be used where the field value should not be returned. | |
# ie. | |
# | |
# props: { fields: [ | |
# f.react_field :first_name, | |
# f.react_field :email, |
# copy jbuilder controllers | |
mkdir -p lib/templates/rails/scaffold_controller && \ | |
cp $(bundle show jbuilder)/lib/generators/rails/templates/* \ | |
lib/templates/rails/scaffold_controller | |
# copy slim files | |
mkdir -p lib/templates/slim/scaffold && \ | |
cp $(bundle show slim-rails)/lib/generators/slim/scaffold/templates/* \ | |
lib/templates/slim/scaffold |
drails() { | |
docker-compose run web rails $* | |
sudo chown -R $USER:$USER . | |
} | |
drake() { | |
docker-compose run web rake $* | |
sudo chown -R $USER:$USER . | |
} |
sudo apt-get install git autoconf libtool pkg-config gcc g++ make libssl-dev libpam0g-dev libjpeg-dev libx11-dev libxfixes-dev libxrandr-dev flex bison libxml2-dev intltool xsltproc xutils-dev python-libxml2 g++ xutils libfuse-dev libmp3lame-dev nasm libpixman-1-dev xserver-xorg-dev | |
wget https://github.com/neutrinolabs/xrdp/releases/download/v0.9.9/xrdp-0.9.9.tar.gz | |
wget https://github.com/neutrinolabs/xorgxrdp/releases/download/v0.2.9/xorgxrdp-0.2.9.tar.gz | |
tar xvfz xrdp-0.9.9.tar.gz | |
tar xvfz xorgxrdp-0.2.9.tar.gz | |
cd xrdp-0.9.9/ | |
./bootstrap |
I hereby claim:
To claim this, I am signing this object: