RIAEvangelist/node-ipc is malware / protestware
The RIAEvangelist/node-ipc
module contains protestware peacenotwar.
Excerpt from RIAEvangelist/node-ipc:
as of v11.0.0 & v9.2.2 this module uses the peacenotwar module.
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Candy Factory</title> | |
<style> | |
/* Add some basic styling for the game */ | |
body { | |
font-family: sans-serif; | |
} |
The RIAEvangelist/node-ipc
module contains protestware peacenotwar.
Excerpt from RIAEvangelist/node-ipc:
as of v11.0.0 & v9.2.2 this module uses the peacenotwar module.
This gist has two files in it: first-names.txt and last-names.txt, each with 4096 names taken from some unnamed database.
Useful for generating mock data for testing or for opfuscating production data for testing.
See https://stackoverflow.com/a/50242368/15109 for some thoughts about data obfuscation.
import re | |
replacement_patterns = [ | |
(r'won\'t', 'will not'), | |
(r'can\'t', 'cannot'), | |
(r'i\'m', 'i am'), | |
(r'ain\'t', 'is not'), | |
(r'(\w+)\'ll', '\g<1> will'), | |
(r'(\w+)n\'t', '\g<1> not'), | |
(r'(\w+)\'ve', '\g<1> have'), |
// Filename: HttpServer.cs | |
// Author: Benjamin N. Summerton <define-private-public> | |
// License: Unlicense (http://unlicense.org/) | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Net; | |
using System.Threading.Tasks; |
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Threading; | |
class BitmapEncoder | |
{ | |
public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData) |