Skip to content

Instantly share code, notes, and snippets.

View ilfey's full-sized avatar
:shipit:
https://nohello.net/

ilfey ilfey

:shipit:
https://nohello.net/
View GitHub Profile
@ilfey
ilfey / go-build.sh
Created October 4, 2022 06:33
Bash build script for all platforms.
#!/usr/bin/env bash
# list of the platforms: https://go.dev/doc/install/source#environment
platforms=(
"aix:ppc64"
"android:386"
"android:amd64"
"android:arm"
"android:arm64"
"darwin:amd64"
@ilfey
ilfey / config.json
Created August 23, 2022 15:06
Wallpaper changer for windows
{
"delay": 5,
"path": "D:\\Backgrounds\\"
}
@ilfey
ilfey / main.py
Created August 23, 2022 14:28
Simple image to png converter
import os
from PIL import Image
os.chdir(input('Enter the full path to the folder with images: '))
for path in os.listdir():
extension = path.split('.')
if extension[-1].lower() != 'png':
@ilfey
ilfey / main.py
Created August 23, 2022 14:13
HEIC to PNG converter
import os
from PIL import Image
import pillow_heif
os.chdir(input('Enter the full path to the folder with heic-images: '))
for path in os.listdir():
extension = path.split('.')