Skip to content

Instantly share code, notes, and snippets.

🎵
Freely Living, Happily Coding

スノル sunoru

🎵
Freely Living, Happily Coding
View GitHub Profile
@sunoru
sunoru / auto_canvas_grade.py
Last active Oct 22, 2019
Automatically input grading on canvas..
View auto_canvas_grade.py
#!/bin/env python3
# Data file format (CSV):
# Name,Score
# Name should be first name first.
import csv
import sys
import time
View post_videos.py
import os
import subprocess
import sys
from tkinter import Tk
from tkinter.filedialog import askopenfilenames
import shutil
VLC_PATH = 'C:/Program Files (x86)/VideoLAN/VLC/vlc.exe'
View small_videos.py
import json
import glob
import os
import subprocess
import sys
DATA_FILE = './data.json'
VLC_PATH = 'C:/Program Files (x86)/VideoLAN/VLC/vlc.exe'
View pwdgen.py
#!/usr/bin/python3
# -*- coding:utf-8 -*-
# filename: pwdgen.py
import sys
import string
def main():
if len(sys.argv) > 1:
l = int(sys.argv[1])
else:
View gencsr.sh
#!/bin/sh
echo $1
mkdir $1
cd $1
openssl genrsa -out $1.key 2048
openssl req -new -sha256 -key $1.key -out $1.csr
You can’t perform that action at this time.