Skip to content

Instantly share code, notes, and snippets.

View louis-e's full-sized avatar

Louis Erbkamm louis-e

View GitHub Profile
agrawalsuneet / NativeAndroidTextSharingInUnity.cs
Last active October 23, 2019 16:52
Native Android text Share in Unity
View NativeAndroidTextSharingInUnity.cs
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class NativeAndroidTextSharingInUnity : MonoBehaviour {
public Button shareButton;
private bool isFocus = false;
private bool isProcessing = false;
ewpratten / hosts-yt-ads
Last active November 30, 2023 18:45
youtube ads hosts file
View hosts-yt-ads
This project has been moved to a GitHub repository to allow Pull Requests.
JBlond /
Last active February 19, 2024 07:02 — forked from iamnewton/
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
danielbierwirth / TCPTestClient.cs
Last active February 7, 2024 03:44
TCP Client-Server Connection Example | Unity | C# | Bidirectional communication sample: Client can connect to server; Client can send and receive messages: Server accepts clients; Server reads client messages; Server sends messages to client
View TCPTestClient.cs
// This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
// To view a copy of this license, visit
// or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using UnityEngine;
nicolasdao /
Last active February 13, 2024 05:56
What you need to know to choose an open source license.
tayvano / gist:6e2d456a9897f55025e25035478a3a50
Created February 19, 2017 05:29
complete list of ffmpeg flags / commands
View gist:6e2d456a9897f55025e25035478a3a50
Originall From: Posted 2015-05-29
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)
chippydip / grasshopper.ks
Created February 2, 2017 07:47
kOS Suicide Burn Script
View grasshopper.ks
@lazyglobal off.
function countdown {
parameter i.
lock THROTTLE to 1.
until i <= 0 {
HUDTEXT(i, 1, 4, 100, RED, false).
gunderson / FlyCamera.cs
Last active January 15, 2024 16:31
Unity Script to give camera WASD + mouse control
View FlyCamera.cs
using UnityEngine;
using System.Collections;
public class FlyCamera : MonoBehaviour {
Writen by Windexglow 11-13-10. Use it, edit it, steal it I don't care.
Converted to C# 27-02-13 - no credit wanted.
Simple flycam I made, since I couldn't find any others made public.
Made simple to use (drag and drop, done) for regular keyboard layout
sid24rane / net.js
Last active February 7, 2024 08:05
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
View net.js
var net = require('net');
// creates the server
var server = net.createServer();
//emitted when server closes ...not emitted until all connections closes.
console.log('Server closed !');
darkguy2008 / UDPSocket.cs
Last active February 4, 2024 19:11
Simple C# UDP server/client in 56 lines
View UDPSocket.cs
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace UDP
public class UDPSocket
private Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);