start new:
tmux
start new with session name:
tmux new -s myname
| require 'net/https' | |
| require 'json' | |
| #-------------------------------------------------------------------------------- | |
| # Configuration | |
| #-------------------------------------------------------------------------------- | |
| configuration = { | |
| :uri => 'https://fabric.io', | |
| :credentials => { | |
| :username => '', |
| public byte[] getBitmapFromLayout(FrameLayout frameLayout){ | |
| frameLayout.destroyDrawingCache(); | |
| frameLayout.setDrawingCacheEnabled(true); | |
| frameLayout.buildDrawingCache(); | |
| Bitmap bitmap = frameLayout.getDrawingCache(); | |
| ByteArrayOutputStream stream = new ByteArrayOutputStream(); | |
| bitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream); | |
| byte[] data = stream.toByteArray(); | |
| return data; |
| Bundle bundle = new Bundle(); | |
| bundle.putString("fields", "picture.type(large),quotes,email,first_name,last_name,username"); | |
| final Request request = new Request(ParseFacebookUtils.getSession(), | |
| "me", bundle, HttpMethod.GET, new Request.Callback() { | |
| @Override | |
| public void onCompleted(Response response) { | |
| GraphObject graphObject = response.getGraphObject(); | |
| if (graphObject != null) { | |
| lib-cov | |
| *.seed | |
| *.log | |
| *.csv | |
| *.dat | |
| *.out | |
| *.pid | |
| *.gz | |
| pids |
git init
git add .
git commit -m "Why?"