Skip to content

Instantly share code, notes, and snippets.

View nev3rm0re's full-sized avatar

German Rumm nev3rm0re

  • Gangrel OU
  • Tallinn, Estonia
View GitHub Profile
@nev3rm0re
nev3rm0re / convert.js
Created September 6, 2017 14:41
Couple of node scripts to convert GIF sprites to PNG format for TWoTS OpenXcom mod
/**
* This scripts takes a list of filenames from `files.txt` and converts
* all of them to PNG format.
*
* File list can either be generated by running `extra-sprites.js` script
* or by using `find` utility from mod folder.
* ```
* [OpenXcom/mods/TWoTS] > find . -iname \*.gif > files.txt
* ```
*/
@nev3rm0re
nev3rm0re / playbook.yml
Created December 10, 2016 22:31
This a quick cheat sheet to ansible's `pip` module, as I always forget the parameters
---
# Example of how to use Ansible's `pip` module
- name: For `virtualenv` install `python-virtualenv` module
apt: name=python-virtualenv state=installed
- name: Install requirements into `virtualenv`
pip:
requirements: requirements.txt
chdir: ./
virtualenv: ./venv
@nev3rm0re
nev3rm0re / autounit.rb
Created June 13, 2012 08:46 — forked from erithmetic/autounit
autotest for PHPUnit
# Runs tests whenever there's a change in tests/ folder or any *.php files in current folder
# Prereqs:
# * Ruby
# * gem install watchr
# Usage:
# copy autounit to php project directory
# run watchr autounit