Skip to content

Instantly share code, notes, and snippets.

View h1code2's full-sized avatar
🎯
Focusing

Amelia Riski h1code2

🎯
Focusing
View GitHub Profile
@h1code2
h1code2 / key.md
Created July 19, 2023 08:38 — forked from KohnoseLami/key.md
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

@h1code2
h1code2 / tinder-api-documentation.md
Created November 23, 2021 07:13 — forked from rtt/tinder-api-documentation.md
Tinder API Documentation

Tinder API documentation

http://rsty.org/

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)

Note: this was written in April/May 2014 and the API may have changed since. I have nothing to do with Tinder, nor their API, and I do not offer any support for anything you may build on top of this

API Details

@h1code2
h1code2 / note.md
Last active August 7, 2021 15:49
Android 11 系统编译采坑 #android #编译 #源码 #repo #shell #git

Android 11 系统编译采坑

1.编译尝试使用 docker 环境

docker pull ubuntu:18.04

2.安装 Repo

@h1code2
h1code2 / note_s1.md
Created July 23, 2021 06:10
Android源码修改笔记 #android #编译 #源码
@h1code2
h1code2 / adb_usage_notes.md
Last active February 5, 2023 09:12
Android 系统源码编译 #android #ubuntu #编译 #源码 #8.0.0

adb install -r 替换已存在的应用程序,也就是说强制安装

adb install -l 锁定该应用程序

adb install -t 允许测试包

adb install -s 把应用程序安装到sd卡上

adb install -d 允许进行将见状,也就是安装的比手机上带的版本低

@h1code2
h1code2 / main.py
Created July 9, 2021 02:27
更具经纬度判断国家、城市、城镇 #geopy #经纬度 #国家
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2021/6/30 16:13
# @Author : h1code2
# @File : code.py
# @Software: PyCharm
# import module
from geopy.geocoders import Nominatim
@h1code2
h1code2 / python-plugin.py
Created February 18, 2021 10:53
实现一个轻量插件系统 #python #插件
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author :h1code2
# File :test.py
# Email :h1code2@163.com
# Time :2021/2/18 18:23
# Software :PyCharm
"""
原文地址:https://mp.weixin.qq.com/s/Z_sQRgBWgYF2tIRI1ut-kg
@h1code2
h1code2 / python-sqlalchemy.py
Created February 18, 2021 02:24
Python Sqlalchemy 基本操作 #python #sqlalchemy #orm
# _*_ coding: utf-8 _*_
"""
python_sqlalchemy.py by xianhu
"""
import sqlalchemy
import sqlalchemy.orm
import sqlalchemy.ext.declarative
@h1code2
h1code2 / python-flask.py
Created February 18, 2021 02:20
Python Flask 相关知识 #flask #jinja2 #过滤器 #钩子函数
# _*_ coding: utf-8 _*_
# Flask中的一些定义
# =============================================================================================================================
# WSGI: Web服务器网关接口,是一种Web服务使用的协议。
# 路由: 处理URL和函数之间关系的程序称为"路由"。
# 视图函数: 类似于index()这样的,被app.route装饰器注册为路由的函数,或者通过app.add_url_rule()添加路由映射关系的函数,被称为视图函数。
# app.route(): 路由装饰器,可以带参数,参数可以指定数据类型:int/float/path。path类似于字符串,但不将反斜线/当做分隔符。
# =============================================================================================================================
@h1code2
h1code2 / readme.md
Last active November 13, 2020 02:28
Android抓包用户证书转系统证书 #charles #证书 #抓包
cd /data/misc/user/0/cacerts-added
# 安卓8  
mount -o remount,rw /system
# 安卓7  
mount -o rw,remount /system
cp * /etc/security/cacerts/
mount -o remount,ro /system
# 移动后记得修改权限 chmod 777 xxx.0