Skip to content

Instantly share code, notes, and snippets.

View aliwo's full-sized avatar
๐Ÿ 
Working from home

์ •์Šน์› aliwo

๐Ÿ 
Working from home
View GitHub Profile
@Makeshift
Makeshift / tutorial.md
Last active June 25, 2025 13:11
Tutorial for automatically syncing an Obsidian vault with Git on an Android device

How to sync Obsidian with Git on Android

Limitations

  • If Termux is closed in the background by Android, the cron service will stop updating your repository and you must open Termux again. Refer to instructions for your device model to disable the killing of certain background applications.
  • This may negatively affect your devices battery life. I'm not entirely sure yet.

Setup

@yunho0130
yunho0130 / guide.md
Created February 23, 2021 13:13 — forked from rishubil/guide.md
SCE-TTS: ๋‚ด ๋ชฉ์†Œ๋ฆฌ๋กœ TTS ๋งŒ๋“ค๊ธฐ

๐Ÿ“— ๋ฌธ์„œ ์ฃผ์†Œ๊ฐ€ https://sce-tts.github.io/ ์œผ๋กœ ๋ณ€๊ฒฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

SCE-TTS์™€ ๊ด€๋ จํ•œ ์ตœ์‹  ์ •๋ณด๋Š” ์œ„ ์ฃผ์†Œ๋ฅผ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”!

์•„๋ž˜์˜ ๋‚ด์šฉ์€ ์ด์ „ ๋ฌธ์„œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.


SCE-TTS: ๋‚ด ๋ชฉ์†Œ๋ฆฌ๋กœ TTS ๋งŒ๋“ค๊ธฐ

@chwnam
chwnam / kt_starbucks_2019.py
Last active March 29, 2025 05:16
์Šคํƒ€๋ฒ…์Šค ์™€์ดํŒŒ์ด ์ž๋™ ์ธ์ฆ ํŒŒ์ด์ฌ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,
@perrygeo
perrygeo / models__init__.py
Last active December 29, 2020 03:23
Django models.py to models/ directory
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
An __init__.py for django which allows models to be
organized into separate files without any boilerplate
IOW, go from this...
โ”œโ”€โ”€ models
@hest
hest / gist:8798884
Created February 4, 2014 06:08
Fast SQLAlchemy counting (avoid query.count() subquery)
def get_count(q):
count_q = q.statement.with_only_columns([func.count()]).order_by(None)
count = q.session.execute(count_q).scalar()
return count
q = session.query(TestModel).filter(...).order_by(...)
# Slow: SELECT COUNT(*) FROM (SELECT ... FROM TestModel WHERE ...) ...
print q.count()