http://www.nicovideo.jp/watch/1380872606
上記の動画を例にDL方法を解説する。
パラメータの取得
(defmacro def-print-string (name string) | |
`(defun ,name () | |
(let ((one (count t'(t)))) | |
(coerce | |
(mapcar #'code-char | |
(list | |
,@(loop :for i :across string | |
:collect | |
`(+ ,@(loop :for j := (char-code i) :then (floor j #.(count t'(t t))) |
from Crypto.Cipher import AES | |
from Crypto import Random | |
BS = 16 | |
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS) | |
unpad = lambda s : s[0:-ord(s[-1])] | |
class AESCipher: | |
def __init__( self, key ): | |
""" |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{16d51579-a30b-4c8b-a276-0ff4dc41e755}\ProgID] | |
@="Chakra" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{16d51579-a30b-4c8b-a276-0ff4dc41e755}\ProgID] | |
@="Chakra" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Chakra] | |
@="JScript Language" |
# INSTRUCTIONS: save as ~/.gdbinit | |
# REVISION : 6.1 | |
# CONTRIBUTORS: mammon_, elaine, pusillus, mong | |
# NOTES: 'help user' in gdb will list the commands/descriptions in this file | |
# 'context on' now enables auto-display of context screen | |
# | |
# CHANGELOG: | |
# Version 6.1 | |
# fixed filename in step_to_call so it points to /dev/null | |
# changed location of logfiles from /tmp to ~ |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
#!/bin/sh | |
# Use like this: | |
# | |
# minify-js.sh < app.js > app.min.js | |
# | |
curl -s \ | |
-d compilation_level=SIMPLE_OPTIMIZATIONS \ | |
-d output_format=text \ |
by https://github.com/erlang/otp/wiki/Writing-good-commit-messages
良いコミットメッセージは、重要な役割が、少なくとも三つあります。
;;; -*- mode: lisp; package: user -*- | |
#| | |
使い方(暫定): | |
1. どこかへ framework.l と nanri-master-change-tests.l をダウンロード | |
2. M-x load-file | |
load file: path/to/framework.l | |
3. M-x load-test-file | |
test file: path/to/nanri-master-change-tests.l | |
4. M-x change-tests |
#include <stdio.h> | |
#include <stdlib.h> | |
#include "librtmp/rtmp.h" | |
int main(int argc, char *argv[]) { | |
if (argc < 3) { | |
printf("usage : %s url ticket\n", argv[0]); | |
return 1; | |
} |