Skip to content

Instantly share code, notes, and snippets.

View nogic1008's full-sized avatar

Nogic nogic1008

View GitHub Profile
// ==ClosureCompiler==
// @output_file_name eagate.min.js
// @compilation_level ADVANCED_OPTIMIZATIONS
// @language_out ECMASCRIPT_2015
// ==/ClosureCompiler==
(function ($, location) {
const idRegex = /^.+\/ddr\/ddra20\/p.+=([01689bdiloqDIOPQ]{32}).*$/;
const srcRegex = /^.+\/ddr\/ddra20\/p\/images\/play_data\/(.+)\.png$/;
const playStyleRegex = /^.+\/ddr\/ddra20\/p.+_data_(double|single)\.html.*/;
const apiBaseUri = "https://www.ddradar.app/api/v1/scores";
@nogic1008
nogic1008 / attributes-schema.json
Last active April 10, 2020 02:15
Vetur Framework Support JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"patternProperties": {
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*(/([a-z][a-z0-9]*)(-[a-z0-9]+)*)?$": {
"type": "object",
"properties": {
"options": {
"type": "array",
"items": {
@nogic1008
nogic1008 / export-to-wiki.ts
Created November 15, 2019 01:19
ddr-song-info memo
export interface Chart {
songId: string
songName: string
playStyle: 1 | 2
difficulty: 0 | 1 | 2 | 3 | 4
level: number
notes: number
freezeArrow: number
shockArrow: number
stream: number
@nogic1008
nogic1008 / dotnetcore.yml
Last active November 18, 2019 00:56
Github Actions .NET Core Sample
name: .NET Core
on: [push, pull_request]
jobs:
test:
name: Debug Build & Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
@nogic1008
nogic1008 / Module.vb
Last active September 6, 2019 03:05
Excelブックから非表示になった名前の定義を削除する
Public Sub ShowHiddenNames()
Dim wName As Name
For Each wName In ActiveWorkbook.Names
wName.Visible = True
Next
End Sub