Skip to content

Instantly share code, notes, and snippets.

View jhzzzz's full-sized avatar

Jack Zhang jhzzzz

  • Jumpo
  • China, Hefei
View GitHub Profile
{
"product": {
"id": 7308729417882,
"title": "Women's sexy high waist imitation drill bikini swimsuit",
"body_html": "<p>Fabric: Polyester<br>Style: Sexy<br>Pattern: Striped<br>Color: Pink, Red, Black, Purple<br>Gender: Women</p>",
"vendor": "1688",
"product_type": "Bikinis & Sets",
"created_at": "2022-04-12T08:03:46-07:00",
"handle": "women-s-sexy-high-waist-imitation-drill-bikini-swimsuit-1bh0",
"updated_at": "2022-04-12T08:11:38-07:00",
@jhzzzz
jhzzzz / gist:f5755dd06bb3f918d3c995c47aafc659
Last active December 12, 2019 03:26
Android save react native debug host to sd card
// save react native debug host to sd card
// this is ONLY for android
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
String debugHost = preferences.getString("debug_http_host", "");
File sdRootDir = new File(Environment.getExternalStorageDirectory(), getApplicationContext().getPackageName());
if (!sdRootDir.exists()) {
sdRootDir.mkdirs();
}