Skip to content

Instantly share code, notes, and snippets.

Avatar
I may be slow to respond.

anon anon5r

I may be slow to respond.
View GitHub Profile
@anon5r
anon5r / LaunchGame.json
Last active Jan 27, 2022
Launch KONASTE Game by Power Automate
View LaunchGame.json
SET username TO $'''YOUR=ACCOUNT'''
SET Password TO $'''YOUR=PASSWORD'''
SET GameURL TO $'''https://p.eagate.573.jp/game/konasteapp/API/login/login.html?game_id=sdvx'''
WebAutomation.LaunchChrome.LaunchChrome Url: GameURL WindowState: WebAutomation.BrowserWindowState.Normal ClearCache: False ClearCookies: False Timeout: 60 BrowserInstance=> Browser
IF (WebAutomation.IfWebPageContains.WebPageContainsElement BrowserInstance: Browser Control: appmask['Login screen']['KONAMI ID ログイン']) THEN
WebAutomation.PopulateTextField.PopulateTextField BrowserInstance: Browser Control: appmask['Login screen']['Username form'] Text: username EmulateTyping: True UnfocusAfterPopulate: False Mode: WebAutomation.PopulateTextMode.Replace
WebAutomation.PopulateTextField.PopulateTextField BrowserInstance: Browser Control: appmask['Login screen']['Password form'] Text: Password EmulateTyping: True UnfocusAfterPopulate: False Mode: WebAutomation.PopulateTextMode.Replace
WebAutomation.Click.Click BrowserInstance: Browser Con
@anon5r
anon5r / sdvx6-startup.md
Last active Dec 2, 2021
コナステ版 SOUND VOLTEX EXCEED GEAR起動フロー
View sdvx6-startup.md
@anon5r
anon5r / README.md
Last active Sep 17, 2021
nyarn : npm run as yarn
View README.md

Nyarn : NPM run as YARN

What is this ?

This is joking code.

にゃ、にゃあ、にゃあん、にゃーん

Nya, Nyaa, Nyaan, Nyarn

@anon5r
anon5r / download_fgo_video.sh
Last active Oct 19, 2019
Download FGO video
View download_fgo_video.sh
#!/bin/sh
#
# Usage:
# sh ./download_fgo_video.sh https://extend.data.fate-go.jp/xXxx0Xxx/PathCRC
#
# PathCRC URL
TARGET_URL=$1
FGO_VER='2.2.0.1'
UA="fategrandorder/$FGO_VER CFNetwork/1120 Darwin/19.0.0"
HEADERS='X-Unity-Version: 2018.4.4f1'
View mp3_specs.md

規格種別

  • MPEG-1 Audio Layer 3
  • MPEG-2 Audio Layer 3
  • MPEG-2.5 Audio Layer 3

サンプリング周波数

|MPEG-1 Audio Layer-3|MPEG-2 Audio Layer-3|MPEG-2.5 Audio Layer-3|

View Progressbar.php
<?php
class Progressbar
{
//private $cursor = ['|', '/', '-', '\\'];
private $cursor = ['⠋','⠙','⠹','⠸','⠼','⠴','⠦','⠧','⠇','⠏'];
private $spacer = '░';
private $indicator = "\033[7m \033[0m";
private $total = 0;
@anon5r
anon5r / phone_number_with_hash_csv.py
Last active May 26, 2020
Scripts to export hashed IP/mobile phone numbers in Japan as CSV text files
View phone_number_with_hash_csv.py
#!/usr/bin/env python
import hashlib
prefix = ['050','070','080','090'];
x = 1000; # mobile/IP phone number will be starts with 1, not 0
column = ['NUMBER','MD5','SHA1','SHA256','SHA384','SHA512'];
print(format('"%s"' % ('", "'.join(column))))
for p in prefix:
while x <= 9999:
@anon5r
anon5r / osx-screenshot-change-config.sh
Created Dec 6, 2018
macOSのスクリーンショット設定の変更
View osx-screenshot-change-config.sh
#!/bin/sh
# スクリーンショットの保存先を変更する
defaults write com.apple.screencapture location ~/Downloads/ScreenShots/
# 保存場所を元に戻す
# defaults delete com.apple.screencapture location
# スクリーンショットのファイル名接頭辞を変更する
defaults write com.apple.screencapture name 'ScreenShot'
@anon5r
anon5r / create_absolute_uri.php
Last active Nov 15, 2019
Generate absolute URL by relational path with base URL
View create_absolute_uri.php
<?php
/**
* 相対パスから絶対URLを返却する
*
* @param string $base ベースURL, 絶対URL
* @param string $relational_path 相対パス
* @return string 相対パスの絶対URL
* @link http://logic.stepserver.jp/data/archives/501.html
* @link http://blog.anoncom.net/2010/01/08/295.html
* @link https://blog.anoncom.net/2010/01/phpurluri.html
@anon5r
anon5r / gitlab-update.sh
Last active Nov 22, 2017
Update script for GitLab omnibus docker
View gitlab-update.sh
#!/bin/sh
#DOCKER_TAG=latest
SLEEP_SEC=30
DOCKER_TAG=${1:-latest}
GITLAB_PORT_HTTP=50080
GITLAB_PORT_SSL=443
GITLAB_PORT_SSH=22
echo -e "\e[1;37mPulling tag:\e[m \e[33m$DOCKER_TAG\e[m"
sudo docker pull gitlab/gitlab-ce:$DOCKER_TAG