ソースの質に関してはお察しください
- Mac ( XQuartz が必要です。 ここからダウンロードしてください。)
clang++ reflection_reflaction.cpp -std=c++11 -I /usr/X11R6/include -L /usr/X11R6/lib -l X11| #!/usr/bin/env ruby | |
| require 'capybara' | |
| # require 'capybara/poltergeist' | |
| require "selenium-webdriver" | |
| Capybara.current_driver = :selenium | |
| url = "http://qrlogic.pwn.seccon.jp:10080/game/" |
| #include <Wire.h> // I2C用 | |
| #include <ADXL345.h> // 加速度センサ用 | |
| #include <TimerOne.h> //timer1 //timer0はdelay、timer2はtoneで使われてる(´・ω・`) | |
| // #include "dtmtdatas.h" | |
| #include "Helper.h" | |
| // val の値を min と max の値に収まるようにする | |
| // val < min :=> min | |
| // min <= val <= max :=> val |
| #!/usr/bin/env ruby | |
| class Array | |
| alias_method :top, :last | |
| end | |
| def eval_rpn(stack) | |
| commands = { | |
| "+": ->x, y { x + y }, | |
| "-": ->x, y { x - y }, |
| /* package whatever; // don't place package name! */ | |
| import java.util.*; | |
| import java.lang.*; | |
| import java.io.*; | |
| /* Name of the class has to be "Main" only if the class is public. */ | |
| class Test | |
| { | |
| public static void main (String[] args) throws java.lang.Exception |
| NSData *recordedPcm; | |
| AVAudioPlayer *player; | |
| AudioQueueRef audioQueue; | |
| AudioQueueBufferRef audioQueueBuffers; | |
| // Queue/Buffer への追加は playPCM での1回しかしないため、コールバックでは何もしない (必要があればここで追加) | |
| static void AQOutputCallback(void *userData, AudioQueueRef audioQueueRef, AudioQueueBufferRef audioQueueBufferRef) { | |
| return; | |
| } |
| #include<stdio.h> | |
| #include<stdbool.h> | |
| void print_bit_string(unsigned char n) { | |
| for(int i=7; 0<=i; i--) { | |
| printf("%d", (n >> i) & 1); | |
| } | |
| } | |
| unsigned char slice_bit_string(unsigned char data[], int data_len, char slice_unit, int idx) { |
| // Rounding methods implementation in C | |
| // 2014 kyontan No Rights Reserved (CC0) | |
| // https://creativecommons.org/publicdomain/zero/1.0/deed.ja | |
| /* Supporting methods | |
| - ceil (round up) | |
| - floor (round down) | |
| - truncate (round towards zero) | |
| - round off (round half up) | |
| - JIS Z8401:1999 round (round to the nearest even) |
ソースの質に関してはお察しください
clang++ reflection_reflaction.cpp -std=c++11 -I /usr/X11R6/include -L /usr/X11R6/lib -l X11| .cf:after { | |
| content: ""; | |
| display: table; | |
| clear: both; | |
| } |