Skip to content

Instantly share code, notes, and snippets.

View nusu-github's full-sized avatar
👜
Job hunting.

Shogo Ishigami nusu-github

👜
Job hunting.
View GitHub Profile
#include <string.h>
#include <audio_codec_data_if.h>
#include <esp_codec_dev.h>
#include <esp_codec_dev_defaults.h>
#include <esp_event.h>
#include <esp_log.h>
#include <inttypes.h>
#include <nvs_flash.h>
#include <protocol_examples_common.h>
// ==UserScript==
// @name LCSC JPY
// @namespace npm/vite-plugin-monkey
// @version 1.0.4
// @author nusu-
// @description LCSCを日本円表記に変換します。
// @license Apache-2.0
// @icon https://www.lcsc.com/favicon.ico
// @match https://www.lcsc.com/*
// @connect api.excelapi.org
@nusu-github
nusu-github / FixGoogleTranslateMessy.user.js
Last active July 30, 2023 05:02
Chromeの翻訳機能でバグるサイトを雑に直す
// ==UserScript==
// @name Fix Google Translate messy
// @version 0.0.1
// @run-at document-start
// @match *://*/*
// @noframes
// ==/UserScript==
// https://github.com/facebook/react/issues/11538#issuecomment-417504600
!function(){if(Array.from(document.scripts).find(({src:b})=>b.includes("react"))&&"function"==typeof Node&&Node.prototype){const b=Node.prototype.removeChild;Node.prototype.removeChild=function(a){return a.parentNode!==this?a:b.apply(this,arguments)};const d=Node.prototype.insertBefore;Node.prototype.insertBefore=function(a,c){return c&&c.parentNode!==this?a:d.apply(this,arguments)}}}();
@nusu-github
nusu-github / start.sh
Last active January 17, 2023 06:42
RunPod-11.6.2-cudnn8-devel-ubuntu20.04-start
#!/bin/bash
echo "starting pod"
# nvidia
apt-key del 7fa2af80
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
# setup
apt update
@nusu-github
nusu-github / Product-name-checker.js
Last active August 20, 2021 04:22
商品名チェッカー
// ==UserScript==
// @name Product name checker
// @match https://www.amazon.co.jp/*
// @grant none
// @version 0.0.1
// @author nusu-
// ==/UserScript==
window.onload = function () {
const error_log = []