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
#! /usr/bin/env perl | |
# Gist ssh-clone script | |
# Help: $ perl git-clone-ssh.pl --help | |
# (c) Masanori Ohgita (http://ohgita.info/) - 2013, MIT License. | |
use warnings; | |
use strict; | |
use utf8; | |
use File::Basename qw//; |
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
/** | |
ArduinoProMini_FelicaPlug_Type3_RW.ino | |
Felica PlugのArduino向けライブラリに付属されているサンプルを基に改変 | |
(ライブラリ: http://blog.felicalauncher.com/sdk_for_air/?page_id=2419) | |
**/ | |
#define CONFIG_FELICA_PLUG_EEPROM | |
#include <EEPROM.h> | |
#include <FeliCaPlug.h> | |
#include <inttypes.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
#!/usr/bin/env perl | |
# Arch Linux - Linux kernel rebuild script for Let's note CF-S10 series | |
# https://gist.github.com/mugifly/9582654/ | |
# Required: perl 5.x | |
use strict; | |
use warnings; | |
use utf8; | |
use Cwd; | |
use File::Path; |
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
北海道 | ほっかいどう | hokkaido | |
---|---|---|---|
青森県 | あおもり | aomori | |
岩手県 | いわて | iwate | |
宮城県 | みやぎ | miyagi | |
秋田県 | あきた | akita | |
山形県 | やまがた | yamagata | |
福島県 | ふくしま | fukushima | |
茨城県 | いばらき | ibaraki | |
栃木県 | とちぎ | tochigi | |
群馬県 | ぐんま | gumma |
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
-- FlashAir Lua objects dumper | |
-- For FlashAir 3rd generation or newer | |
-- 1. Put this file to the root directory of the card | |
-- 2. Connect to card. Then access to http://flashair/dumper.lua | |
print("HTTP/1.0 200 OK\r\n\r\n") | |
for i,v in pairs(_G) do | |
print(i) | |
print(v) | |
local t = type(v) |
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
var $ = require('jquery')(require('jsdom-no-contextify').jsdom().parentWindow); | |
// Support for Cross-domain request with using jQuery | |
// See: http://garajeando.blogspot.jp/2012/06/avoiding-xmlhttprequest-problem-using.html | |
var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest; | |
$.support.cors = true; | |
$.ajaxSettings.xhr = function () { | |
return new XMLHttpRequest; | |
} |
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
#!/usr/bin/env perl | |
# Detector for animated GIF image (perl5) | |
# Based on http://d.hatena.ne.jp/namanamanamana/20090415/1239729068 Thanks. | |
use strict; | |
use warnings; | |
use LWP::UserAgent; | |
# Fetch a GIF image | |
my $ua = LWP::UserAgent->new(); | |
my $res = $ua->get('http://example.com/foo-animation.gif'); |
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
box: node | |
build: | |
steps: | |
- npm-install | |
- npm-test | |
- script: | |
name: echo nodejs information | |
code: | | |
echo "node version $(node -v) running" | |
echo "npm version $(npm -v) running" |
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
# Maintainer: Masanori Ohgita <mp_aur[at]ohgita[dot]info> | |
pkgname=odenwlan-node | |
pkgver=1.3.0 | |
pkgrel=1 | |
pkgdesc="An automatic login tool for Wi-Fi of OECU" | |
url="https://github.com/odentools/odenwlan-node/" | |
arch=('i686' 'x86_64') | |
license=('MIT') | |
depends=('nodejs>=4.1.1' 'npm>=3.3.4') | |
makedepens=('git') |
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
# Docker container for whole process | |
box: ubuntu | |
# Additional services | |
services: | |
- id: mysql | |
env: | |
MYSQL_ROOT_PASSWORD: test | |
MYSQL_USER: test | |
MYSQL_PASSWORD: test |