As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
String details = "VERSION.RELEASE : "+Build.VERSION.RELEASE | |
+"\nVERSION.INCREMENTAL : "+Build.VERSION.INCREMENTAL | |
+"\nVERSION.SDK.NUMBER : "+Build.VERSION.SDK_INT | |
+"\nBOARD : "+Build.BOARD | |
+"\nBOOTLOADER : "+Build.BOOTLOADER | |
+"\nBRAND : "+Build.BRAND | |
+"\nCPU_ABI : "+Build.CPU_ABI | |
+"\nCPU_ABI2 : "+Build.CPU_ABI2 | |
+"\nDISPLAY : "+Build.DISPLAY | |
+"\nFINGERPRINT : "+Build.FINGERPRINT |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_comments); | |
String htmlComments = getHtmlComment("yourId", "yourShortName"); | |
webDisqus = (WebView) findViewById(R.id.disqus); | |
// set up disqus | |
WebSettings webSettings2 = webDisqus.getSettings(); |
#!flask/bin/python | |
from flask import Flask, jsonify, abort, request, make_response, url_for | |
from flask_httpauth import HTTPBasicAuth | |
app = Flask(__name__, static_url_path = "") | |
auth = HTTPBasicAuth() | |
@auth.get_password | |
def get_password(username): | |
if username == 'miguel': |
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
url 'https://oss.sonatype.org/content/repositories/snapshots/' | |
} | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.9.+' | |
classpath 'com.squareup.gradle:gradle-android-test-plugin:0.9.1-SNAPSHOT' |
import android.annotation.TargetApi; | |
import android.content.Context; | |
import android.content.res.ColorStateList; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.os.Build; | |
import android.text.Editable; | |
import android.util.AttributeSet; | |
import android.util.TypedValue; |
name,rank,year,count,gender,percent | |
ANDREA,1,1999,10336,m,3.914617704 | |
FRANCESCO,2,1999,9494,m,3.595721796 | |
ALESSANDRO,3,1999,9000,m,3.408626096 | |
MATTEO,4,1999,8703,m,3.296141435 | |
LUCA,5,1999,7799,m,2.953763881 | |
LORENZO,6,1999,7499,m,2.840143011 | |
MARCO,7,1999,7002,m,2.651911103 | |
DAVIDE,8,1999,6418,m,2.430729143 | |
SIMONE,9,1999,6379,m,2.41595843 |
/* | |
* Copyright (C) 2016 Jeff Gilfelt. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
#!/bin/bash | |
while getopts y: flag | |
do | |
case "${flag}" in | |
y) size=${OPTARG};; | |
esac | |
done | |
DEVICES=`adb devices | grep -v devices | grep device | cut -f 1` |