This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
SIGHT & LIGHT by ncase (https://github.com/ncase/sight-and-light) | |
Ported to Python/PyGame by Marcus Møller (https://github.com/marcusmoller) | |
''' | |
import pygame | |
import pygame.gfxdraw | |
import math | |
class SightAndLight(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import os | |
import inspect | |
from ice.error.config_error import ConfigError | |
from ice.steam_shortcut_manager import SteamShortcutManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for f in *.gif | |
do | |
short=${f:0:4} | |
if ls $short".png" &> /dev/null; then | |
echo "file exists" | |
else | |
montage -tile x1 -geometry +0+0 -background none $short*.gif $short.png | |
convert $short.png -transparent white $short.png |