Skip to content

Instantly share code, notes, and snippets.

View SimonJang's full-sized avatar

Simon Jang SimonJang

  • Ghent, Belgium
View GitHub Profile
@SimonJang
SimonJang / crypto-stream.js
Created February 5, 2018 15:07 — forked from chris-rock/crypto-stream.js
Encrypt and decrypt streams
// Part of https://github.com/chris-rock/node-crypto-examples
// Nodejs encryption of buffers
var crypto = require('crypto'),
algorithm = 'aes-256-ctr',
password = 'd6F3Efeq';
var fs = require('fs');
var zlib = require('zlib');
Adyen Test Card Numbers
These cards are only valid on our TEST system and they will never involve any actual transaction or transfer of funds. The TEST card numbers will not work on the Adyen LIVE Platform.
For all cards use the following expiration and CVV2/CVC2/or CID for Amex.
For all cards:
Expiration Dates CVV2 / CVC3 CID (American Express)
08/2018 OR 10/2020 737 7373
@SimonJang
SimonJang / asw-csgo.yaml
Created December 20, 2018 08:10 — forked from pkazmierczak/asw-csgo.yaml
CounterStrike Global Offensive linux server AWS CF template
---
AWSTemplateFormatVersion: '2010-09-09'
Description: CounterStrike Global Offensive linux server template
Mappings:
AWSRegion2AMI:
eu-central-1:
AMI: ami-26c43149
eu-west-1:
AMI: ami-ed82e39e
Parameters:
@SimonJang
SimonJang / Install NVIDIA Driver and CUDA.md
Created March 8, 2019 20:01 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS
@SimonJang
SimonJang / LICENSE.txt
Created March 14, 2019 14:38 — forked from jed/LICENSE.txt
generate random UUIDs
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Jed Schmidt <http://jed.is>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@SimonJang
SimonJang / Python3 Virtualenv Setup.md
Last active September 23, 2019 16:35 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac/Linux

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3
@SimonJang
SimonJang / plink-plonk.js
Created February 17, 2020 20:00 — forked from tomhicks/plink-plonk.js
Listen to your web pages
@SimonJang
SimonJang / gist:7ed8b31332ed97376a8f7eaf89ccff06
Created April 21, 2020 09:22 — forked from rxaviers/gist:7360908
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:
@SimonJang
SimonJang / example.js
Created July 29, 2020 18:32 — forked from nicolashery/example.js
Combine a pipe of multiple Node.js streams into one stream
var util = require('util')
, Transform = require('stream').Transform
, StreamCombiner = require('./streamcombiner');
var chunks1 = [];
var stream1 = new Transform();
var soFar = '';
stream1._transform = function(chunk, encoding, done) {
chunks1.push(chunk.toString());
var pieces = (soFar + chunk).split('\n');
@SimonJang
SimonJang / .editorconfig
Last active January 20, 2021 07:16 — forked from ntourne/.editconfig
Basic setup of .editorconfig
# Editor configuration, see http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = tab
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true