Skip to content

Instantly share code, notes, and snippets.

View IceflowRE's full-sized avatar

Iceflower IceflowRE

View GitHub Profile
@IceflowRE
IceflowRE / multiprogressbar.go
Created February 8, 2023 20:22
schollz/progressbar multi progressbar
package main
import (
"fmt"
"github.com/schollz/progressbar/v3"
"io"
"os"
"sync"
"time"
)
@IceflowRE
IceflowRE / trove_devtools.py
Created August 7, 2019 22:32
Trove Development Tools Wrapper
"""
Created by Iceflower S <iceflower@gmx.de> - 2019
Existing files will be overriden!
Usage:
python trove_devtools.py --help
Examples:
python trove_devtools.py --recursive extract .\blueprints\ .\extracted\
python trove_devtools.py --recursive convert blueprint .\extracted\ .\qb-export\
"""
@IceflowRE
IceflowRE / gist:cb61150a75de5fa0e54882fbdddc0e53
Created February 19, 2017 21:34
Download a list of links from a file (link_list.txt)
import functools
from concurrent import futures
import urllib3, certifi
from pathlib import Path
address = 'github.com'
done_links = 0
file_list = []
download_path = Path('./files/')
@IceflowRE
IceflowRE / get_cl2_hpp.sh
Last active February 2, 2017 16:04
Small OpenCL 2.0 code
# just in case you are interested in getting the cl2.hpp
# i build it on linux but at least you can use the headers on windows too
# https://github.com/KhronosGroup/OpenCL-CLHPP
sudo apt-get install wget cmake make gcc doxygen ruby ruby-bundler python
#pacman -S wget cmake make gcc doxygen ruby ruby-bundler python
git clone https://github.com/KhronosGroup/OpenCL-Headers.git ./OpenCL-Headers
cd OpenCL-Headers
git pull