Problem | Title |
---|---|
Start100 | Welcome to SECCON |
Binary100 | Reverse it |
Binary100 | Shuffle |
Binary200 | Let's disassemble |
Crypto100 | Easy Cipher |
Crypto200 | Decrypt it (Easy) |
Crypto300 | Decrypt it (Hard) |
Crypto400 | Ms.Fortune? Misfortune. : 4096-bit RSA |
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 | |
while true; do | |
while [ -z "$(top -bn1 | grep -E ' (xst|xlicmgr|ngcbuild|xtclsh|ngdbuild|map|par|trce|bitgen)' | grep -v 'defunct')" ]; do | |
echo "Not Running\033[1A" | |
sleep 5 | |
done | |
paplay $1 & |
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
// usage: node wikipedia.js バールのようなもの 鈍器 | |
var scraper = require('scraper'); | |
var fs = require('fs'); | |
process.argv.forEach( | |
function (v, i) | |
{ | |
if (i < 2) return; | |
scraper('http://ja.wikipedia.org/wiki/' + v, | |
function (err, $) |
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
'Usage: run.vbs "notepad run.vbs" | |
Set ws = WScript.CreateObject("Wscript.Shell") | |
command = "wonderful.bat " & WScript.Arguments(0) | |
'MsgBox command | |
ws.Run command, 0 | |
Set ws = Nothing |
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
var request = require("request"); | |
var url = 'https://twitter.com/users/username_available?context=signup&username=is_eri23'; | |
request({ url: url, json: true }, | |
function (error, response, body) | |
{ | |
if (!error && response.statusCode === 200 && body.valid) | |
console.log('is_eri23 available!'); | |
}); |
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
\begin{tikzpicture}[scale=0.2] | |
\tikzstyle{every node}+=[inner sep=0pt] | |
\draw [black] (38,-6.2) circle (3); | |
\draw (38,-6.2) node {$1$}; | |
\draw (43,-6.2) node {$1$}; | |
\draw [black] (27.8,-14.3) circle (3); | |
\draw (27.8,-14.3) node {$2$}; | |
\draw (32.8,-14.3) node {$2$}; | |
\draw [black] (48.5,-14.3) circle (3); | |
\draw (48.5,-14.3) node {$3$}; |
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
hist.from.freq <- function (range, freq, normalize = F, main = "Histogram") { | |
wid <- s[2] - s[1] | |
range <- range - wid / 2 | |
range[length(range) + 1] <- range[length(range)] + wid | |
if (normalize) freq <- freq / sum(freq) | |
dat <- list(breaks = range, counts = freq) | |
attr(dat, "class") <- "histogram" | |
plot(dat, main = main, ylab = ifelse(normalize, "Probability", "Frequency")) | |
} |
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
[ | |
{ | |
"folders": [], | |
"usageCount": 9, | |
"modes": [], | |
"abbreviation": { | |
"ignoreCase": false, | |
"wordChars": "[\\w]", | |
"immediate": false, | |
"abbreviation": 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
set mouse-utf8 on | |
set -g mode-mouse on | |
set -g mouse-resize-pane on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' |
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
l=location;l.href='//dl.acm.org/citation.cfm?id='+l.href.split('/')[5] | |
// 70 bytes | |
/* | |
ACM DLの論文PDFをブラウザで開いているとき,そのままシャットダウンし,次に起動してタブを復元しても | |
セッションが切れているか何かでファイルが開けず,元のファイルへのリンクも見当たらないという問題があるが | |
それへの対処に使えるbookmarklet. | |
*/ |
OlderNewer