Skip to content

Instantly share code, notes, and snippets.

View yume-yu's full-sized avatar
🤔

まっつん yume-yu

🤔
View GitHub Profile
-- MySQL dump 10.13 Distrib 5.7.40, for Linux (x86_64)
--
-- Host: localhost Database: testlink
-- ------------------------------------------------------
-- Server version 5.7.40
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

Keybase proof

I hereby claim:

  • I am yume-yu on github.
  • I am yume_yu (https://keybase.io/yume_yu) on keybase.
  • I have a public key whose fingerprint is 2947 4857 261E 301D B17E 2A38 223B AB8B 95E5 8197

To claim this, I am signing this object:

@yume-yu
yume-yu / config.toml.sample
Last active November 29, 2021 12:03
Twitter API Quick Start?
[global]
# plese do not change
Tweet_limit = 100
Tweet_id_buffer = 100
[APIkeys]
API_Key = "your apo key"
API_Key_Secret = "your app key secret"

daiko-bot 開発環境構築

from pprint import pprint
import connectgoogle as con
from apiclient.http import MediaFileUpload
gcon = con.ConnectGoogle()
file_metadata = {
"name": "img.jpg",
"mimetype": "image/jpeg",
"parents": ["1WM6yJVBgoqU9azui7d_EhGuFp5KDIjAN"],
from __future__ import print_function
import datetime as dt
import os.path
import pickle
import re
import sys
import googleapiclient.errors as g_errors
from google.auth.transport.requests import Request
import pickle
from pprint import pprint
from googleapiclient.discovery import build
# con = cg.ConnectGoogle()
TOKEN_FILENAME = "token.pickle"
creds = None
with open(TOKEN_FILENAME, "rb") as token:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>EmailAccountDescription</key>
<string>i.softbank.jp</string>
<key>EmailAccountName</key>
@yume-yu
yume-yu / CardStyleView_inGoogleResult.user.js
Last active June 20, 2019 09:40
Card style View in Google result for Tampermonkey
// ==UserScript==
// @name Card style View in Google result
// @namespace https://twitter.com/yume_yu
// @homepage https://github.com/yume-yu/CardStyleView-in-GoogleResult
// @supportURL https://twitter.com/yume_yu
// @version 0.5
// @description This scripts add cardView to your GoogleSearchResult.
// @author @yume_yu
// @match https://www.google.com/search*
// @match https://www.google.co.jp/search*
@yume-yu
yume-yu / Dアニメストア(Chrome).js
Last active May 6, 2019 05:56
safari/Chromeでwebページをアプリケーションっぽく立ち上げるJavascript(JXA)
function openApp(tab,width,height){
delay(1);
var scr = "window.open('https://anime.dmkt-sp.jp/animestore/tp_pc', 'DanimeStore', 'top= 0, left="+(height-820)+", width=820, height=484, toolbar=yes')";
tab.execute({javascript: scr});
}
var app = Application("System Events");
var displayWidth = 1050;
var displayHeight = 1680;
app.activate();