Skip to content

Instantly share code, notes, and snippets.

View hoodie's full-sized avatar
🎯
Focusing

Hendrik Sollich hoodie

🎯
Focusing
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active October 12, 2025 14:49
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Mic92
Mic92 / PKGBUILD
Last active August 29, 2015 14:10
git-extras PKGBUILD
# Maintainer: Stefan Tatschner <[email protected]>
pkgname=git-extras
pkgver=2.2.0
pkgrel=1
pkgdesc="GIT utilities -- repo summary, commit counting, repl, changelog population and more"
arch=(any)
url="http://github.com/visionmedia/git-extras"
license=('custom:MIT')
depends=('git' 'bash')
source="https://github.com/visionmedia/${pkgname}/archive/${pkgver}.tar.gz"
@s-panferov
s-panferov / option.ts
Created November 30, 2014 12:15
Option and Result types from Rust in TypeScript
interface Option<T> {
map <U>(fn: (a: T) => U): Option<U>;
isSome(): boolean;
isNone(): boolean;
isSomeAnd(fn: (a: T) => boolean): boolean;
isNoneAnd(fn: () => boolean): boolean;
unwrap(): T;
unwrapOr(def: T): T;
unwrapOrElse(f: () => T): T;
map<U>(f: (a: T) => U): Option<U>;
@deadalusai
deadalusai / tasks.json
Last active June 7, 2025 14:53
VS Code tasks.json for Rust/Cargo
/*
Before using this tasks.json you may like to consider trying one of the following VS Code extensions:
rust-analyzer
Marketplace: https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
Source: https://github.com/rust-analyzer/rust-analyzer
rls
Marketplace: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust
Source: https://github.com/rust-lang/rls-vscode
@hoodie
hoodie / 35C3.svg
Last active February 5, 2023 11:49
assembly poster
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bkaradzic
bkaradzic / orthodoxc++.md
Last active October 13, 2025 07:43
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@kiliankoe
kiliankoe / clfdns.rb
Last active February 22, 2019 20:37
Cloudflare DynDNS
#! /usr/bin/env ruby
require 'net/http'
require 'cloudflare'
# Email used for login
CLOUDFLARE_EMAIL = ENV["CLOUDFLARE_EMAIL"]
# API Key, can be found here => https://www.cloudflare.com/a/account/my-account
CLOUDFLARE_API_KEY = ENV["CLOUDFLARE_API_KEY"]