Xuebing Du
RMH
Keni
"I'm Dorothy Gale from Kansas"

blake kathryn
The Stonewall Inn
trying on a metaphor
Noah Kahan
cherry valley forever
he wasn't even looking at me and he found me
h
YOU ARE THE REASON

if i look back, i am lost

pixel skylines
d e v o n
TVSTRANGERTHINGS
Mike Driver

Origami Around
I'd rather be in outer space 🛸

seen from Brazil
seen from United States
seen from United States
seen from Bangladesh
seen from United States
seen from Brazil

seen from Brazil
seen from United States
seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from United States

seen from United States

seen from United States
seen from United States

seen from Nepal

seen from United States

seen from Honduras
@jieyiwu

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Get WebView Button Event
First, you have to program some code in server side(JavaScript). 1. Click a url link.
HTML or JavaScript:
<a class="yourButton" href="denied:inapp://capture">Button Text</a>
iOS Swift:
func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -> Bool { if request.URL?.absoluteString == "inapp://capture" { // what do you want to do. } // or you can do as like this if request.URL?.scheme == "inapp" { if request.URL?.host == "capture" { // what do you want to do. } return false } return true }
Then, you can program what you want to do there!
2. Click a button.
HTML or JavaScript:
<button class="nothing" id="button" type="button">Click Me!</button> <script> document.getElementById('button').onclick = function () { window.location.href = "iosApp://testClick"; }; </script>
iOS Swift:
func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -> Bool { if request.URL?.absoluteString == "iosapp://click" { // what do you want to do. } // or you can do as like this if request.URL?.scheme == "iosapp" { if request.URL?.host == "click" { // what do you want to do. } return false } return true }
Acutually, the same way to implement in iOS swift and HTML server side. When the button click a event, you just send a url. Then iOS side swift will catch it by a request.
Enjoy it! :)
Http Transport Security Problem
Objective-c & Swift http transport security
First time I used a WebView for showing a web site. After I finished a simple iOS application and run it. Nothing was showed on the WebView!! It's just a white default view, just NOTHING.
Python encoder & decoder json
Each of time I want to use json method, I searched again and again the same webside. :( So I think I had better to write down it into my blog. I think some people want to find something as me, I hope this help them. :))) I will introduce two ways for decode the json data to object.
Android Logcat Filter
Here is a little tips for removing from LogCat tags you don't want to see.
Before I thought I could keep tags what I want but I couldn't find a good way to solve it until now.
All what you need is to click in top right corner of LogCat, select your package name and click Edit Filter Configuration.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Android decompiler Jar
Learning how to program android application, sometimes you could see the other programmers how to develop the cool animations and layouts.
As a developer, you wanna know how to do it. So you can use a tool to decompile an apk file for checking the original apk resource.
Now I wrote some steps you can decompile the apk file. BUT this post is not teaching you how to crack the other programmer's application, the propose is LEARNING.
Java decompilers online: *JAD, *JDCore, *Procyon, *Fernflower, *CFR. ✓ A user interface to extract source code from .class and .jar ‘binary’ files.
What an exciting!
Awesome! We can decompiler by ourselves.
Python - List to Dict
If you wanna change 'list' to 'dict', it's a conveient way here.
import collections arr = ['a', 'b', 'c', 'd', 'e'] dic = collections.defaultdict.fromkeys(arr, None) result>>> {'b': None, 'e': None, 'a': None, 'c': None, 'd': None}
In this post “Top 10 coding problems of important topics with their solutions ” are written. If you are preparing for a coding interview, going through these problems is a must. Topics : 1. Graph Theory 2. Linked List 3. Dynamic Programming 4. Sorting And Searching 5. Tree / Binary Search Tree 6. Number Theory 7.… Read More »
Most of the algorithms you must have learned it.
You will face the basic and the easiest algorithms in an interview.
In this post “Important algorithms used in competitive coding “. Topics : Graph algorithms Dynamic programming Searching and Sorting: Number theory and Other Mathematical Geometrical and Network Flow Algorithms Data Structures The below links will cover all most important algorithms and data structure topics: Graph Algorithms Breadth First Search (BFS) Depth First Search (DFS) Shortest… Read More »
The most of important ds and algorithm.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Android Studio import native library
This is my first time to do import some .so file to AS. I spent a lot of time and searched by websites.
You have many options to import .so file. I just did two ways for importing it.
Using JniLibs file
Data Structure & Sorting & Graph Complexity
This is awesome! Someone did it for us.
.Net 6 new function
nameof
.NET 6 is added a new function "nameof". This functuin is for get the variable name. For example is below
string firstName = "Josphe"; string varName = nameof(firstname); // The variable is: "firstName"