Skip to content

Instantly share code, notes, and snippets.

View basictomonokai's full-sized avatar

basictomonokai

View GitHub Profile
class: center, middle
# micro:bitの実験
# 2018/09/08
# 勉強結果
---
## はじめに
class: center, middle
# ガジェット
# ドシロウトが
# 好きなもの
---
class: center, middle
@basictomonokai
basictomonokai / bkup.gs
Created May 1, 2018 04:50
GAS txtファイルのコピー作成
function svrmemobkpa1() {
// バックアップ元ファイル名
var svrfilenamearray = [ "textf1.txt",
"textf2.txt",
"textf3.txt",
"textf4.txt",
"textf5.txt",
"textf6.txt",
"textf7.txt",
@basictomonokai
basictomonokai / readdata.bas.txt
Created March 18, 2018 10:18
read.data の簡単なテスト BASIC!
! read.data の簡単なテスト
for i=1 to 5
read.next aaa
print aaa
next
end
@basictomonokai
basictomonokai / spread.gs
Last active April 17, 2018 22:49
GAS スプレッドシート更新のスニペット
function testspdmain() {
var reqspd2 = testspd2('メモテスト9','カテゴリー1','内容9');
if (reqspd2 = "ok") {
Logger.log('実行結果OK');
} else {
Logger.log('実行結果NG');
}
}
function testspd2(dai,cate,naiyo) {
@basictomonokai
basictomonokai / demomulti2.html
Created January 25, 2018 02:47
Tweets-loader.js の 3並列表示版
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
<title>Tweets-Loader Demo</title>
<style>
body {
margin: 0;
font-size: 2.5vmin;
@basictomonokai
basictomonokai / index5.html
Created December 17, 2017 02:56
英単語辞典 Python+Flask+Jinja2版
<!-- index.html -->
<!DOCTYPE html>
<html lang="ja">
<head>
<style>
#word {
background-color: #ecf0f1;
font-size: 1.5em;
margin: 10px 0px;
border-radius: 5px;
@basictomonokai
basictomonokai / acepythonnama.html
Last active December 13, 2017 08:27
簡易Pythonエディタ(プロ生版)
<!DOCTYPE html>
<html lang="en">
<head>
<title>ACE in Action</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<style type="text/css" media="screen">
#editor {
position: fixed;
@basictomonokai
basictomonokai / acepython.html
Last active December 13, 2017 08:26
簡易Pythonエディタ
<!DOCTYPE html>
<html lang="en">
<head>
<title>ACE in Action</title>
<style type="text/css" media="screen">
#editor {
position: fixed;
top: 50px;
right: 0%;
bottom: 0%;
@basictomonokai
basictomonokai / dic-search.py
Created December 9, 2017 08:26
英単語辞書のpythonプログラム
from tkinter import *
import win32api
## 検索関数
def click():
## 入力用インプットボックスから検索文字列を取得
entered_text=textentry.get()
## 入力チェック
if entered_text == "":