Skip to content

Instantly share code, notes, and snippets.

View 0xdeadbad's full-sized avatar

Matheus da Silva Garcias 0xdeadbad

View GitHub Profile
@PewZ
PewZ / libc_functions
Last active October 31, 2024 01:27
List of all libc functions.
time_t time (time_t *result)
int stime (const time_t *newtime)
int fcntl (int filedes, int command, ...)
size_t mbstowcs (wchar_t *wstring, const char *string, size_t size)
size_t wcstombs (char *string, const wchar_t *wstring, size_t size)
int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param)
int sched_getscheduler (pid_t pid)
int sched_setparam (pid_t pid, const struct sched_param *param)
int sched_getparam (pid_t pid, struct sched_param *param)
int sched_get_priority_min (int policy)
@eizedev
eizedev / treestyletab.css
Created June 11, 2021 10:20
Firefox Tree Style Tab CSS - Collapsible
/* Hide border on tab bar, force its state to 'scroll', adjust margin-left for width of scrollbar.
#tabbar {
border: 0;
overflow-y: scroll !important;
margin-left: -18px !important;
}
*/
/* Hide .twisty and adjust margins so favicons have 7px on left. */
.tab .twisty {

These instructions are based on this blogpost by Anton Semjonov and this video by Animortis Productions. Please follow the link if you want more details, they go into much more detail about each step, whereas this document is more focused on being a concise cheat sheet. Let's go.

Install base system

Boot the Ubuntu installation medium. When asked, choose the "Try Ubuntu" option and open a terminal.

Switch to root, otherwise you'll have to type sudo all the time:

sudo su -