Skip to content

Instantly share code, notes, and snippets.

View aki017's full-sized avatar
:shipit:
RETIRED

Akiteru Maeda aki017

:shipit:
RETIRED
View GitHub Profile
Category Key English Japanese Notes
main menu menu1 Continue Game 続きから -1
menu2 Start Game with Tutorial チュートリアルから始める -1
menu3 Start Game ゲームを始める -1
menu4 Options オプション -1
menu6 Credits クレジット -1
menu5 Quit Game ゲームを終了 -1
menu7 Save Manager セーブマネージャー -1
menu8 Atlas 図鑑 -1
credits cr1 Backpack Hero was created by: Backpack Hero 制作: -1
@aki017
aki017 / setting.json
Created December 17, 2019 07:02
MouseDictionary
{
"shortWordLength": 2,
"cutShortWordDescription": 30,
"parseWordsLimit": 8,
"lookupWithCapitalized": false,
"initialPosition": "right",
"scroll": "scroll",
"backgroundColor": "#ffffff",
"headFontColor": "#000088",
"descFontColor": "#101010",
@aki017
aki017 / main.c
Created September 26, 2017 21:05
esp32 esp-idf oled ssd1306 lifegame sample
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp32-oled-ssd1306/include/ssd1306.h"
#include "esp32-oled-ssd1306/include/fonts.h"
#include <string.h>
uint16_t get_index(uint8_t x, uint8_t y) {
return x + (y / 8) * 128;
}
@aki017
aki017 / TwitterUtils.cs
Created June 29, 2017 19:13
Tweet From UnityRoom
using UnityEngine;
namespace MyUnityLib
{
public static class TwitterUtils
{
public static void Tweet(string text)
{
Application.ExternalEval(
"window.addEventListener('mouseup', function (e) {"+
@aki017
aki017 / screenshot.cs
Created May 25, 2017 12:08
screenshot
var camWidth = Screen.width;
var camHeight = Screen.height;
var rt = new RenderTexture(camWidth, camHeight, 24);
Camera.main.targetTexture = rt;
var snapShot = new Texture2D(camWidth, camHeight, TextureFormat.RGB24, false);
Camera.main.Render();
RenderTexture.active = rt;
snapShot.ReadPixels(new Rect(0, 0, camWidth, camHeight), 0, 0);
function myFunction() {
var user_name = "aki";
var pass = "1234567";
var data = {data: "dummy"};
var score = Math.random();
main("Log", user_name, pass, data, score);
}
function hash(key, value) {
return Utilities.base64Encode(Utilities.computeHmacSha256Signature(value, key));
@aki017
aki017 / test.rb
Created November 12, 2016 01:02
arg name
def search_method_add_arg(sexp, indent = 0)
results = []
if sexp[0] == :method_add_arg
results << sexp
end
sexp.each do |s|
if s.is_a? Array
results += search_method_add_arg(s, indent+2)
end
end
@aki017
aki017 / main.go
Last active October 24, 2016 11:26
Slacktee
package main
import (
"flag"
"fmt"
"io"
"os"
"time"
"github.com/nlopes/slack"
@aki017
aki017 / tmux-wsl.patch
Last active October 6, 2016 10:09
tmux2.3 WSL(Bash on Windows, Windows Subsystem for Linux) patch
--- osdep-linux.c 2016-01-21 09:00:28.000000000 +0900
+++ osdep-linux.c 2016-10-06 18:58:31.307743300 +0900
@@ -21,6 +21,7 @@
#include <sys/param.h>
#include <event.h>
+#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@aki017
aki017 / time.log
Created October 4, 2016 11:54
neovim
NVIM v0.1.5
Build type: Release
Compilation: /usr/bin/cc -Wconversion -O2 -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/home/aki/repo/github.com/neovim/neovim/build/config -I/home/aki/repo/github.com/neovim/neovim/src -I/home/aki/repo/github.com/neovim/neovim/.deps/usr/include -I/home/aki/repo/github.com/neovim/neovim/.deps/usr/include -I/home/aki/repo/github.com/neovim/neovim/.deps/usr/include -I/home/aki/repo/github.com/neovim/neovim/.deps/usr/include -I/home/aki/repo/github.com/neovim/neovim/.deps/usr/include -I/home/aki/repo/github.com/neovim/neovim/.deps/usr/include -I/usr/include -I/home/aki/repo/github.com/neovim/neovim/build/src/nvim/auto -I/home/aki/repo/github.com/neovim/neovim/build/include
Compiled by aki@DESKTOP-DMGBD37
Optional features included (+) or not (-): +acl +iconv +jemalloc +tui
For differences from Vim, see :help v