Skip to content

Instantly share code, notes, and snippets.

@tanglebones
tanglebones / HttpListenerExample.cs
Last active February 27, 2024 15:21
HttpListener Example
using System;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Server
{
public static class Program
@rxaviers
rxaviers / gist:7360908
Last active July 2, 2024 13:41
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
Canidae
Felidae
Cat
Cattle
Dog
Donkey
Goat
Guinea pig
Horse
Pig
@josephbadow
josephbadow / install-fireflyiii-rpi3-docker-docker-compose-ssl.md
Created September 23, 2019 10:13
Install Firefly on a Raspberry Pi 3 with Docker, Docker Compose and a self-signed certificate

I'm running a dockerized Firefly III on a Raspberry 3 in my local network. With the help of an additional nginx Container and a self-signed SSL Certificate I was able to set up https.

Maybe somebody will find this guide helpfull, it took me a couple of tries to get it right.

Install Docker on the Raspberry

Simply follow the official documentation at https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-convenience-script. You'll need to run the script if you are using the default Raspberry OS: Raspbian.

Install Docker Compose using Python PIP

Use Pythons package manager PIP to install Docker Compose, details can be found on docker.com as well: https://docs.docker.com/compose/install/#install-using-pip. Before you can follow the guide you'll need to install python-pip.

@CoconutMacaroon
CoconutMacaroon / mods.md
Last active November 10, 2020 20:29
Teams Mods
@CoconutMacaroon
CoconutMacaroon / install-modern-unix.sh
Last active July 31, 2021 01:04
Install (some of) the tools from Modern Unix
#!/bin/bash
usage() {
echo "TkFNRQogICBpbnN0YWxsLW1vZGVybi11bml4LnNoIC0gSW5zdGFsbCBzb21lIHVzZWZ1bCB1dGlsaXRpZXMgZnJvbSBNb2Rlcm4gVW5peAoKU1lOT1BTSVMKICAgaW5zdGFsbC1tb2Rlcm4tdW5peC5zaCBbT1BUSU9OXQoKREVTQ1JJUFRJT04KICAgSW5zdGFsbCB1dGlsaXRpZXMgZnJvbSBNb2Rlcm4gVW5peAoKICAgLWEKICAgICAgQ3JlYXRlIGFsaWFzZXMgZm9yIGNvbW1hbmRzIGJlaW5nIGluc3RhbGxlZCBpbiB+Ly5iYXNocmMKCiAgIC1iCiAgICAgICBJbnN0YWxsIGJhdCwgYSByZXBsYWNlbWVudCBmb3IgY2F0CgogICAtZAogICAgICBJbnN0YWxsIGR1ZiwgYSByZXBsYWNlbWVudCBmb3IgZHUKCiAgIC1oCiAgICAgICBQcmludCB0aGlzIGhlbHAKCiAgIC1sCiAgICAgICBJbnN0YWxsIGxzZCwgYSByZXBsYWNlbWVudCBmb3IgbHMgLSBBUk0gdmVyc2lvbgoKICAgLWYKICAgICAgIEluc3RhbGwgZnNmLCBhIGZ1enp5LWZpbmRlcgoKICAgLXQKICAgICAgIEluc3RhbGwgdGxkciwgaGVscC1wYWdlcyB3aXRoIGV4YW1wbGVzIGZvciBjb21tYW5kcyAtIFJlcXVpcmVzIG5vZGUuanMvbnBtIHRvIGJlIGluc3RhbGxlZAo=" |
base64 --decode
}
update() {
sudo apt-get update
}
@0xabad1dea
0xabad1dea / copilot-risk-assessment.md
Last active September 11, 2023 10:21
Risk Assessment of GitHub Copilot

Risk Assessment of GitHub Copilot

0xabad1dea, July 2021

this is a rough draft and may be updated with more examples

GitHub was kind enough to grant me swift access to the Copilot test phase despite me @'ing them several hundred times about ICE. I would like to examine it not in terms of productivity, but security. How risky is it to allow an AI to write some or all of your code?

Ultimately, a human being must take responsibility for every line of code that is committed. AI should not be used for "responsibility washing." However, Copilot is a tool, and workers need their tools to be reliable. A carpenter doesn't have to