This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`timescale 1ns / 1ps | |
////////////////////////////////////////////////////////////////////////////////// | |
// Company: Carrier Frequency, Inc. | |
// Engineer: Jon Carrier | |
// | |
// Create Date: 21:33:11 06/17/2011 | |
// Design Name: | |
// Module Name: FPGA_2_LCD | |
// Project Name: | |
// Target Devices: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To remove a submodule you need to: | |
Delete the relevant line from the .gitmodules file. | |
Delete the relevant section from .git/config. | |
Run git rm --cached path_to_submodule (no trailing slash). | |
Commit and delete the now untracked submodule files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[ -f /usr/bin/gcc ] || (apt-get update && apt-get install -y build-essential libncurses-dev libssl-dev chrpath) | |
#wget http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-7.2d.tar.gz | |
#tar zxf libatomic_ops-7.2d.tar.gz | |
#cd libatomic_ops-7.2/ | |
#./configure --prefix=/opt/flussonic | |
#make install | |
#cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { |
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"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cabal command line completion | |
# Copyright 2014 "Osman Veliev" <ocmanv@gmail.com> | |
# | |
# Реализовано: | |
# - кеширование списка пакетов - _cabal_cach() | |
# - автодополнение версии пакета | |
# - напоминания об устаревшей базе пакетов - _cabal_log() | |
# - и установленных версиях пакета - _cabal_installed() | |
# - автодополнение для "cabal list" |
How to set up multiple accounts with Mutt E-mail Client
Thanks to this article by Christoph Berg
Directories and files
~/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE book_lines | |
( | |
id serial primary key, | |
book_line text not null | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scalanative.native._ | |
import SDL._ | |
import SDLExtra._ | |
@extern | |
@link("SDL2") | |
object SDL { | |
type Window = CStruct0 | |
type Renderer = CStruct0 |
OlderNewer