Skip to content

Instantly share code, notes, and snippets.

View minacle's full-sized avatar
♥️
* 𝙳𝚎𝚝𝚎𝚛𝚖𝚒𝚗𝚊𝚝𝚒𝚘𝚗․ 

Mina Her minacle

♥️
* 𝙳𝚎𝚝𝚎𝚛𝚖𝚒𝚗𝚊𝚝𝚒𝚘𝚗․ 
View GitHub Profile
@marcjulianschwarz
marcjulianschwarz / github-old-dashboard.js
Last active November 16, 2024 19:24
Bring back the old GitHub dashboard with PageExtender for Safari
if (window.location.hostname === "github.com") {
const feedContent = document.querySelector('.feed-content')
if (feedContent){
const feedMain = document.querySelector('.feed-main')
feedContent.style.maxWidth = "unset"
feedMain.style.maxWidth = "1200px"
fetch('https://github.com/dashboard-feed')
.then(response => response.text())
.then(text => {
@kiding
kiding / install.sh
Last active February 24, 2022 15:21
Heterogeneous Homebrew: Apple Silicon & Intel Rosetta 2 side-by-side
# Install Homebrew at /opt/homebrew (for Apple Silicon)
arch -arm64e /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Homebrew at /usr/local (for Intel Rosetta 2)
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Add these lines to ~/.zshrc
alias za="arch -arch arm64e /bin/zsh"
alias zi="arch -arch x86_64 /bin/zsh"
if [[ $(arch) == "arm64" ]]; then
@Treeki
Treeki / TurnipPrices.cpp
Last active July 26, 2025 06:27
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{

MVAF (Minori Video Archiving Format) v1

목차

  • MVAF에 대하여
  • 레퍼런스 파라미터
  • 벤치마크
    • BanG Dream! 2nd Season! Ep01 (Abema)
      • VMAF
      • SSIM
      • PSNR
@xnuk
xnuk / hyeong.md
Last active September 14, 2025 02:12
난해한 혀엉.... 언어

난해한 혀엉... 언어 v0.4.5

  • (U+2026), (U+22EF), (U+22EE)는 모두 .(U+002E)가 3번 연속으로 나열된 것과 같은 것으로 봅니다.
  • "한글 음절 문자"는 가(U+AC00) 이상 힣(U+D7A3) 이하의 유니코드 문자들을 의미합니다.

스택

  • 스택의 모든 원소는 유리수 또는 NaN으로 이루어져 있습니다. 분모가 1인 유리수를 편의상 정수라고 칭합니다.
  • NaN은 특수한 숫자처럼 취급됩니다. 어떠한 연산을 하더라도 그 연산에 NaN이 있을 경우 그 연산의 값은 NaN이 됩니다.
@hibiyasleep
hibiyasleep / followlog.sh
Last active April 14, 2022 06:06
Watch following/followers and generates diff. (crontab required)
#!/bin/zsh
# (only tested with zsh, anyway)
#
# followlog.sh
#
# (c) 2016 Kuriyama hibiya
# All rights reserved.
#
# Usage:
#
@rudelm
rudelm / autofs.md
Last active September 30, 2025 10:54
Use autofs on Mac OS X to mount network shares automatically during access

Autofs on Mac OS X

With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method.

Prepare autofs to use a separate configuration file

autofs needs to be configured so that it knows where to gets its configuration. Edit the file /etc/auto_master and add the last line:

#
# Automounter master map
#

+auto_master # Use directory service

@cucmberium
cucmberium / gist:8ca7f4a5c5ea5a8b6590
Last active May 11, 2019 16:40
Twitter poll api

twitterの投票

コード

var status = await tokens.Statuses.ShowAsync(id => 696716686381027328, include_cards => true, cards_platform => "Android-12");

https://api.twitter.com/1.1/statuses/show.json?id=696716686381027328&include_cards=true&cards_platform=Android-12

Twitter for AndroidのCK/CS

@mat
mat / Readme.markdown
Last active September 15, 2025 15:58
apple-app-site-association —with examples

“apple-app-site-association” file

One file for each domain, both www.example.com and example.com need separate files:

{
    "applinks": {
        "apps": [],
        "details": {
 "9JA89QQLNQ.com.apple.wwdc": {
@satoshin2071
satoshin2071 / gist:249d42fc563ce98b410b
Created November 27, 2014 08:20
#CoreFoundation入門 基本クラス その2

#CoreFoundation入門 基本クラス その2

概要

一回目の続き

CFData

bytebufferを扱う(ラッパー)クラス。NSDataとToll-free bridgingが可能