- 生きた
- DRAM controllerの動作確認の用意を進めた
- SDRAM testerを作った
- がtesterの動作確認がC++でもまだ
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
MDS = 0624.md | |
TEXS = $(MDS:%.md=%.tex) | |
DVIS = $(MDS:%.md=%.dvi) | |
PDFS = $(MDS:%.md=%.pdf) | |
NUP_PDFS = $(PDFS:%.pdf=%-nup.pdf) | |
TEX = platex | |
dvi: $(DVIS) | |
pdf: $(PDFS) |
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
# Tint2 config file | |
# Generated by tintwizard (http://code.google.com/p/tintwizard/) | |
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure | |
# Background definitions | |
# ID 1 | |
rounded = 7 | |
border_width = 2 | |
background_color = #000000 60 | |
border_color = #FFFFFF 16 |
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/sh | |
#This script removes a submodule of git. | |
#All you have to do is to put this script to a pathed directiry, and type `git submodule-rm <submodule>` | |
#(You may have to type `chmod +x git-submodule-rm`) :P | |
if [ $# -ne 1 ] ; then | |
echo "usage: git submodule-rm <submodule>"; | |
echo "No submodule specified, no submodule removed." 1>&2; | |
exit 1; | |
fi |
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
\documentclass{article} | |
\usepackage{algorithm} | |
\usepackage{algorithmic} | |
\begin{document} | |
\begin{algorithm} | |
\caption{Calculate $y = x^n$} | |
\label{alg1} | |
\begin{algorithmic} | |
\REQUIRE $n \geq 0 \vee x \neq 0$ | |
\ENSURE $y = x^n$ |
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 | |
# -*- sh -*- | |
xbacklight = $(echo $(xbacklight) $1 $2 | bc) |
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
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
alias ls='ls --color=auto' | |
PS1='[\u@\h \W]\$ ' | |
export EDITOR=emacsclient |
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
pkgname=open-usp-tukubai | |
pkgver=2014061402 | |
pkgrel=1 | |
pkgdesc="An open source version of shell commands usp Tukubai." | |
arch=('any') | |
url="https://uec.usp-lab.com/TUKUBAI/CGI/TUKUBAI.CGI" | |
license=('MIT') | |
depends=('python') | |
source=("https://uec.usp-lab.com/TUKUBAI/DOWNLOAD/open-usp-tukubai-2014061402.tar.bz2") | |
pkgdir=/usr/ |
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 | |
if [[ "$1" = "" ]]; then | |
echo "usage : bash $0 [assembly-name]" | |
else | |
IFS=$'\n' | |
BAK="$1~" | |
PC=0 | |
mv "$1" $BAK | |
for l in $(cat $BAK); do |
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
#!/usr/bin/awk -f | |
BEGIN { | |
PC="0"; | |
} | |
!/\.text|\.data|\.globl|\.long|:|^[\ \t]*#/{ | |
$0 = $0" # "PC; | |
PC++; | |
}; | |
{print}; |