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"
});

CSS Layouts

.bbp-reply-content p {
text-indent: 1em;
}
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];
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
/*
* Exercise 8-1a, oddmm.c
*/
#include <stdio.h>
int main(void){
int i = 0;
int max = 0, min = 0, log;
/*
* Exercise 8-2a, shiritori.c
*/
#include <stdio.h>
#include <string.h>
int main(void){
int i = 0;
/*
* Exercise 8-2b, shiritorifile.c
*/
#include <stdio.h>
#include <string.h>
int main(void){
char name[256];
#!/bin/sh
brew update
pip-review -a
gem update
npm update -g