Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
pew pew

Rene Henkenius r3ne-pew

🚀
pew pew
View GitHub Profile
@r3ne-pew
r3ne-pew / npm-docker.sh
Created Jul 1, 2020
Dockerized npm install
View npm-docker.sh
docker run --user $(id -u):$(id -g) -v $PWD:/app -v $PWD/.npm:/.npm -v $PWD/.config:/.config -w /app node:lts-stretch-slim npm install
@r3ne-pew
r3ne-pew / pyramide.py
Created Feb 28, 2020
generate pyramid print in python
View pyramide.py
reihen = 5
reihen = int (reihen)
for i in range (0, reihen):
for j in range(0, i + 1):
print("x", end=' ')
print("\r")
for i in range (reihen, 0, -1):
for j in range(0, i -1):
print("x", end=' ')
@r3ne-pew
r3ne-pew / i4s-subserver blacklist
Created Nov 24, 2019
Blacklist für den Items4Sacred Subserver
View i4s-subserver blacklist
a55
a55hole
aeolus
ahole
anal
analprobe
anilingus
anus
areola
areole
@r3ne-pew
r3ne-pew / arduino-rgbled-fire.c
Created Dec 15, 2017
Arduino RGB LED Fire Simulation. Don't look directly into the LED, it is meant to be reflected in something like a model furnace.
View arduino-rgbled-fire.c
// Set the Pins for LED
int green = 10;
int blue = 9;
int red = 11;
void setup()
{
//Configure Pins as Output
pinMode(green, OUTPUT);
pinMode(blue, OUTPUT);
View RFC822_regex.cs
(?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t]
)+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:
\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(
?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[
\t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\0
31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\
](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+
(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?:
(?:\r\n)?[ \t])*))*|(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z
|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n)
@r3ne-pew
r3ne-pew / trafficSpawner.cs
Last active Jan 23, 2017
Unity Traffic Spawner
View trafficSpawner.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrafficController : MonoBehaviour {
public GameObject Car;
public GameObject CarParent;
private bool spawnLeft;
private float[] lanes;
View uiCountdownController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIController : MonoBehaviour
{
public GameObject countdown;
public GameObject lose;
@r3ne-pew
r3ne-pew / setTime.cs
Created Jan 23, 2017
Unity Countdown
View setTime.cs
void setTime()
{
secondsLeft--;
string op = "Time: " + secondsLeft;
countdown.GetComponent<Text>().text = op;
if (secondsLeft == 0)
{
lose.SetActive(true);
Time.timeScale = 0;
}
@r3ne-pew
r3ne-pew / mergesort.cs
Last active Jan 25, 2017
C# Merge Sort
View mergesort.cs
using System;
using System.Collections;
namespace mergesort
{
class MainClass
{
public static void Main(string[] args)
{
int count = Convert.ToInt32(Console.ReadLine());
@r3ne-pew
r3ne-pew / fibonacci.cs
Created Jan 10, 2017
Fibonacci Calculation (Iterative + Recursive)
View fibonacci.cs
using System;
namespace Fibonacci
{
class Program
{
static void Main(string[] args)
{
while (true) {
Console.WriteLine("How Long? - ");