Skip to content

Instantly share code, notes, and snippets.

@jboz
jboz / slide.sh
Created May 31, 2022 22:45
bspwm slide effect for command
#!/bin/sh
checkDependencies () {
for dep; do
if ! command -v "$dep" >/dev/null ; then
log "Program \"$dep\" not found. Please install it."
fi
done
}
@adrianhajdin
adrianhajdin / cartItemStyles.js
Created November 28, 2020 16:30
Styles for an E-Commerce Web Tutorial
import { makeStyles } from '@material-ui/core/styles';
export default makeStyles(() => ({
media: {
height: 260,
},
cardContent: {
display: 'flex',
justifyContent: 'space-between',
},
[General]
Description=Pnevma
Opacity=1
Wallpaper=
[Background]
Color=28,28,28
[BackgroundIntense]
Color=28,28,28
@aparrish
aparrish / tracery-with-data.ipynb
Last active June 9, 2024 20:47
Tracery and Python. Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@messa
messa / sifra.py
Created May 30, 2011 18:46
Python example - decryption of simple substitution cipher using recursion
#!/usr/bin/env python
from StringIO import StringIO
import unittest
import sys
sys.setrecursionlimit(4000)
def resolve(ciphertext, allWords):