Skip to content

Instantly share code, notes, and snippets.

View jnozsc's full-sized avatar
🍎
Working

jnozsc

🍎
Working
  • California
View GitHub Profile
@jnozsc
jnozsc / # glib - 2020-07-13_12-25-50.txt
Created July 13, 2020 19:28
glib on macOS 10.15.5 - Homebrew build logs
Homebrew build logs for glib on macOS 10.15.5
Build date: 2020-07-13 12:25:50
import random
def main():
d = input("桁数を入力してください\n")
try:
d = int(d)
except:
print("入力エラーがありますので、桁数2に")
d = 2
for _ in range(10):
@jnozsc
jnozsc / # luajit - 2020-03-07_10-36-23.txt
Created March 7, 2020 18:38
luajit on macOS 10.15.3 - Homebrew build logs
Homebrew build logs for luajit on macOS 10.15.3
Build date: 2020-03-07 10:36:23
@jnozsc
jnozsc / # luajit - 2020-03-07_10-05-40.txt
Created March 7, 2020 18:21
luajit on macOS 10.15.3 - Homebrew build logs
Homebrew build logs for luajit on macOS 10.15.3
Build date: 2020-03-07 10:05:40
@jnozsc
jnozsc / killadobe.sh
Created September 25, 2018 03:40 — forked from CyberPunkCodes/killadobe.sh
Mac Bash script to kill Adobe Create Cloud and other processes that Adobe forces on us.
#!/bin/bash
echo "\n\n--- Killing Stupid Adobe Auto Load Crap ---\n\n"
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
launchctl unload -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
echo "\n\n--- Done! ---\n\n"
@jnozsc
jnozsc / # python - 2018-06-18_13-00-56.txt
Created June 18, 2018 20:57
python on macOS 10.14 - Homebrew build logs
Homebrew build logs for python on macOS 10.14
Build date: 2018-06-18 13:00:56
@jnozsc
jnozsc / lunch.py
Last active June 14, 2018 04:15
lunch.py
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
import random
candidate = [
'默认鸡排',
'柠檬鸡串',
'奥尔良烤',
'土耳其烤',
@jnozsc
jnozsc / hanoi.py
Last active February 28, 2018 03:40
# -*- coding: utf-8 -*-
import argparse
def hanoi(number):
def hanoi_recursion(to_move=[], start=1, intermediate=2, end=3):
if len(to_move) <= 0:
return
elif len(to_move) == 1:
print(u'把 %d 号盘子从第 %d 个塔移动到第 %d 个塔' % (to_move[0], start, end))
#!/usr/bin/python
# -*- coding: utf-8 -*-
import argparse
from random import shuffle
GUEST_NAME = [
u'阿仁',
u'sk',
u'lulu',
@jnozsc
jnozsc / mpv.conf
Last active June 26, 2023 04:03
mpv.conf
# place this file in ~/.mpv/
# gpu high profile with even more quality scalers
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
dscale=mitchell
# color
icc-profile-auto