Skip to content

Instantly share code, notes, and snippets.

View Endermanbugzjfc's full-sized avatar
🟥
Amazon banned me for invalid reason

Amazon banned me for invalid reason Endermanbugzjfc

🟥
Amazon banned me for invalid reason
View GitHub Profile
@iTrooz
iTrooz / main.py
Last active May 3, 2025 19:13
reMarkable 2 splash.dat converter
#!/usr/bin/env python3
"""
This script aims at converting an image to the custom format used by Remarkable 2
After running this script, move the output "splash.dat" file to /var/lib/uboot in the rM2 device
I tried this with PNG images but I guess other formats should work too since I use PIL
Syntax: ./main.py <file> [-x xOffset] [-y yOffset]
(-x and -y are the offsets of the image on the screen. If not set, the image will be centered on the screen)
Input images may need to be rotated 90 degrees before converting them
Licence: MPL 2.0
"""
@Endermanbugzjfc
Endermanbugzjfc / rop;gjpre[agreq'kgaf.md
Last active March 9, 2022 10:25 — forked from PEMapModder/Farewell.md
也把反駁稱奧德賽不習慣度吧大神的話附近的薩阿富多少空間企鵝我不反對啊的房價跌幅擴大把發揮

Farewell

A few days ago I tweeted and profile-posted this message:

靜雞雞咁我走啦,好似我靜雞雞咁嚟,fing 一 fing 件衫,唔拎走一舊雲。 嗰棵榆樹下面潭水,唔係泉水而係彩虹,喺藻葉之間搓碎,將彩虹咁既夢整沉左

Yes, I am serious about this message. I am leaving (very soon).

@kcchien
kcchien / install_driver.sh
Created October 21, 2018 06:05
Elementary os 安裝在 Macbook 上找不到無線網路的解法
# Reference http://www.linuxlinx.com/2016/08/fix-no-wireless-on-macbook-after.html
# Removing bcmwl-kernel-source package, then reboot.
sudo apt-get remove --purge bcmwl-kernel-source
sudo reboot
# Installing new broadcom firmware.
sudo apt-get install firmware-b43-installer
# Reaload package.
@antsanchez
antsanchez / app.js
Last active March 19, 2022 18:36
Localization Express.js: Language in URL
const express = require('express');
var app = express();
var hbs = require('hbs');
var i18n = require("i18n");
var _ = require('lodash');
app.set('view engine', 'hbs');
// Available languages
let locales = ['es', 'de', 'en', 'fr', 'it'];

Farewell

A few days ago I tweeted and profile-posted this message:

靜雞雞咁我走啦,好似我靜雞雞咁嚟,fing 一 fing 件衫,唔拎走一舊雲。 嗰棵榆樹下面潭水,唔係泉水而係彩虹,喺藻葉之間搓碎,將彩虹咁既夢整沉左

Yes, I am serious about this message. I am leaving (very soon).

@ttu
ttu / HWO Stats
Last active February 29, 2024 01:30
Hello World Open 2014
Country, Language, Total, Has Ranking, CI Build Ok, Total %, Has Ranking %, CI Build Ok %
Global, All, 2520, 2405, 2027, 100,00 %, 100,00 %, 100,00 %
Global, Java, 551, 526, 458, 21,87 %, 21,87 %, 22,59 %
Global, Python, 525, 505, 446, 20,83 %, 21,00 %, 22,00 %
Global, C# / Mono, 334, 319, 290, 13,25 %, 13,26 %, 14,31 %
Global, JavaScript, 251, 235, 211, 9,96 %, 9,77 %, 10,41 %
Global, C++, 184, 183, 152, 7,30 %, 7,61 %, 7,50 %
Global, C, 141, 127, 113, 5,60 %, 5,28 %, 5,57 %
Global, Ruby, 98, 95, 81, 3,89 %, 3,95 %, 4,00 %
@josephj
josephj / fsck-git-log.sh
Created July 27, 2012 03:37
檔案在 git pull 後被刪除、可以用 git fsck 救回來
# 這個時候檔案都已經做完,想要放到 Github 上
josephj@cockatoo /var/www/josephj/frontend/lab/2012/qt-webkit $ % git init .
Initialized empty Git repository in /var/www/josephj/frontend/lab/2012/qt-webkit/.git/
# Github 的 Repo 也已經開好了 (已經產生好 README.md)
josephj@cockatoo /var/www/josephj/frontend/lab/2012/qt-webkit $ % git remote add origin [email protected]:miiicasa/tv-apps-html.git
# 先試著從 Github 上抓東西下來
josephj@cockatoo /var/www/josephj/frontend/lab/2012/qt-webkit $ % git pull
remote: Counting objects: 3, done.
@greut
greut / run.php
Created April 30, 2011 18:18
A web server in pure PHP (non-concurrent and concurrent)
#!/usr/bin/env php
<?php
$app = function($request) {
$body = <<<EOS
<!DOCTYPE html>
<html>
<meta charset=utf-8>
<title>Hello World!</title>