Skip to content

Instantly share code, notes, and snippets.

@aandergr
aandergr / instaloader_mass_rename.py
Created Aug 30, 2018
Mass rename files in your local Instagram archive according to a new filename pattern
View instaloader_mass_rename.py
import argparse
import glob
import os
import re
import sys
import instaloader
def json_type(filename: str):
@aandergr
aandergr / multi_hashtag.py
Last active Oct 30, 2019
Instagram - Download posts that match multiple hashtags
View multi_hashtag.py
"""
Instagram - Download posts that match multiple hashtags
See https://github.com/Thammus/instaloader/issues/24
Requires an Instaloader version whose __version__ string begins with '3'.
(This code snippet is free and unencumbered software released into the public domain)
"""
@aandergr
aandergr / queryocl.c
Created Jul 19, 2016
Print some OpenCL parameters of all available devices
View queryocl.c
/* Print some OpenCL parameters of all available devices.
*
* Compile with
* cc -o queryocl queryocl.c -lOpenCL
* eventually you need to pass -I and -L options.
*
* Then call with
* ./queryocl
*/