Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
ID,Handle,Name,Description,Date Created,Location,Followers,Friends,Favourites,Statuses | |
1077155927084748800,tamershimon,Tamar shimon,"בכל דבר יש יופי😍, אבל לא כל אחד יכול לראות זאת 🤗",2018-12-24 10:56:00,Israel,33,168,57,76 | |
1077156685918158853,anatvladimir2,Anat vladimir,"הפסימי מתלונן על הרוח, האופטימי מצפה שהיא תשתנה, החכם מכוון את המפרש בהתאם 😎👌",2018-12-24 10:59:01,Israel,13,102,8,68 | |
1077157300140429313,livnatavner3,livnat Avner,חינוך הוא הנשק החזק ביותר שניתן להשתמש בו כדי לשנות את העולם😂 נכון,2018-12-24 11:01:27,ישראל,15,64,42,74 | |
1077196238867623937,sarahmoti2,Sarah Moti,"חיה כאילו זה יומך האחרון, למד כאילו תחיה לנצח😉🙇",2018-12-24 13:36:11,Israel,64,68,17,78 | |
1077196845888225280,gilacohen4,Gila Cohen,You know you’re in love when you can’t fall asleep because reality is finally better than your dreams.❤❤👏,2018-12-24 13:38:36,,12,98,16,71 | |
1077199688019988486,emiliegalil,Emilie Galil,"If I had a flower for every time I thought of you, I could walk in my garden forever 🌲⚘🌷🌸💐🌼🌻🌺🌹",2018-12-24 13:49:53,Israe |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
snippet template "Basic template" b | |
\documentclass[a4paper]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{textcomp} | |
\usepackage[dutch]{babel} | |
\usepackage{amsmath, amssymb} | |
\begin{document} |
package br.com.criativasoft.eduaccess.util; | |
import android.util.Log; | |
import java.io.BufferedReader; | |
import java.io.ByteArrayOutputStream; | |
import java.io.Closeable; | |
import java.io.DataOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; |
#Enable daemon | |
org.gradle.daemon=true | |
# Try and findout the best heap size for your project build. | |
org.gradle.jvmargs=-Xmx3096m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | |
# Modularise your project and enable parallel build | |
org.gradle.parallel=true | |
# Enable configure on demand. |
In Users/hugomatilla.bash_profile
add
export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools
export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/tools
cd /Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools
//Add before making a phone call | |
if (ActivityCompat.checkSelfPermission( | |
MainActivity.this, Manifest.permission.CALL_PHONE) | |
!= PackageManager.PERMISSION_GRANTED) { | |
if (ActivityCompat.shouldShowRequestPermissionRationale(MainActivity.this, | |
Manifest.permission.CALL_PHONE)) { | |
Toast.makeText(MainActivity.this, "I know you said no, but I'm asking again", Toast.LENGTH_SHORT).show(); | |
} | |
ActivityCompat.requestPermissions(MainActivity.this, | |
new String[]{Manifest.permission.CALL_PHONE}, |
import android.util.Log; | |
import java.text.MessageFormat; | |
/* | |
* Copyright 2015 Dor Sakal | |
* | |
* 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 |
gistp() { | |
if [ -z "$1" ] ; then | |
echo "Must supply filename for new gist" | |
exit(1) | |
else | |
gisturl=$(pbpaste | gist -f $1) | |
echo "Copying $gisturl to clipboard" | |
echo "$gisturl" | pbcopy | |
fi | |
} |
This test rule is now in the 'test-rules' support repository. Use that one!
https://developer.android.com/reference/android/support/test/rule/ActivityTestRule.html