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
/* | |
posiitoning utility | |
*/ | |
/** | |
* Set position and top, left, ... | |
* @prop {string} $position | |
* @prop {=number} $top | |
* @prop {=number} $right | |
* @prop {=number} $bottom |
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
'use strict'; | |
/** | |
* shuffle an array | |
* | |
* @param {Array} arr | |
* @return {Array} | |
*/ | |
export default (arr) => arr.sort( s => .5 - Math.random()) |
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
yarn add --dev babel-cli babel-core babel-eslint babel-loader babel-preset-es2015 babel-preset-stage-0 && yarn add babel-polyfill |
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
APP_ENV=local | |
APP_DEBUG=true | |
APP_KEY=lYk7nItv6vZD34lyijQcQr8Hheb9kJpT | |
## DB settings for Host | |
DB_HOST=localhost:33060 | |
DB_DATABASE=homestead | |
DB_USERNAME=homestead | |
DB_PASSWORD=secret |
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
import os, sys, random, string, tempfile | |
from urllib.request import urlopen | |
from urllib.parse import urlparse | |
from shutil import copyfileobj | |
from PIL import Image | |
src = sys.argv[1:] | |
def url_basename (url): | |
""" |
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
import json | |
import urllib.request | |
from html.parser import HTMLParser | |
# Define URLs | |
SOURCE_URL = 'https://www.creativeman.co.jp/event/arch_e2018/' | |
IFTTT_ENDPOINT = 'https://maker.ifttt.com/trigger/arch_enemy_concert_parsed/with/key/cTU_U2Z-OUABzEYyhS3EFe' | |
class Parser(HTMLParser): |
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
// ==UserScript== | |
// @name Skip Image Preview on Backlog | |
// @namespace http://senta.me/ | |
// @version 0.1 | |
// @description View an image directly instead of the useless preview | |
// @author @__senta | |
// @match https://*.backlog.jp/ViewAttachment.action?attachmentId=* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Tinder Force Like | |
// @namespace http://senta.me/ | |
// @version 0.1.0 | |
// @description Like all girls/guys on tinder.com | |
// @author @__senta | |
// @match https://tinder.com/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Backlog Gantt Chart Styles | |
// @namespace http://senta.me/ | |
// @version 0.1.3 | |
// @description Add styled on Backlog.jp to show the ticket IDs | |
// @author @__senta | |
// @match https://*.backlog.jp/gantt/* | |
// @match https://*.backlog.jp/ViewProjectGantt.action* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name no more BLANK on Amazon | |
// @namespace http://senta.me/ | |
// @version 0.1.0 | |
// @description Remove target="_blank" on Amazon | |
// @author @__senta | |
// @match https?://amazon.co.jp/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |