視聴予定のものだけ
※太字斜体は録画予約がまだのもの
- 24:30 サンテレビ ウィザード・バリスターズ~弁魔士セシル 1/12~
- 25:00 サンテレビ のうりん 1/12~
- ニコニコアニメチャンネル GO! GO! 575 1/12~
seq 1 99999999999 | awk '{ | |
for(i=1;i<=11;i++){ | |
a=int($0/(10^(i-1))); | |
b=a-int(a/10)*10; | |
if(i<=6){ | |
sum+=b*(i+1) | |
} else { | |
sum+=b*(i-5) | |
} | |
}; |
@rem ' | |
@echo off | |
set P="/mnt/%~f0" | |
set P=%P:\=/% | |
set P=%P::=% | |
set P=%P:/mnt/C/=/mnt/c/% | |
set P=%P:/mnt/D/=/mnt/d/% | |
bash.exe %P% %* |
import java.util.stream.IntStream; | |
public class Main { | |
public static void main(String[] args) { | |
IntStream.range(1, 100).boxed() | |
.map(n -> n % 15 == 0 ? "FizzBuzz" | |
: n % 5 == 0 ? "Buzz" | |
: n % 3 == 0 ? "Fizz" | |
: n) | |
.forEach(System.out::println); |
#!/bin/bash | |
R=$1 | |
G=$2 | |
B=$3 | |
/usr/bin/osascript <<EOF | |
tell application "iTerm" | |
tell current session of current window | |
set background color to {$(($R*65535/255)), $(($G*65535/255)), $(($B*65535/255))} |
@if (1==1) /* | |
@if "%~2"=="" goto :USAGE | |
@if "%~1"=="/?" goto :USAGE | |
@rem --------------------------- | |
:MAIN | |
@CScript //nologo //E:JScript "%~f0" "%~1" "%~2" | |
@exit /b | |
@rem --------------------------- |
NEWHOSTNAME=$1 | |
ROOTPASSWD=$2 | |
# Keymap | |
loadkeys jp106 | |
# Setup HDD | |
parted /dev/sda mklabel gpt | |
parted /dev/sda mkpart primary btrfs 1049KB 8591MB | |
parted /dev/sda mkpart primary linux-swap 8591MB 10.7GB |
boot.bin: boot.asm | |
nasm -f bin boot.asm -o boot.bin | |
qemu: boot.bin | |
qemu-system-x86_64 -curses boot.bin | |
clean: | |
rm *.bin |
private FormFactory formFactory; | |
private Form<SearchForm> form() { | |
return formFactory.form(SearchForm.class); | |
} | |
public Result index() { | |
val form = new SearchForm(); | |
return ok(views.html.index.render(form().fill(form))); | |
} |
# create "Christmas" | |
echo 4368726973746d6173 | gsed 's/./&\n/g' | xargs -n 2 | gsed 's/^/:/g' | xargs | tr -d ' ' | nkf --cap-inpu | |
# V2 | |
echo `echo '3^5*37*43*113'|bc``echo '2*3^2*17*241'|bc`d6173|gsed 's/./&\n/g'|xargs -n 2|sed 's/^/:/g'|xargs|tr -d ' '|nkf --cap-input | |
# tree | |
jot 10 1 10|awk '{print "paste -d . <(yes \" \"|head -"11-$1"|tr -d \"\\n\") <(yes \"#\"|head -"$1*2-1"|tr -d \"\\n\")"}'|bash | |
# tree on ruby (http://www.reddit.com/r/programming/comments/er5ym/ruby_code_drawing_a_christmas_tree_in_less_than/) |