How to set up multiple accounts with Mutt E-mail Client
Thanks to this article by Christoph Berg
Directories and files
~/
#!/usr/bin/env python3 | |
from shapely.geometry.polygon import Polygon | |
from shapely.geometry.multipolygon import MultiPolygon | |
from shapely.geometry.linestring import LineString | |
from shapely.affinity import rotate, translate | |
import shapely | |
import shapely.ops as ops | |
import matplotlib.pyplot as plt | |
import math |
# Program to parse VGA data (EDID) accessed from I2C device 0x50 | |
# | |
# This is a quick demo not a supported program, so don't expect | |
# correctness from it. | |
# | |
# Edid format from: | |
# https://en.wikipedia.org/wiki/Extended_Display_Identification_Data#EDID_1.4_data_format | |
# | |
# Ken Shirriff http://righto.com |
#include <Arduino.h> | |
#include <U8g2lib.h> | |
#ifdef U8X8_HAVE_HW_SPI | |
#include <SPI.h> | |
#endif | |
#ifdef U8X8_HAVE_HW_I2C | |
#include <Wire.h> | |
#endif |
import scalanative.native._ | |
import SDL._ | |
import SDLExtra._ | |
@extern | |
@link("SDL2") | |
object SDL { | |
type Window = CStruct0 | |
type Renderer = CStruct0 |
CREATE TABLE book_lines | |
( | |
id serial primary key, | |
book_line text not null | |
); |
Thanks to this article by Christoph Berg
Directories and files
~/
# cabal command line completion | |
# Copyright 2014 "Osman Veliev" <ocmanv@gmail.com> | |
# | |
# Реализовано: | |
# - кеширование списка пакетов - _cabal_cach() | |
# - автодополнение версии пакета | |
# - напоминания об устаревшей базе пакетов - _cabal_log() | |
# - и установленных версиях пакета - _cabal_installed() | |
# - автодополнение для "cabal list" |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
module rounded_square( width, radius_corner ) { | |
translate( [ radius_corner, radius_corner, 0 ] ) | |
minkowski() { | |
square( width - 2 * radius_corner ); | |
circle( radius_corner ); | |
} | |
} | |
module alternative_square( width, r_c ) { | |
hull() { |