Skip to content

Instantly share code, notes, and snippets.

Keiichiro 9SQ

Block or report user

Report or block 9SQ

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@9SQ
9SQ / esp8266_WiFiClientSecure.ino
Last active Jan 12, 2020
Arduino core for esp8266 WiFiClientSecure
View esp8266_WiFiClientSecure.ino
#ifdef ESP8266
extern "C" {
#include "user_interface.h"
}
#endif
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
ADC_MODE(ADC_VCC);
@9SQ
9SQ / AndroidManifest.xml
Created Jan 3, 2016
Androidの通知領域ボタンで動作分け(singleTaskで多重起動防止)
View AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.quitsq.notify3button">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
@9SQ
9SQ / resource_log.sh
Last active Mar 9, 2016
リソースログ取得スクリプト
View resource_log.sh
#!/bin/sh
if [ $# != 2 ]; then
echo "Usage: $0 FILENAME TIME(sec)" 1>&2
exit 0
fi
echo "Start logging"
DATE=`date +%Y%m%d_%H%M%S`
dmidecode >> $1_dmidecode_${DATE}.txt
vmstat -S m -n 1 $2 | awk 'NR>1{OFS=","; $1 = $1;print strftime("%H:%M:%S"),$0; fflush()}' >> $1_vmstat_${DATE}.csv &
sar -n DEV 1 $2 >> $1_network_${DATE}.txt &
@9SQ
9SQ / solaseedair_timetable_20161030-20170325.csv
Created Nov 24, 2016
Solaseed Air Flight Schedule 2016/10/30 - 2017/03/25
View solaseedair_timetable_20161030-20170325.csv
number origin_jp destination_jp origin_airport_jp destination_airport_jp origin destination origin_airport destination_airport origin_code_iata destination_code_iata origin_code_icao destination_code_icao departure arrival
11 東京(羽田) 熊本 羽田 熊本 TOKYO(HANEDA) KUMAMOTO HANEDA KUMAMOTO HND KMJ RJTT RJFT 7:10 9:05
12 熊本 東京(羽田) 熊本 羽田 KUMAMOTO TOKYO(HANEDA) KUMAMOTO HANEDA KMJ HND RJFT RJTT 7:35 9:15
13 東京(羽田) 熊本 羽田 熊本 TOKYO(HANEDA) KUMAMOTO HANEDA KUMAMOTO HND KMJ RJTT RJFT 12:05 14:00
14 熊本 東京(羽田) 熊本 羽田 KUMAMOTO TOKYO(HANEDA) KUMAMOTO HANEDA KMJ HND RJFT RJTT 9:45 11:20
15 東京(羽田) 熊本 羽田 熊本 TOKYO(HANEDA) KUMAMOTO HANEDA KUMAMOTO HND KMJ RJTT RJFT 14:05 15:55
16 熊本 東京(羽田) 熊本 羽田 KUMAMOTO TOKYO(HANEDA) KUMAMOTO HANEDA KMJ HND RJFT RJTT 14:40 16:15
17 東京(羽田) 熊本 羽田 熊本 TOKYO(HANEDA) KUMAMOTO HANEDA KUMAMOTO HND KMJ RJTT RJFT 16:30 18:20
18 熊本 東京(羽田) 熊本 羽田 KUMAMOTO TOKYO(HANEDA) KUMAMOTO HANEDA KMJ HND RJFT RJTT 16:30 18:05
21 東京(羽田) 熊本 羽田 熊本 TOKYO(HANEDA) KUMAMOTO HANEDA KUMAMOTO HND KMJ RJTT RJFT 19:05 21:00
You can’t perform that action at this time.