Skip to content

Instantly share code, notes, and snippets.

@hernamesbarbara
hernamesbarbara / .bash_profile
Created February 29, 2012 04:59
bash_profile with terminal colors and useful aliases
#!/bin/bash
export TERM=xterm-color
export CLICOLOR=1
export GREP_OPTIONS='--color=auto'
# export LSCOLORS=Exfxcxdxbxegedabagacad
export LSCOLORS=gxfxcxdxbxegedabagacad # Dark lscolor scheme
# Don't put duplicate lines in your bash history
export HISTCONTROL=ignoredups
# increase history limit (100KB or 5K entries)
export HISTFILESIZE=100000
/***************************************************************************/
/* Godot PCK extractor (pckext.cpp) */
/***************************************************************************/
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
@wenhuizhang
wenhuizhang / distributed_systems_readings.md
Last active May 2, 2024 17:50
distributed systems readings

#Distributed System Course List

##Systems

  • Cornell CS 614 - Advanced Course in Computer Systems - Ken Birman teaches this course. The readings cover more distributed systems research than is typical (which I am in favour of!). In fact, there's barely anything on traditional internal OS topics like filesystems or memory management. There's some worthwhile commentary at the bottom of the page.

  • Princeton COS 518 - Advanced Operating Systems - short and snappy reading list of two papers per topic, covering some interesting stuff like buffering inside the operating system, and L4.

@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active May 2, 2024 17:49
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@rickybrent
rickybrent / evsieve.sh
Last active May 2, 2024 17:48
tex shura + laptop right-shift + esc to tilde, caps to ctrl for evsieve
#!/bin/bash
# https://github.com/KarsMulder/evsieve
if [[ ! -z "$1" ]]; then
if [[ "${1:0:4}" == "pci-" || "${1:0:9}" == "platform-" ]]; then
input="/dev/input/by-path/$1"
else
input="/dev/input/by-id/$1"
fi
elif [[ -e "/dev/input/by-id/usb-04d9_USB-HID_Keyboard_000000000407-event-kbd" ]]; then
input="/dev/input/by-id/usb-04d9_USB-HID_Keyboard_000000000407-event-kbd"
@vkbo
vkbo / upscaleDS9.py
Last active May 2, 2024 17:48
Script used to upscale ST:DS9 from PAL DVD to HD using Topaz Video AI and Iris V1 model
"""
Upscale: Star Trek Deep Space Nine
Source: PAL DVD
AI Model: Topaz Video AI 3.4, Iris V1
"""
import sys
import subprocess
from pathlib import Path
@AKBANK28
AKBANK28 / javascript-roadmap.md
Created May 2, 2024 17:46 — forked from kamranahmedse/javascript-roadmap.md
Roadmap for JavaScript (Text)

Textual version of the JavaScript roadmap roadmap.sh/javascript

  • Introduction to JavaScript
    • What is JavaScript?
    • History of JavaScript
    • JavaScript Versions
    • How to Run JavaScript
  • All about Variables
    • Rules for naming variables
  • Variable Declarations
@vasanthk
vasanthk / System Design.md
Last active May 2, 2024 17:45
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@aolinto
aolinto / isobaths.R
Created August 27, 2018 13:04
Create isobaths and smoothed isobaths based on Etopo1 data
# ====================================================================
# Create isobaths and smoothed isobaths based on Etopo1 data
# https://maps.ngdc.noaa.gov/viewers/wcs-client/
# author: Antônio Olinto Ávila da Silva
# creation: 2018-08-27
# last edition: 2018-08-27
# ====================================================================
# workspace
# ----------
@eo1989
eo1989 / pet-snippet.toml
Created November 15, 2023 16:50 — forked from varenc/pet-snippet.toml
description
[[snippets]]
description = "start dev file syncer. uses fswatch to know when to run rsync. does not sync .git file. Sort like a write-through cache network file system with only eventual consistency guarantees."
command = "fswatch -0 --exclude \"\\.git\" --exclude \"\\.xml\" --exclude \"___\" -o /Users/chris/Documents/workspace/lingt_chris_dev_rsync_checkout/myproject | xargs -0 -n 1 -I {} rsync --progress --exclude '*.pyc' --exclude '*.git' --recursive ~/workspace/lingt_chris_dev_rsync_checkout/myproject dev@dev.server:/home/user/webapps/dev_chris/myproject"
output = ""
[[snippets]]
description = "plex find unscanned tv!"
command = "cat <(find /Users/chris/Downloads/media/dbx_mount/tv -type f | sed 's/.*\\///' | grep 'mp4\\|mkv\\|avi') <(unbuffer /Applications/Plex\\ Media\\ Server.app/Contents/MacOS/Plex\\ Media\\ Scanner -c 4 --tree | grep 'mp4\\|mkv\\|avi' | sed 's/.*\\///' | sed 's/\\w*\\[.*\\]$//' | awk '{$1=$1};1') | sort | uniq -u"
output = ""