Skip to content

Instantly share code, notes, and snippets.

View kyontan's full-sized avatar
♨️

kyontan kyontan

♨️
View GitHub Profile
@Gab-km
Gab-km / github-flow.ja.md
Last active April 23, 2025 04:19 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)
@hs0ucy
hs0ucy / media-queries-samples.css
Created September 21, 2012 17:48
Media Queries for Standard Devices
/*
* From css-tricks.com
* http://css-tricks.com/snippets/css/media-queries-for-standard-devices/
*/
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
@matsumotory
matsumotory / gist:4993058
Created February 20, 2013 05:08
embeddable microhttpd
//
// gcc -lmicrohttpd mhd.c
//
#include <string.h>
#include <sys/types.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <microhttpd.h>
@Akkiesoft
Akkiesoft / lcd.rb
Last active March 29, 2017 09:20
ストロベリー・リナックスのSB1602BWかスイッチサイエンスのI2C LCDを使って、Felica系カードの残高を表示するスクリプト。OSCのデモとかで使用中。
# coding: utf-8
# IC balance checker / 2013-2015 @Akkiesoft
# Licence:
# MIT License
# references:
# http://homepage3.nifty.com/slokar/pasori/libpafe-ruby.html
# http://iccard.jennychan.at-ninja.jp/format
require 'wiringpi'
@zakky-dev
zakky-dev / opopassign.d
Created January 28, 2014 14:41
opOpAssignで遊んでみる
import std.stdio;
class Test {
private string _value;
this(string value) {
this._value = value;
}
Test opOpAssign(string op)(Test delegate(string) test) if(op == ">>") {
/*
Copyright © 2014 Hidekazu Kobayashi
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
@hayajo
hayajo / 00.md
Last active March 8, 2020 16:05
NDS#36 Go言語入門
@alphaKAI
alphaKAI / test_glfw.d
Created March 31, 2014 04:53
The sample of GLFW3 and OpenGL. requirements: Derelict3, libglfw(3) : $ dmd test_glfw.d lib/libDerelictGL3.a lib/libDerelictUtil.a lib/libDerelictGLFW3.a -L/usr/lib/libdl.so -L/usr/lib/libglfw.so
import derelict.opengl3.gl,
derelict.opengl3.gl3,
derelict.glfw3.glfw3;
class TestGlfw{
static int width = 800;
static int height = 600;
static GLFWwindow* window;
this(){
@benevolent0505
benevolent0505 / README.md
Last active August 29, 2015 14:05
2014年度合宿用プログラム

2014年度合宿用スクリプト

2014年度の合宿参加者の集計に使ったプログラムの一覧。 コードの質はお察し下さい。 詳しく聞きたかったらbenevolent0505に連絡を。

first_members_to_csv.rb

第一回参加希望者の一覧を出力をしてくれるプログラム。

#!ruby
if false
class C
def m
xxxx
end
end
def mm
yyyy