Skip to content

Instantly share code, notes, and snippets.

View nadhirxz's full-sized avatar

Nadhir nadhirxz

View GitHub Profile
import winsound
import time
import sys
frequency = 2500
dot = 300
dash = dot*3
lspace = dot*3
wspace = dot*7
@nadhirxz
nadhirxz / format_subs.md
Last active January 8, 2024 23:34
Scripts to convert and format subtitles using SubtitleEdit on windows
  1. Install SubtitleEdit.
  2. Install Python 3.
  3. Set subtitleedit variable in both sub_format.bat and substationalpha2srt.bat to the path of the executable of SubtitleEdit.
import numpy as np
import sys
def gauss(a):
n = len(a)
m = len(a[0])
for i in range(n):
if a[i][i] == 0.0:
sys.exit('Divide by zero detected!')
🌞 Morning 122 commits ████▎░░░░░░░░░░░░░░░░ 20.4%
🌆 Daytime 82 commits ██▉░░░░░░░░░░░░░░░░░░ 13.7%
🌃 Evening 135 commits ████▋░░░░░░░░░░░░░░░░ 22.6%
🌙 Night 259 commits █████████░░░░░░░░░░░░ 43.3%