Skip to content

Instantly share code, notes, and snippets.

@burakaydn
burakaydn / crashlytrics.rb
Created March 26, 2017 19:52 — forked from JanDeDobbeleer/crashlytrics.rb
Dashing - Crashlytics & Xaramin Insights crash free users rate widget + jobs
require 'net/https'
require 'json'
#--------------------------------------------------------------------------------
# Configuration
#--------------------------------------------------------------------------------
configuration = {
:uri => 'https://fabric.io',
:credentials => {
:username => '',

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
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
  • Create new repository

git init

  • Add changes to Index

git add .

  • Commit changes

git commit -m "Why?"

  • Repository status