Skip to content

Instantly share code, notes, and snippets.

View LordRatte's full-sized avatar
💭
My main account + projects can be found at https://gitlab.com/lordratte

LordRatte

💭
My main account + projects can be found at https://gitlab.com/lordratte
View GitHub Profile
/* --- Fonts --- */
@font-face{
font-family: 'Inconsolata';
src: url(../fonts/Inconsolata.otf);
}
/* --- Styling of OpenERP Elements --- */
.ui-dialog, .modal-dialog {
background: white;
((room)=>{
Memory.rooms[room.name] = Memory.rooms[room.name] || {};
Memory.rooms[room.name].harvest_points = Memory.rooms[room.name].harvest_points || [];
Memory.rooms[room.name].harvest_points = _.unionWith(Memory.rooms[room.name].harvest_points, _.reduce(room.find(FIND_SOURCES), (tot, o)=>{
var x,y;
for (var dx in (x=[-1, 0, 1])) {
for (var dy in (y=[-1, 0, 1])) {
if (y[dy] == x[dx] && y[dy] == 0) {
continue;
}
@LordRatte
LordRatte / README.md
Created October 4, 2017 14:29
A wrapper to give Befunge access to Python's API

Introduction

Esolangs are cool. I especially like Befunge. I like Befunge so much, in fact, that I'd like to write complex utilities and apps in it.

What? It can't be done? That's what they told me too. But I'll show them; I'll show them all!

This Gist is a proof of concept to demonstrate how to run Python commands from a Befunge programme -- opening up a world of opportunity.

Steps to run

  1. Clone and compile https://github.com/CzechsMix/FungePP
@LordRatte
LordRatte / README
Created June 28, 2018 08:04
myTunes
This is today's list of songs my phone AutoShazamed. I used Automate and IFTTT to generate this gist and post to twitter.
If you like my songs BTC me: 1279JKNd3yLphR6x5rhhHArsJMGB5L8MBF
@LordRatte
LordRatte / README
Created June 28, 2018 21:10
myTunes
This is today's list of songs my phone AutoShazamed. I used Automate and IFTTT to generate this gist and post to twitter.
If you like my songs BTC me: 1279JKNd3yLphR6x5rhhHArsJMGB5L8MBF
@LordRatte
LordRatte / README
Created June 29, 2018 21:12
myTunes
This is today's list of songs my phone AutoShazamed. I used Automate and IFTTT to generate this gist and post to twitter.
If you like my songs BTC me: 1279JKNd3yLphR6x5rhhHArsJMGB5L8MBF
@LordRatte
LordRatte / README
Created June 30, 2018 21:10
myTunes
This is today's list of songs my phone AutoShazamed. I used Automate and IFTTT to generate this gist and post to twitter.
If you like my songs BTC me: 1279JKNd3yLphR6x5rhhHArsJMGB5L8MBF
@LordRatte
LordRatte / README
Created July 1, 2018 21:10
myTunes
This is today's list of songs my phone AutoShazamed. I used Automate and IFTTT to generate this gist and post to twitter.
If you like my songs BTC me: 1279JKNd3yLphR6x5rhhHArsJMGB5L8MBF
@LordRatte
LordRatte / README
Created July 4, 2018 21:10
myTunes
This is today's list of songs my phone AutoShazamed. I used Automate and IFTTT to generate this gist and post to twitter.
If you like my songs BTC me: 1279JKNd3yLphR6x5rhhHArsJMGB5L8MBF
@LordRatte
LordRatte / README
Created July 5, 2018 21:11
myTunes
This is today's list of songs my phone AutoShazamed. I used Automate and IFTTT to generate this gist and post to twitter.
If you like my songs BTC me: 1279JKNd3yLphR6x5rhhHArsJMGB5L8MBF