Skip to content

Instantly share code, notes, and snippets.

View gareththomasnz's full-sized avatar

gareth thomas gareththomasnz

View GitHub Profile
@gareththomasnz
gareththomasnz / README.md
Created October 20, 2020 07:21 — forked from JohannesDeml/README.md
Batch converter for windows using inkscape and the command line

Batch convert svg|pdf|eps|emf|wmf to eps|pdf|png|svg

Screenshot Batch converter for Windows using Inkscape with the command line
InkscapeBatchConvert is an easy to use solution to quickly convert all files of a folder to another type without the need to open Inkscape. The program uses Windows Batch scripting and will only work on Windows.
Tested with Inkscape 0.9.x - 1.0.x ✅

Usage

  1. Download _InkscapeBatchConvert.bat
  2. Put it in the folder where you have files you wish to convert.
  3. Then double click the file to start it.
@gareththomasnz
gareththomasnz / Books.csv
Created August 30, 2020 15:54
iMacros RedBubble upload script and POS numbers for all colors and sizers
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
"Name","Path","Tags"
"Book A","E:\code\redBubble\Book\Book 2800\Book0.png","book,tome,item,game,gamer,gaming,tile,16 by 16,pixelated,pixel,pixel art,retro,16 bit,8 bit"
"Book B","E:\code\redBubble\Book\Book 2800\Book1.png","book,tome,item,game,gamer,gaming,tile,16 by 16,pixelated,pixel,pixel art,retro,16 bit,8 bit"
"Book C","E:\code\redBubble\Book\Book 2800\Book2.png","book,tome,item,game,gamer,gaming,tile,16 by 16,pixelated,pixel,pixel art,retro,16 bit,8 bit"
"Book D","E:\code\redBubble\Book\Book 2800\Book3.png","book,tome,item,game,gamer,gaming,tile,16 by 16,pixelated,pixel,pixel art,retro,16 bit,8 bit"
"Book E","E:\code\redBubble\Book\Book 2800\Book4.png","book,tome,item,game,gamer,gaming,tile,16 by 16,pixelated,pixel,pixel art,retro,16 bit,8 bit"
"Book F","E:\code\redBubble\Book\Book 2800\Book5.png","book,tome,item,game,gamer,gaming,tile,16 by 16,pixelated,pixel,pixel art,retro,16 bit,8 bit"
"Book G","E:\code\redBubble\Book\Book 2800\Book6.png","book,tome,item,game,gamer,gaming,tile,16 by 16,pixelated,pix
@gareththomasnz
gareththomasnz / scraper.py
Created August 10, 2019 12:50 — forked from nhomble/scraper.py
playing with web scraper (Beautiful Soup) to expose BodyBuilding.com's exercise database (to later be turned into a restful service maybe)
#!/usr/bin/env python3
from bs4 import BeautifulSoup
import pycurl
from io import BytesIO
import re
import sys
END = "abcdefghijklmnopqrstuvwxyz0123456789"
BB_URL = "http://www.bodybuilding.com/exercises/list/index/selected/"
<?php
namespace Aepro;
use Elementor\Group_Control_Background;
use Elementor\Group_Control_Box_Shadow;
use Elementor\Widget_Base;
use Elementor\Controls_Manager;
use Elementor\Group_Control_Border;