Skip to content

Instantly share code, notes, and snippets.

View ozencb's full-sized avatar
💭
👀

Özenç Bilgili ozencb

💭
👀
View GitHub Profile
#!/usr/bin/env bash
set -e
target_osx=$(sw_vers -productVersion)
project_dir=/Users/ozenc/development/aseprite
skia_dir=/Users/ozenc/development/skia
arch="$(uname -m)"
bundle_trial_url=https://www.aseprite.org/downloads/trial/Aseprite-v1.2.40-trial-macOS.dmg
// Mark every video as watched or unwatched on udemy.com
//
// 1. Go to a Udemy course
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
(() => {
const markWatched = false;
let toggleCount = 0;
// Archive every course on udemy.com
// This script is pretty much a copy of: https://gist.github.com/JamieMason/7580315
//
// 1. Go to https://www.udemy.com/home/my-courses/learning/
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
(() => {
const $archiveButtons = '[data-purpose$="toggle-archived"]';
@ozencb
ozencb / pdf_merge.py
Created May 4, 2020 11:35
Python gist for merging / concatenating PDFs
"""
PDF Merger
Args: -o or --output for output name
-p or --path for output path
"""
import os
from argparse import ArgumentParser
from glob import glob