This file contains hidden or 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
" Enable modern Vim features not compatible with Vi spec. | |
set nocompatible | |
" Use the 'google' package by default (see http://go/vim/packages). | |
let google_vim = "/usr/share/vim/google/google.vim" | |
if filereadable(google_vim) | |
execute 'source' fnameescape(google_vim) | |
endif | |
" release autogroup in MyAutoCmd |
This file contains hidden or 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
;; 冷房, 16度(最低), 風速 自動, 風向 自動, ON->OFF | |
++------------------------------------- 電源ON/OFF | |
|| ++------------------------------- 温度のオフセット | |
|| || ++- チェックサム | |
23 CB 26 01 00 20 18 00 36 80 00 00 00 00 00 00 00 03 | |
23 CB 26 01 00 00 18 00 36 40 00 00 00 00 00 00 00 A3 | |
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
This file contains hidden or 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
void setup() | |
{ | |
Serial.begin(115200); | |
Serial.println("----"); | |
pinMode(13, INPUT); | |
} | |
enum State { | |
OFF = 0, |
This file contains hidden or 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
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <Stewitter.h> | |
/* Settings */ | |
const int irLedPin = 4; | |
const char* ssid = "ssid"; | |
const char* password = "password"; | |
Stewitter<WiFiClient> twitter("your_token"); |
This file contains hidden or 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
//! gcc -o mm.bin mm.c -W -Wall -O3 -std=gnu99 | |
/* | |
* mm.c | |
* | |
* Author: Makoto Shimazu <[email protected]> | |
* URL: https://amiq11.tumblr.com | |
* License: 2-Clause BSD License | |
* Created: 2015-12-14 | |
* | |
* |
This file contains hidden or 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
#include <netinet/in.h> | |
#include <netinet/ip.h> | |
#include <netinet/tcp.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <termios.h> |
This file contains hidden or 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
//! gcc -o skype_simple_serv.bin skype_simple_serv.c -W -Wall -O3 -std=gnu99 | |
/* | |
* skype_simple_serv.c | |
* | |
* Author: Makoto Shimazu <[email protected]> | |
* URL: https://amiq11.tumblr.com | |
* License: MIT License | |
* Created: 2015-06-22 | |
* | |
*/ |
This file contains hidden or 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
diff --git a/.gitignore b/.gitignore | |
index ba878d9..265d8fc 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -34,5 +34,6 @@ config.codekit | |
docker/fig.yml | |
docker/docker/Dockerfile | |
docker/docker/init_gogs.sh | |
+docker/docker/misc/ | |
gogs.sublime-project |
This file contains hidden or 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
//! g++ -o copy_multi_area copy_multi_area.cpp -W -Wall -std=c++11 -O3 -mavx -funroll-loops | |
/* | |
* copy_multi_area.cpp | |
* | |
* Author: Makoto Shimazu <[email protected]> | |
* URL: https://amiq11.tumblr.com | |
* License: MIT License | |
* Created: 2015-02-17 | |
* | |
*/ |
This file contains hidden or 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
#!/bin/bash | |
# | |
# git-feature | |
# | |
# Author: Makoto Shimazu <[email protected]> | |
# URL: https://amiq11.tumblr.com | |
# License: MIT License | |
# Created: 2015-01-06 | |
# |