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
//! gcc -o multikeyquicksort.bin multikeyquicksort.c -W -Wall -O3 -std=gnu99 | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
typedef char * string; |
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
//! gcc -o heaptree.bin heaptree.c -W -Wall -O0 -g -std=gnu99 | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
typedef int htree_value_t; | |
typedef int (*htree_cmp_t)( const htree_value_t *, const htree_value_t *); |
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
//! make arenaoverflow.bin | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <mruby.h> | |
#include <mruby/compile.h> | |
#include <mruby/value.h> |
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
<html> | |
<head> | |
<script type="text/javascript" src="kmeans.js"></script> | |
</head> | |
<body onload="kmeans.reset()"> | |
<form name="f"> | |
<input type="button" onclick="kmeans.reset()" value="start"><input type="button" value="step" onclick="kmeans.step()"><br/> | |
<br/> | |
<canvas id="field" width="1024" height="768"><br/> | |
</body> |
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
#include <stdio.h> | |
#include <syslog.h> | |
int main(void) | |
{ | |
printf("Hello World!\n"); | |
openlog("testmsg", LOG_CONS|LOG_PID, LOG_USER); | |
syslog(LOG_WARNING, "Hello World!\n"); | |
closelog(); | |
printf("syslog is closed\n"); |
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
#include <fstream> | |
#include <sstream> | |
#include <stdexcept> | |
#include "led.h" | |
using namespace pile; | |
using namespace std; | |
LED::LED(int id) | |
{ |
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
"<input type="button" onclick="document.write('<scrip'+'t>for(i=0;i<1000;i++){alert(¥'X'+'SS¥');}</scrip'+'t>')" value="xxx"/> |
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/bash | |
# | |
# git-feature | |
# | |
# Author: Makoto Shimazu <makoto.shimaz@gmail.com> | |
# URL: https://amiq11.tumblr.com | |
# License: MIT License | |
# Created: 2015-01-06 | |
# |
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
//! g++ -o copy_multi_area copy_multi_area.cpp -W -Wall -std=c++11 -O3 -mavx -funroll-loops | |
/* | |
* copy_multi_area.cpp | |
* | |
* Author: Makoto Shimazu <makoto.shimaz@gmail.com> | |
* URL: https://amiq11.tumblr.com | |
* License: MIT License | |
* Created: 2015-02-17 | |
* | |
*/ |
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
diff --git a/.gitignore b/.gitignore | |
index ba878d9..265d8fc 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -34,5 +34,6 @@ config.codekit | |
docker/fig.yml | |
docker/docker/Dockerfile | |
docker/docker/init_gogs.sh | |
+docker/docker/misc/ | |
gogs.sublime-project |
OlderNewer