Skip to content

Instantly share code, notes, and snippets.

Affenarsch
Affenkotstück
Affenmensch
Allmachtsdackel
Ameisenficker
Analbaron
Analraupe
Analzone
anorektische Fettsau
Armee schwanzloser Primaten
#!/usr/bin/env python3
import argparse
import serial
import select
import struct
import sys
import time
import math
parser = argparse.ArgumentParser('Client for sending controller commands to a controller emulator')
make wave_collector
make[1]: Verzeichnis „/home/dk/ModLoader64-GUI-Native“ wird betreten
/opt/toolchain/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c src/main.c -o src/main.o -O1 -s -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -std=gnu99 -I. -Iextern_libs/raylib/src -Iextern_libs/raylib/src/external -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -DPLATFORM_RPI
In file included from src/headers/include.h:8:0,
from src/main.c:1:
src/headers/structs.h:63:85: warning: backslash-newline at end of file
#define NewUiView(_ui_view, _id, _name, _init, _active, _draw, _deactive, _destroy) \
^
src/main.c:9:6: warning: return type of 'main' is not 'int' [-Wmain]
void main() {
#include <stddef.h>
#include <stdio.h>
#include "raylib.h"
#include "../extern_libs/cJSON/cJSON.h"
#include "../extern_libs/cJSON/cJSON_Utils.h"
#include "headers/views.h"
#include "headers/errors.h"
# This file is part of DEAP.
#
# DEAP is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# DEAP is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@TheCherry
TheCherry / my_coins.txt
Last active January 15, 2018 13:29
Simple overview of all owned coins.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import json
import time
## Check name by coinmarketcap URL
## example Oyster PRL: https://coinmarketcap.com/currencies/oyster-pearl/
## Its then "oyster-pearl"
from __future__ import absolute_import, division, print_function
import os
import pickle
from six.moves import urllib
import tflearn
from tflearn.data_utils import *
import random
fp_id = FriendlyPlayerExporter(tps[-1]).export()
reward = 0
class MyETP(EntityTreeExporter):
last_player = "Unknown"
def handle_block(self, block):
super(MyETP, self).handle_block(block)
# for p in block.packets:
# self.export_packet(p)
# pp(block.type.name)
g = self.game