Skip to content

Instantly share code, notes, and snippets.

View axet's full-sized avatar
🍄
PowerUp!

axet

🍄
PowerUp!
View GitHub Profile
@tuyenld
tuyenld / Original_vs_Mod_Chip.md
Last active October 13, 2025 18:42
2019-02-11-upgrade-flash-chip-tplink-tl-wr840n-4mb-to-8mb
Description Original Mod
flash GigaDevice GD25Q32B (4MB) Winbond GD25Q64CSIG (8MB)
firmware TL-WR840N(VN)_V5_170517 openwrt-18.06.1-ramips-mt76x8-tl-wr841n-v13-squashfs-sysupgrade
@alphamu
alphamu / AA Transition App theme between light and dark themes
Last active September 4, 2024 02:07
Example of how to change themes at runtime with a smooth animation. In this example, we just switch between a light and a dark theme. The activity animation is defined in the theme and as such will be default on all activities with the set theme. [Demo Video here](http://youtu.be/Ps0phswbHls).
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;
public class TransitionThemeActivity extends AppCompatActivity implements View.OnClickListener {
@endolith
endolith / export_google_starred_locations.py
Created October 16, 2012 02:29
Export Google Maps starred locations
# -*- coding: utf-8 -*-
"""
Go to Google Bookmarks: https://www.google.com/bookmarks/
On the bottom left, click "Export bookmarks": https://www.google.com/bookmarks/bookmarks.html?hl=en
After downloading the html file, run this script on it to generate a KML.
"""