Skip to content

Instantly share code, notes, and snippets.

@hjertnes
hjertnes / doom.txt
Created April 6, 2018 08:28
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch
@xeptore
xeptore / shadowsocks-ubuntu-20.04-installation.md
Last active May 18, 2024 19:52
Shadowsocks Ubuntu 20.04 Installation Guide
  1. Install

    sudo apt update
    sudo apt install shadowsocks-libev
  2. Configure

    sudo vim /etc/shadowsocks-libev/config.json
@IsaacXen
IsaacXen / README.md
Last active May 18, 2024 19:48
(Almost) Every WWDC videos download links for aria2c.
@OleMchls
OleMchls / names.md
Created April 12, 2013 14:30
Dummy Names
  • Rainer Zufall
  • Claire Grube
  • Armin Gips
  • Anna Bolika
  • Bill Yard
  • Klaus Thaler
  • Volker Putt
  • Mira Belle
  • Franz Ösisch
  • Ben Chmark
@dhh
dhh / linux-setup.sh
Last active May 18, 2024 19:46
linux-setup.sh
# CLI
sudo apt update -y
sudo apt install -y \
git curl btop \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \
rbenv apache2-utils
@leocomelli
leocomelli / git.md
Last active May 18, 2024 19:47
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@Ravarcheon
Ravarcheon / spectralRotation.py
Created May 18, 2024 13:23
rotates an audio file by 90 degrees in the spectrum while being a reversible process with minimal loss (only floating point errors which are like -150 dB but thats literally silence ahaha~)
import numpy as np
import soundfile as sf
from scipy.fftpack import fft, ifft
def rotateSignal(signal,flip):
if flip:
signal = signal[::-1]
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft
rotSig = np.real(ifft(x))
@TRB-Exe
TRB-Exe / windowsfastactivation.md
Last active May 18, 2024 19:44
Windows 10 fast activation from cmd

Super easy and fast activation from command prompt

Run cmd.exe with Admin permissions and enter commands for your system

windows 10/11

slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms kms.digiboy.ir
slmgr /ato
@hashrocketeer
hashrocketeer / vimtutor.txt
Created October 17, 2018 01:01
vimtutor!
===============================================================================
= W e l c o m e t o t h e V I M T u t o r - Version 1.5 =
===============================================================================
Vim is a very powerful editor that has many commands, too many to
explain in a tutor such as this. This tutor is designed to describe
enough of the commands that you will be able to easily use Vim as
an all-purpose editor.
The approximate time required to complete the tutor is 25-30 minutes,
@nahun
nahun / README.md
Last active May 18, 2024 19:36
NetBox with Okta SSO using OAuth

NetBox with Okta SSO using OAuth

This is an example setup with NetBox using Okta for authentication. It uses the Python Social Auth library that is supported in NetBox starting in v3.1.

See the NetBox docs on SSO.

This is written to support NetBox v3.1.

Okta Setup

An OIDC application is required in Okta.