Skip to content

Instantly share code, notes, and snippets.

@ikaruga777
ikaruga777 / hue.rb
Last active June 4, 2016 07:43
hue
#hueのライトをいい感じに点滅させながらSense 2007を再生するプログラム
require 'hue'
#mp3再生するコマンド
Sense_2007 = 'afplay Sense2007.mp3'
begin
pid = spawn(Sense_2007+'&' , in: "/dev/null", out:"/dev/null", err: "/dev/null")
puts pid
hue = Hue::Client.new

山手の線すごろくってなんですか

山手線の各駅をマスに見立てて、すごろくをするリアルゲームです。

いつやるんすか

11/12 13:00スタート予定
12:30集合にしたい。 乱入歓迎

どうすすめるんですか

体系的に学ぶ安全なWebアプリケーションの作り方

2011年に発売された書籍の第二版が2018年6月に発売された。

目次

  1. Webアプリケーションの脆弱性とは
  2. 実習環境のインストール
  3. Webセキュリティの基礎
  4. Webアプリケーションの機能別にみるセキュリティバグ
  5. Webアプリケーションの機能と脆弱性の対応
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ikaruga777
ikaruga777 / helixfont.h
Last active September 7, 2018 22:27
helix pepabo oled
// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0.
// See gfxfont.h for newer custom bitmap font info.
#ifndef FONT5X7_H
#define FONT5X7_H
#ifdef __AVR__
#include <avr/io.h>
#include <avr/pgmspace.h>
#elif defined(ESP8266)
@ikaruga777
ikaruga777 / keymap.c
Created January 6, 2019 09:30
ergodash_ble
/*
Copyright 2018 Sekigon
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@ikaruga777
ikaruga777 / README.md
Last active March 18, 2019 18:12
m5stack

これが原稿です。

この章ではmicropythonでWifiスキャナーを作ります。周りの2.4GHz帯のWifiリストを出しつつ、電波強度を音の高さで表すことができます。

micropythonのファームウェアを焼く

ampy, screenでデバッグする

wifi.scanの結果を出力する

@ikaruga777
ikaruga777 / main.py
Last active March 20, 2019 15:00
M5Stack入門のコード
from m5stack import *
import network
import time
import _thread
class WifiList:
def __init__(self, fontHeight):
self.access_points = []
self.cursor = 0
self.fontHeight = fontHeight