Skip to content

Instantly share code, notes, and snippets.

View n0toose's full-sized avatar
👾
Have you considered how all these social features distract from working on code?

Panagiotis "Ivory" Vasilopoulos n0toose

👾
Have you considered how all these social features distract from working on code?
  • Aachen, Germany
View GitHub Profile
@coderbyheart
coderbyheart / normalize.sh
Last active November 27, 2022 12:21
Normalize PDF scans with handwritten notes and color markings
#!/usr/bin/env zsh
set -x
set -e
filename=$(basename -- "$1")
name="${filename%.*}"
# from https://poppler.freedesktop.org/
pdfimages -j -p $1 $name
@Fluepke
Fluepke / log_train.sh
Created November 12, 2022 15:16
Log train rides on german trains (location data, internet availability, speed, etc.)
#!/bin/bash
if ! command -v curl &> /dev/null; then
echo "This script needs curl. Please install curl."
exit -1
fi
if ! command -v jq &> /dev/null; then
echo "This script needs jq. Please install jq."
exit -1
@jhwheeler
jhwheeler / bigONotation.js
Last active July 12, 2024 13:23
Big O Notation Exercises
// 1. Even or odd
function isEven(value){
if (value % 2 == 0){
return true;
}
else
return false;
}