Skip to content

Instantly share code, notes, and snippets.

@K4zuki
K4zuki / SSCI_SPI_LCD.brd
Last active October 12, 2016 17:02
SsciSpiLcd
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.5.0">
<drawing>
<settings>
<setting alwaysvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.1" unitdist="mm" unit="mm" style="dots" multiple="1" display="yes" altdistance="0.1" altunitdist="mm" altunit="mm"/>
<layers>
@K4zuki
K4zuki / note.md
Last active September 18, 2016 12:11
WaveDrom timing diagram editor
@K4zuki
K4zuki / note.md
Created September 18, 2016 10:03
link to git-submodule note
@K4zuki
K4zuki / github.css
Last active September 22, 2018 14:08
a fork of Super Famous github.css
body {
font-family: Source Han Sans L, Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@K4zuki
K4zuki / note.md
Last active August 28, 2018 15:51
python and Make to generate a scatter plot from csv file
@K4zuki
K4zuki / note.md
Last active August 29, 2016 04:27
git-svn-clone from local (and windows network drive) repos

hint from HERE

  • windows7 and git for windows
  • tortoisesvn 1.8 and given svn environment

start svn server using svnserve.exe

  • on PowerShell run svnserve.exe -d --root <P:\\path\to\local\svn\repository\dir>
    • it makes No prompt

clone svn repo as git repo

  • on your git workspace (if any) run git svn clone svn://relative/path/to/repo
@K4zuki
K4zuki / note.md
Last active August 23, 2016 06:14
USB4x3HUB enclosure
@K4zuki
K4zuki / note.md
Last active May 27, 2019 19:32
can make a hg repo as git submodule?

Idea

  • clone a mbedTM repository as mercurial repo
  • put the cloned repo to github(or similar) as a git repo with mbed repo revision status history
  • another git repo uses the converted github repo as a submodule

Hints

@K4zuki
K4zuki / user.inputrc
Last active August 21, 2016 14:57
$HOME/.inputrc # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
# http://stackoverflow.com/questions/5029118/bash-ctrl-to-move-cursor-between-words-strings
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word