Skip to content

Instantly share code, notes, and snippets.

View brucehsu's full-sized avatar

Szu-Kai Hsu (brucehsu) brucehsu

View GitHub Profile
@brucehsu
brucehsu / framework-setup-bluefin.sh
Last active June 29, 2025 14:30
My setup for Bluefin Linux on Framework Laptop with Ryzen 7040 Series
#!/bin/bash
# Install Ghostty
echo -e '
[copr:copr.fedorainfracloud.org:pgdev:ghostty]
name=Copr repo for Ghostty owned by pgdev
baseurl=https://download.copr.fedorainfracloud.org/results/pgdev/ghostty/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
@brucehsu
brucehsu / bubblesort.bf
Created January 29, 2013 11:29
Brainf*ck bubble sort by @jserv
>>>>>,.[>>>,.]
<<<
[<<<
[>>>
[-<<<-<+>[>]>>]
<<<[<]>>
[>>>+<<<-]<
[>+>>>+<<<<-]
<<]
>>>[.[-]]
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define SIZE 1000000
/* Author: pppoe2345 */
int main (int argc, char *argv[])
{
FILE *outfile;
B友買了一套DVD,KEY社的底子帶麻枝大魔王的方格,當她拿給我們看時,一位對
KEY社十分感興趣的同學說:「啊,好像神作似的。」
「我看倒有點像君望似的。」我說。
「糞作。」一位外號叫「引戰客」的同學緊接著說。
我們不禁哄堂大笑,同樣的一套DVD,每個人卻有不同的感覺。那位朋友連忙把DVD
用收納盒包好,她覺得CLANNAD就是CLANNAD,不是神作,也不是君望,更不是糞作。
人人的欣賞觀點不盡相同,那是和個人的性格與生活環境有關。
如果經常逛新光華的話,便會發現很少有一款遊戲沒有人選購過;換句話說,任何取向或風格的遊戲,都有人欣賞它。
一位HG店的老闆曾指著櫥窗裡一部更新檔超過2G的DVD《SummerDays》說:「無論BUG怎麼多,還是有人喜歡,所以不怕賣不出去。」
#include <stdio.h>
#include <stdlib.h>
struct treenode {
int value;
struct treenode* left;
struct treenode* right;
struct treenode* parent;
};
typedef struct treenode node;