Skip to content

Instantly share code, notes, and snippets.

View Magicrafter13's full-sized avatar
:octocat:
Imagine making a commit after 3 years lol

Matthew Magicrafter13

:octocat:
Imagine making a commit after 3 years lol
View GitHub Profile
@NimaMX
NimaMX / .Xresources
Last active May 30, 2022 12:18
my terminal configuration (urxvt, tabbed, powerline font, i3, copy-paste)
Xft.dpi: 200
Xft.antialias: 1
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.autohint: true
Xft.lcdfilter: lcddefault
URxvt*buffered: true
URxvt*cursorBlink: true
URxvt*underlineColor: white
According to all known laws of aviation, there is no way a bee should be able to fly.
Its wings are too small to get its fat little body off the ground.
The bee, of course, flies anyway because bees don't care what humans think is impossible.
Yellow, black. Yellow, black. Yellow, black. Yellow, black.
Ooh, black and yellow!
Let's shake it up a little.
Barry! Breakfast is ready!
Coming!
Hang on a second.
Hello?
@steelywing
steelywing / WinImage-KeyGen.html
Last active September 21, 2024 11:38
winimage 9.0 keygen
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>WinImage 9.0 KeyGen</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body style="text-align: center;">
<h1>WinImage 9.0 KeyGen</h1>
@diabloneo
diabloneo / timespec_diff.c
Created March 18, 2014 13:22
Calculate diff of two struct timespec
#include <time.h>
void timespec_diff(struct timespec *start, struct timespec *stop,
struct timespec *result)
{
if ((stop->tv_nsec - start->tv_nsec) < 0) {
result->tv_sec = stop->tv_sec - start->tv_sec - 1;
result->tv_nsec = stop->tv_nsec - start->tv_nsec + 1000000000;
} else {
result->tv_sec = stop->tv_sec - start->tv_sec;