Skip to content

Instantly share code, notes, and snippets.

View toto6038's full-sized avatar
💤
Sleeping at home

Howard Guo toto6038

💤
Sleeping at home
  • National Taiwan Normal University
  • Taipei, Taiwan
  • 04:29 (UTC +08:00)
View GitHub Profile
@BirkhoffLee
BirkhoffLee / README.md
Created March 22, 2023 12:27
師大 Cumulative GPA 計算機

使用步驟

  1. 把 main.js 存起來
  2. 在同個資料夾跑 npm install xlsx
  3. 在教務系統載成績報表,然後把報表的 path 放進 main.js 裡面(89 行)
  4. $ node main.js
    [
      [ 2, 4.3 ], [ 2, 4 ],   [ 2, 4 ],
      [ 2, 3.7 ], [ 3, 4 ],   [ 3, 4 ],

[ 3, 3.7 ], [ 1, 4.3 ], [ 3, 1 ],

@marcan
marcan / m1cat.c
Last active October 26, 2023 15:42
m1cat: a PoC for the M1RACLES covert channel vulnerability in the Apple M1
/*
* m1cat: a proof of concept for the M1RACLES vulnerability in the Apple M1.
*
* This program implements a covert channel that can be used to transmit data
* between two processes when run on the Apple Silicon "M1" CPUs.
*
* The channel is slightly lossy due to (presumably) the scheduler sometimes
* scheduling us on the wrong CPU cluster, so this PoC sends every byte twice
* together with some metadata/framing bits, which is usually good enough.
* A better approach would be to use proper FEC or something like that.
@FreddieOliveira
FreddieOliveira / docker.md
Last active November 17, 2024 15:46
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@theodorosploumis
theodorosploumis / Nework_throttling_profiles.md
Last active November 8, 2024 12:01
Web development - Custom network throttling profiles
Profile download (kb/s) upload (kb/s) latency (ms)
Native 0 0 0
GPRS 50 20 500
56K Dial-up 50 30 120
Mobile EDGE 240 200 840
2G Regular 250 50 300
2G Good 450 150 150
3G Slow 780 330 200
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active November 13, 2024 14:50
Hyperlinks in Terminal Emulators
@bjongbloedt
bjongbloedt / docker-compose.yml
Last active September 16, 2024 09:51
docker-compose selenium grid (w/healthcheck)
version: "3"
services:
hub:
image: selenium/hub
ports:
- "4444:4444"
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:4444/grid/api/proxy"]
interval: 10s
timeout: 5s
@tanyuan
tanyuan / archlinux.md
Created April 21, 2016 13:20
Arch Linux 為什麼這麼迷人?

Arch Linux 為什麼這麼迷人?

Arch Linux 是眾多 Linux 作業系統中的一種,對象是有 Linux 指令操作經驗的「進階使用者」,想要打造更適合自己的環境,例如不同的桌面、視窗環境等,體驗最新的套件。

Arch Linux 只有文字介面,不包含圖形介面。也就是說,當你安裝完 Arch Linux 之後,你會看到整個螢幕黑黑一片,電腦期待著你用鍵盤輸入文字指令。Arch Linux 只提供最基本可以讓電腦跑起來的功能,其他套件都要自己安裝。

成為掌握一切的設計師

Arch Linux 不會裝你不會用到的東西,你會自己親自打造完全屬於自己的電腦。不會有程式任意自動啟動,不會有人強迫你更新。你可以把你的電腦改成任何模樣,同樣你也為你的電腦的易用性和安全性負責。