This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset=”utf-8"> | |
<meta http-equiv=”X-UA-Compatible” content=”IE=edge”> | |
<meta name=”viewport” content=”width=device-width, initial-scale=1"> | |
</head> | |
<body style=”background: #111111"> | |
<?php | |
$dir = getcwd() . “/(YOUR_PICS_FOLDER_HERE)”; | |
$files = glob($dir . “/*.{jpg,png}”, GLOB_BRACE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"role": "Android Developer", | |
"email": "jobs@st-f.net", | |
"phone": "07000000000", | |
"link": "http://linkedin.com/in/stephaneschittly", | |
"picture": "https://avatars0.githubusercontent.com/u/225409?s=400&v=4", | |
"jobs": [ | |
{ | |
"title": "Ostmodern", | |
"year": "2019", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set | |
adb shell settings put global http_proxy 10.10.11.195:8888 | |
#unset | |
adb shell settings put global http_proxy :0 | |
requires to restart the app to take effect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage : sh download.sh 100 | |
# will download 100 pics | |
START=1 | |
for i in $(eval echo "{$START..$1}") | |
do | |
curl "http://lorempixel.com/index.php?generator=1&x=640&y=480&cat=" -o temp.html && cat temp.html | sed -n 's/.*<img src="\([^" ]*\)".*/\1/p' | awk '{print "http://lorempixel.com/"$1}' | xargs curl -o $i.jpg | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.stf.threelevelexpandablelistview; | |
import android.annotation.SuppressLint; | |
import android.content.Context; | |
import android.graphics.Canvas; | |
import android.graphics.drawable.Drawable; | |
import android.os.Build; | |
import android.util.AttributeSet; | |
import android.util.SparseArray; | |
import android.view.View; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.stf.threelevelexpandablelistview; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseExpandableListAdapter; | |
import android.widget.ExpandableListView; |
OlderNewer