Skip to content

Instantly share code, notes, and snippets.

View ceclinux's full-sized avatar
🏠
Working from home

ceclinux ceclinux

🏠
Working from home
View GitHub Profile
#used as moving av....
#set the delimeter as '\n' to prevent the for loop treat space as next file
export IFS=$'\n'
let count=0
for a in $(find /media/game_/ -name "*.avi")
do
mv $a /media/game_/youknow/
done
@ceclinux
ceclinux / 1.sh
Created September 10, 2013 04:38
#!/bin/bash
A=B
export A
echo "PID for 1.sh before exec/source/fork:$$"
echo "1.sh: \$A is $A"
case $1 in
exec)
echo "using exec..."
exec ./2.sh ;;
@ceclinux
ceclinux / pm-template.latex
Created February 20, 2014 15:28
pandoc配置
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$]{$documentclass$}
\usepackage{geometry} % 設定邊界
\geometry{
top=1in,
inner=1in,
outer=1in,
bottom=1in,
headheight=3ex,
headsep=2ex
}
@ceclinux
ceclinux / .zshrc
Last active December 9, 2015 11:46
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="bira"
# Uncomment the following line to use case-sensitive completion. # CASE_SENSITIVE="true"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ceclinux
ceclinux / .zshrc
Last active September 22, 2016 05:15
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
export TERM="xterm-256color"
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="bira"
╭─ceclinux@ceclinux-desktop ~/byte-unixbench/UnixBench ‹master*›
╰─$ ./Run
make all
make[1]: Entering directory '/home/ceclinux/byte-unixbench/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make all
make[1]: Entering directory '/home/ceclinux/byte-unixbench/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory '/home/ceclinux/byte-unixbench/UnixBench'
sh: 3dinfo: 未找到命令
╭─ceclinux@ceclinux-desktop ~/byte-unixbench/UnixBench ‹master*›
╰─$ ./Run
make all
make[1]: Entering directory '/home/ceclinux/byte-unixbench/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
@ceclinux
ceclinux / Rpi2_unixbench_overclock_sufficient_power
Last active January 3, 2016 02:36
Rpi2_unixbench_overclock_sufficient_power
[ceclinux@alarmpi UnixBench]$ ./Run
make all
make[1]: Entering directory '/home/ceclinux/byte-unixbench/UnixBench'
Checking distribution of files
./pgms exists
./src exists
./testdir exists