Skip to content

Instantly share code, notes, and snippets.

@winuxue
winuxue / Program.cs
Created Dec 26, 2019
Executing Parallel Tasks in c# example
View Program.cs
using System;
using System.Threading.Tasks;
using System.Threading;
using System.Collections.Generic;
namespace parallel_tasks
{
class Program
{
static async Task Main(string[] args)
@winuxue
winuxue / puppeteer-ubuntu-1804.md
Created May 22, 2019
Solution for common dependences issues using puppeteer in ubuntu 18.04 (Bionic)
View puppeteer-ubuntu-1804.md

puppeteer dependeces in ubuntu 18.04 (Bionic)

error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

sudo apt-get install libnss3

error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libxss1
View _transfer.sh.md

transfer.sh - bash script

Defines an alias to share file(s) and folder using transfer.sh

Installation

mkdir transfer-sh

cd transfer-sh