Skip to content

Instantly share code, notes, and snippets.

View yuki-maruyama's full-sized avatar
:octocat:

Yuki Maruyama yuki-maruyama

:octocat:
View GitHub Profile
@yuki-maruyama
yuki-maruyama / ytdl-norm.sh
Last active February 19, 2023 09:16
ytdl-norm.sh
#!/bin/bash
#
# This script will download a youtube video and normalize the audio
# In Japan, use of videos downloaded with this script must be limited to private use.
#
# Check if commands are installed
COMMANDS="yt-dlp ffmpeg-normalize ffmpeg jq sed tr"
for cmd in $COMMANDS; do
@yuki-maruyama
yuki-maruyama / nijisanji-api.postman_collection.json
Last active January 14, 2023 20:10
nijisanji-api unofficial postman collection
{
"info": {
"_postman_id": "b7ce2a5f-8bc4-4032-8974-c776852bde75",
"name": "nijisanji",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "25340929"
},
"item": [
{
"name": "streams",

Keybase proof

I hereby claim:

  • I am 32ba on github.
  • I am 32ba (https://keybase.io/32ba) on keybase.
  • I have a public key ASDPReNuH8T1__KwDmkv2ismRD6pxrnG1zCkMoedzXyT-go

To claim this, I am signing this object:

#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <WakeOnLan.h>
#include <IRremoteESP8266.h>
#include <IRsend.h>
#include "fauxmoESP.h"
// Rename the credentials.sample.h file to credentials.h and
// edit it according to your router configuration
#!/usr/bin/perl
use strict;
use warnings;
use utf8;
use JSON;
use Email::MIME;
$ENV{'PATH'} = '/bin:/usr/bin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
@yuki-maruyama
yuki-maruyama / vscode-cpp-snipet.json
Last active December 9, 2018 02:48
VSCode CPP snipet
{
"Competition programming lib": {
"prefix": "cplib",
"body": [
"#include <bits/stdc++.h>",
"using namespace std;",
"",
"#define _overload3(_1, _2, _3, name, ...) name",
"#define _rep(i, n) repi(i, 0, n)",
"#define repi(i, a, b) for(int i = int(a); i < int(b); i++)",