Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Rowlands (변기호) pmrowla

View GitHub Profile
@pmrowla
pmrowla / chained-imports.sh
Created Jun 30, 2021
dvc chained/circular import example
View chained-imports.sh
#!/bin/bash
# set -e
# set -x
ROOT=`pwd`
REPO=$ROOT/repo
REMOTE=$ROOT/remote
REPOS=(a b c d)
@pmrowla
pmrowla / dvc-exp-migrate.py
Last active Dec 15, 2020
DVC experiments migration script
View dvc-exp-migrate.py
#!/usr/bin/env python3
"""Migrate DVC experiments from .dvc/experiments to refs/exps.
Requires DVC API.
"""
import argparse
import os
import re
View dvc_test_http_server_session.py
#!/usr/bin/env python
# Requires:
# pip install werkzeug<1.0 flask flask-httpauth flask-session
from pathlib import Path
from flask import abort, Flask, request, send_file
from flask_session import Session
from flask_httpauth import HTTPBasicAuth, HTTPDigestAuth
@pmrowla
pmrowla / dvc_test_http_server.py
Created Feb 17, 2020
Simple flask app for testing dvc http remote push/pull
View dvc_test_http_server.py
#!/usr/bin/env python
# Requires:
# pip install flask flask-httpauth
from pathlib import Path
from flask import abort, Flask, request, send_file
from flask_httpauth import HTTPBasicAuth, HTTPDigestAuth
app = Flask(__name__)
@pmrowla
pmrowla / lovelive-ruifan-qr.md
Created Aug 19, 2019
LoveLive kingblade QR values
View lovelive-ruifan-qr.md
@pmrowla
pmrowla / 00000623-0000070F.lns
Last active Mar 29, 2019
agls prologue example
View 00000623-0000070F.lns
;pylm
; Font styles:
; 0: TDecorate(count=919, unk2=4294967295, unk3=4294967295, unk4=0, unk5=0, unk6=0, unk7=4294967295, unk8=, unk9=, unk10=4294967295, unk11=4294967295)
;---------------------------------------
; BEGIN DECOMPILED SCRIPT
;---------------------------------------
<SCENARIO VER="102">
{STOPSND "BGM" "500" "PASS"}
{DELETECG "背景" "11" "2500" "0" "0" "" "0"}
<EVENT VALUE="MENUENABLED">
@pmrowla
pmrowla / dash.py
Last active Jan 24, 2019
segmentBase with stream=True
View dash.py
import itertools
import logging
import datetime
import os.path
import requests
from streamlink import StreamError, PluginError
from streamlink.compat import urlparse, urlunparse
from streamlink.stream.http import valid_args, normalize_key
from streamlink.stream.stream import Stream
@pmrowla
pmrowla / # mkvtoolnix - 2018-12-16_13-55-52.txt
Created Dec 16, 2018
mkvtoolnix on macOS 10.14.2 - Homebrew build logs
View # mkvtoolnix - 2018-12-16_13-55-52.txt
Homebrew build logs for mkvtoolnix on macOS 10.14.2
Build date: 2018-12-16 13:55:52
View nomination.md
  • Best Artist:
  • Best Rookie Artist:
  • Best Album:
  • Best Comeback (Song):
  • Best Debut (Song):
  • Best Choreography/Dance:
  • Best M/V:
  • Best Album B-Side:
  • Best (Individual) Vocalist:
  • Best (Individual) Rapper:
View keybase.md

Keybase proof

I hereby claim:

  • I am pmrowla on github.
  • I am pmrowla (https://keybase.io/pmrowla) on keybase.
  • I have a public key whose fingerprint is 2E02 AF19 BD0D B788 62C1 14EA F5CD CFCE 344E DABF

To claim this, I am signing this object: