This file contains 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 animete_make_flame(int width,int height,int x,int y){ | |
int current_x; //アニメーション中のフレームの現在の左上x座標 | |
int current_y; //アニメーション中のフレームの現在の左上y座標 | |
int current_width; //アニメーション中のフレームの現在の幅 | |
int current_height; //アニメーション中のフレームの現在の高さ | |
//開始時の座標に中心座標をセット |
This file contains 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 animete_make_flame_speedfix(int width,int height,int x,int y){ | |
int current_x; //アニメーション中のフレームの現在の左上x座標 | |
int current_y; //アニメーション中のフレームの現在の左上y座標 | |
int current_width; //アニメーション中のフレームの現在の幅 | |
int current_height; //アニメーション中のフレームの現在の高さ | |
int width_blank; //アニメーション中に幅が伸びる量 | |
int height_blank; //アニメーション中に高さが伸びる量 |
This file contains 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
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(); |
This file contains 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
// ==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* |
This file contains 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
<?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> |
This file contains 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
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: |
This file contains 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
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 |
This file contains 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
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"], |
This file contains 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
[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" |
OlderNewer