Skip to content

Instantly share code, notes, and snippets.

View koluku's full-sized avatar

koluku koluku

View GitHub Profile
@koluku
koluku / masonry.js
Last active August 29, 2015 13:57
jQuery Masonryのカラム構成時における指定の方法 StackOverflowで見つけた解決方法。参考にしたURLが見つからなかったためここに保存
var $container = $(".js-masonry");
$container.masonry("bindResize", {
columnWidth: function(containerWidth) {
return containerWidth /4;
},
itemSelector: ".js-masonry__item"
});
@koluku
koluku / hackadoll
Last active April 21, 2023 20:55
ハッカドールソースコメント コメントが消える直前に取得したソースコメント。多分最後のコメントを保存しているのはこれだけだと思う。 リビジョンで最後に取得したことを証明できるので参考までに。 2014-08-12 13:59 view-source:hackadoll.com
<!--
--
もう時間がないのでここにログだけ残す。
--

CSS Layouts

.bbp-reply-content p {
text-indent: 1em;
}
section.article
div.article-header
time.article-date 2016-01-08
span.article-category 制作Tips
h3.article-title
a(href="#") IE8、9、10のサポートが終了します(Vista IE9は継続)
div.article-content
p <img src="http://placehold.it/720x320">
p 日本時間で13日ですが、ようやく仮想マシンを立ててデザインを確認して発狂することから解放されますね!でも、1つ落とし穴がありますよ!
blockquote
void setup() {
size(400, 300);
}
float startX = 10;
float startY = 10;
float initDx = 1;
float initDy = 2;
float boalWidth = 3;
float boalHeight = 3;
@koluku
koluku / breakout.pde
Created May 27, 2016 02:02
ブロック崩しの途中 2016-05-27 11:00
PImage img;
void setup() {
size(400, 580);
frameRate(30);
img = loadImage("background.jpg");
// block count
int [] blockCount = new int[blockItems];
/*
* Exercise 8-1a, oddmm.c
*/
#include <stdio.h>
int main(void){
int i = 0;
int max = 0, min = 0, log;
@koluku
koluku / factor.c
Last active November 28, 2016 03:38
/*
* Exercise 8-1b, factor.c
*/
#include <stdio.h>
int main(void){
int i, j;
/*
* Exercise 8-2a, shiritori.c
*/
#include <stdio.h>
#include <string.h>
int main(void){
int i = 0;