Skip to content

Instantly share code, notes, and snippets.

View dries007's full-sized avatar

Dries007 dries007

View GitHub Profile
@dries007
dries007 / boot.py
Created May 19, 2016 21:13
Micropython esp2866 (ESP12-E) Neopixel demo
import time
from machine import Pin
from esp import neopixel_write
# From colorsys.py
def hsv_to_rgb(h, s, v):
if s == 0.0:
return v, v, v
i = int(h*6.0)
f = (h*6.0) - i
@dries007
dries007 / dirlist.xslt
Created June 26, 2016 15:51 — forked from wilhelmy/dirlist.xslt
make nginx dirlistings look like lighttpd's through the magic of xslt-transforming xml dirlistings. I don't even.
<?xml version="1.0"?>
<!--
dirlist.xslt - transform nginx's into lighttpd look-alike dirlistings
I'm currently switching over completely from lighttpd to nginx. If you come
up with a prettier stylesheet or other improvements, please tell me :)
-->
<!--
Copyright (c) 2016 by Moritz Wilhelmy <[email protected]>
@dries007
dries007 / CLA.md
Last active August 18, 2016 23:11
Simple CLA (for DoubleDoorDevelopment)

Contributor License Agreement

The following terms are used throughout this agreement:

  • You - the person or legal entity including its affiliates asked to accept this agreement. An affiliate is any entity that controls or is controlled by the legal entity, or is under common control with it.
  • Project - is an umbrella term that refers to any and all DoubleDoorDevelopment projects.
  • Contribution - any type of work that is submitted to a Project, including any modifications or additions to existing work.
  • Submitted - conveyed to a Project via a pull request, commit, issue, or any form of electronic, written, or verbal communication with DoubleDoorDevelopment, contributors or maintainers.
  1. Grant of Copyright License.
@dries007
dries007 / ip_leds.c
Created September 24, 2016 01:06
echo IP > leds
/*
* ip_leds
*
* Copyright (c) 2016 Dries007
* License: MIT
*
* Display some random effects until an IP is got,
* then show the IP in binary on the leds.
*
* Library:
@dries007
dries007 / openpgp.txt
Created September 4, 2017 21:48
OpenKeychain Gekoppelde Identiteit
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:0797cc3720cde62e59398efa3b780cccd4fb353d]
@dries007
dries007 / openpgp.txt
Created September 4, 2017 21:48
OpenKeychain Gekoppelde Identiteit
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:0797cc3720cde62e59398efa3b780cccd4fb353d]
@dries007
dries007 / openpgp.txt
Created September 4, 2017 21:48
OpenKeychain Gekoppelde Identiteit
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:0797cc3720cde62e59398efa3b780cccd4fb353d]
@dries007
dries007 / ModelSim 17.1 for (Arch) Linux.md
Last active September 30, 2024 13:35
ModelSim 17.1 for (Arch) Linux

ModelSim 17.1 (Starters Edition) for (Arch) Linux

You need to download the setup file yourself. Put in where you run the setup script. Easy DL link It should be named ModelSimSetup-17.1.0.590-linux.run.

  1. Install dependencies (some AUR, both 32 and 64 bit is required.)
    • 64 bit: expat fontconfig freetype2 xorg-fonts-type1 glibc gtk2 libcanberra libpng libpng12 libice libsm util-linux ncurses tcl tcllib zlib libx11 libxau libxdmcp libxext libxft libxrender libxt libxtst
    • 32 bit lib32-expat lib32-fontconfig lib32-freetype2 lib32-glibc lib32-gtk2 lib32-libcanberra lib32-libpng lib32-libpng12 lib32-libice lib32-libsm lib32-util-linux lib32-ncurses lib32-zlib lib32-libx11 lib32-libxau lib32-libxdmcp lib32-libxext lib32-libxft lib32-libxrender lib32-libxt lib32-libxtst
  • ncurses compat libs: ncurses5-compat-libs and lib32-ncurses5-compat-libs
@dries007
dries007 / TheHistoryOfCurseMeta.md
Last active August 7, 2018 17:35
TheHistoryOfCurseMeta

The story of CurseMeta

Transcribed live while I (Dries007) was expaining what CurseMeta is/does to Beaker/Campenr via Teamspeak.

This is primarily about my CurseMeta site, not really the underlying C# project, which diverged because I forked to make some minor changes along the way.

CurseMeta 1.0

Once upon a time there was someone (me) who wanted to make a Curse modpack installer for his backend server software.

@dries007
dries007 / faq.md
Last active May 24, 2018 14:37 — forked from Bunsan/gist:0f90509985963c4e0e2bbde5471b25a0
TFC 1.12+ FAQs

FAQs

This is a list of questions we have been asked about the project. These are our best answers as of this moment. Things will likely change in small and large ways so don’t take these as binding. If you have more questions please post them in our question thread on the forum or give Bunsan a poke in the TFC-talk channel of our discord.

What is this exactly?

The goal of this project is to take the gameplay, mechanics and feel of TFC and recreate it in 1.12+. It is like a port in that we want it to feel like the 1.7.10 version, but it isn’t a true port as we are rewriting most of the code. This project was started by Dries007, the blessing of Bioxx, and is not associated with TFC2, nor is it associated with TFC+ or any other forks of TFC.

Is this 1.7.10 Terrafirmacraft fixed to work in 1.12?