Skip to content

Instantly share code, notes, and snippets.

View lifefeel's full-sized avatar

J.P Lee lifefeel

  • Seoul, South Korea
  • 22:18 (UTC +09:00)
View GitHub Profile
@lifefeel
lifefeel / nfd2nfc.py
Last active October 8, 2019 06:20 — forked from joonahn/repair_broken_mac_filename.py
mac에서 생성한 한글 파일명을 windows에서 읽을 때 깨진 파일을 복구해 주는 스크립트
import sys
from unicodedata import normalize
import glob
import os
def nfd2nfc(data):
return normalize('NFC', data)
if len(sys.argv) > 1:
path = sys.argv[1]
@chwnam
chwnam / kt_starbucks_2019.py
Last active July 2, 2024 10:00
스타벅스 와이파이 자동 인증 파이썬3 스크립트
#!/usr/bin/env python3
import time
from http.cookiejar import Cookie
from re import search, findall
from urllib.parse import urlencode
from urllib.request import (
HTTPCookieProcessor,
HTTPRedirectHandler,
Request,
@alotaiba
alotaiba / google_speech2text.md
Created February 3, 2012 13:20
Google Speech To Text API

Google Speech To Text API

Base URL: https://www.google.com/speech-api/v1/recognize
It accepts POST requests with voice file encoded in FLAC format, and query parameters for control.

Query Parameters

client
The client's name you're connecting from. For spoofing purposes, let's use chromium

lang
Speech language, for example, ar-QA for Qatari Arabic, or en-US for U.S. English