Skip to content

Instantly share code, notes, and snippets.

View hungps's full-sized avatar

Hung Pham Sy hungps

View GitHub Profile
[
{
"name": "Ability Capsule",
"imageurl": "https://img.pokemondb.net/sprites/items/ability-capsule.png",
"category": "Hold items",
"effect": "A capsule that allows a Pokemon with two Abilities to switch between these Abilities when it is used."
},
{
"name": "Ability Urge",
"imageurl": "https://img.pokemondb.net/sprites/items/ability-urge.png",
[
{
"name": "Ability Capsule",
"imageurl": "https://img.pokemondb.net/sprites/items/ability-capsule.png",
"category": "Hold items",
"effect": "A capsule that allows a Pokemon with two Abilities to switch between these Abilities when it is used."
},
{
"name": "Ability Urge",
"imageurl": "https://img.pokemondb.net/sprites/items/ability-urge.png",
[
{
"name": "normal",
"immunes": [
"ghost"
],
"weaknesses": [
"rock",
"steel"
],
[
{
"name": "Bulbasaur",
"id": "#001",
"imageurl": "https://assets.pokemon.com/assets/cms2/img/pokedex/full/001.png",
"xdescription": "Bulbasaur can be seen napping in bright sunlight. There is a seed on its back. By soaking up the sun's rays, the seed grows progressively larger.",
"ydescription": "Bulbasaur can be seen napping in bright sunlight. There is a seed on its back. By soaking up the sun's rays, the seed grows progressively larger.",
"height": "2' 04\"",
"category": "Seed",
"weight": "15.2 lbs",
This file has been truncated, but you can view the full file.
[
{
"id": "001",
"name": "Bulbasaur",
"types": [
"Grass",
"Poison"
],
"genera": "Seed Pokémon",
"image": "https://assets.pokemon.com/assets/cms2/img/pokedex/detail/001.png",
@hungps
hungps / gist:e6e112980e738ca4ab385e57d13df7c8
Created October 5, 2018 03:18
AP FPT Poly Privacy Policy
Privacy Policy
HungPS built the AP FPT Poly app as an Open Source app. This SERVICE is provided by HungPS at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at AP FPT Poly unless otherwise defined in this Privacy Policy.
Information Collection and Use
PRIVACY POLICY FOR QR SCANNER
What information does the Application obtain?
1. Automatic Data Collection and Advertising
We may work with analytics companies to help us understand how the Application is being used,
such as the frequency and duration of usage. We work with advertisers and third party advertising
networks, who need to know how you interact with advertising provided in the Application which
helps us keep the cost of the Application low. Advertisers and advertising networks use some of
the information collected by the Application, including, but not limited to, the unique identification ID
@hungps
hungps / okhttp3.WebviewCookieHandler.java
Last active January 6, 2024 11:39
Cookie jar that handles syncing okhttp cookies with Webview cookie manager
import android.webkit.CookieManager;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import okhttp3.Cookie;
import okhttp3.CookieJar;
import okhttp3.HttpUrl;