Skip to content

Instantly share code, notes, and snippets.

@milnak
milnak / garlic-os-tips.md
Last active December 12, 2024 16:47
My set of GarlicOS tips #rg35xx

Garlic OS Tips (Windows-based)

GarlicOS Cookbook

Follow these instructions for an easy way to get up and going quickly! These are complete instructions, and will be the easiest way to get started on a new RG35XX.

Set up SD Card

Get a high quality SD (e.g. SanDisk Extreme) card, 128GB or larger, 256GB is recommended. Don't skimp here, they're cheap, and don't use the card that comes with the RG35XX as it's crap.

@garywill
garywill / har2csv.py
Last active January 9, 2025 14:57
convert .har (Firefox browser log) to csv
#!/usr/bin/python3
import json
import csv
json_file_text = ""
with open('INPUTHARJSONFILE') as file:
json_file_text = file.read()
j_obj = json.loads(json_file_text)
@ZyqGitHub1
ZyqGitHub1 / source.json
Last active January 24, 2025 10:37
hls-source
[
{
"id": "d240e1be-38aa-4356-88b8-d1febb48d95e",
"name": "色色资源站",
"uri": "https://www.emiao026.com",
"httpApi": "http://sscj8.com/inc/api.php",
"httpsApi": "http://sscj8.com/inc/sapi.php",
"type": "综合性资源"
},
{
@ruanyf
ruanyf / mtr.css
Created March 16, 2019 11:23
mtr.css: Hong Kong MTR station colors http://metrocolor.live/index.html
:root {
--heng-fa-chuen: #b51921;
--tai-koo: #b2103e;
--kowloon-bay: #c41832;
--tseung-kwan-o: #ef342a;
--wui-kai-sha: #a84d18;
--po-lam: #f68f26;
--sai-wan-ho: #faca07;
--disneyland-resort: #07594a;
--skek-kip-mei: #4ba946;
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active March 10, 2025 08:56
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@steveharoz
steveharoz / .block
Last active February 13, 2025 09:14 — forked from mbostock/.block
d3-force testing ground
license: gpl-3.0
height: 1030
scrolling: yes
@wong2
wong2 / cmds.txt
Last active December 16, 2024 05:52
在任意聊天中输入。 [ ]表示后面要跟一个空格(可能还需要别的参数才能生效)
//wearversion
//wearlog
//wearvoiceinputenable
//wearvoiceinputdisable
//weargoogleapi
//assert
//pushassert
//uplog
//upcrash
//switchnotificationstatus
@Jeff2Ma
Jeff2Ma / dangdang.py
Last active August 29, 2015 14:16
DangDang book contents txt catched by Python
# -*- coding: utf-8 -*-
#当当网图书目录抓取
#已经实现抓取目录
#实现写入到txt文件中
#新增匹配字符串
#新增书名抓取(略有bug)
#作者:Jeffma @ https://gist.github.com/Jeff2Ma/24f6c49877ebbfec9900
#参考 http://blog.csdn.net/nwpulei/article/details/7272832
import urllib2
@magicznyleszek
magicznyleszek / css-selectors.md
Last active January 27, 2025 14:19
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Hi! If you see an error or something is missing (like :focus-within for few years :P) please let me know ❤️

Element selectors

Element -- selects all h2 elements on the page

h2 {