Skip to content

Instantly share code, notes, and snippets.

@mblouka
mblouka / linux2bsd.md
Last active January 29, 2024 17:12
Linux-2-BSD: Crash course on getting started with FreeBSD from the perspective of a less-technical Linux user

Note

This is mainly a note sheet for myself so I know what to do when installing FreeBSD, but I also wrote some additional information for Linux users that are interested in using FreeBSD and the philosophy as to why one would use FreeBSD over a convential Linux system. This is not complete, has parts borrowed from guides on the Internet (I do not claim originality for any of this), but should be enough to get started with FreeBSD.

What is BSD? (contrasted with GNU/Linux)

BSD (Berkeley Software Distribution) is a discontinued operating system that is a direct descendant of Bell Labs UNIX. Unlike GNU/Linux, which is a remake of UNIX and therefore called a "UNIX-like" system, mainline *BSD systems such as FreeBSD, OpenBSD, and NetBSD can claim to be truly genetic "UNIX" (but not trademark UNIX). For brevity, I will just say "BSD" for the rest of this guide, but I will be referring to FreeBSD specifically.

In terms of the popularity of its distributions, the GNU/Linux distribution most used by the

@mblouka
mblouka / cmds.md
Created March 24, 2023 21:53
Web project setup commands

Augment NextJS project

Setup command

pnpm add -D tailwindcss postcss autoprefixer prettier prettier-plugin-tailwindcss @iconify/react @headlessui/react
npx tailwindcss init -p

prettier.config.js

module.exports = {
 plugins: [require('prettier-plugin-tailwindcss')],
@mblouka
mblouka / keybase.md
Created November 26, 2022 14:08
Keybase proof

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@mblouka
mblouka / th.ch.md
Created May 28, 2022 13:59
SYNAPSE X - 可靠的利用,沒有廢話。

(仅限英语)网站官方文檔客戶支持服務條款


如果你符合以下條件,就應該購買Synapse

  • 不想一擲千金,又想金錢花得物有所值。 我們的單一價格由$15起,最高不超過...$20,價錢相當划算。你還可以透過保護消費者權益的平台支付,例如PayPal。我們也接受虛擬貨幣!

Keybase proof

I hereby claim:

  • I am ccreaper on github.
  • I am cocainereaper (https://keybase.io/cocainereaper) on keybase.
  • I have a public key ASCsnnTrGqUVJe7eviNcSqENOzm8GQcYq7Etx6So15xM4Qo

To claim this, I am signing this object:

#include "Compiler.h"
#include "ScriptParser.h"
#include <sstream>
#include "parallel_hashmap/phmap.h"
#include <iostream>
#include "ordered_map.h"
using namespace RBX;
#define MAX_REG_COUNT UCHAR_MAX
/*
** Configuration header.
** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef luaconf_h
#define luaconf_h
#ifndef WINVER
#define WINVER 0x0501
@mblouka
mblouka / sample_repo.snapl
Created December 2, 2019 05:02
Sample Repository for Synapse Snap
["WCUW7HGES2LQNX9F568KZZSRB8MEYBA5Q2ME3MAV66VLB7QVA8KE7BDRD68KBG9FF84W7T9V5JMCSB9R7GBESDARE29E3UFVMJ4LBYJSD48VNMDVVJULNN9SHBRV299XCCMKZUJF32UQ2TA","TZMZX7GV548RY7DV24JX3T9VA28UNKJSTZMZX7GV548RY7DV24JX3TAFY29Q7JD35J4Q7TFVY4JWNYJFVJULNN9SB4UV77RERMUY3DFCW2MQXYGVY2KX39KS5DMKBYHF349W37RR548LBQ9DB6JVXUHEVAKKN6ARGAUQ"]