Skip to content

Instantly share code, notes, and snippets.

View pacoccino's full-sized avatar
🐒

Pacien B pacoccino

🐒
View GitHub Profile
@pacoccino
pacoccino / Protonmail.md
Created February 21, 2022 16:49 — forked from githubcom13/Protonmail.md
Configure the protonmail bridge linux client on Ubuntu 20.04 and Debian 10 server

Protonmail on Ubuntu 20.04 and Debian 10 server

#protonmail #debian #linux

Before you start

Currently protonmail bridge for linux is distributed as part of an open beta program, but soon it will be made public (https://protonmail.com/bridge/install).

Consider that the bridge linux client requires a paid protonmail account to work.

Get the protonmail bridge linux installer

@pacoccino
pacoccino / deno_coingecko.ts
Created January 10, 2022 10:03
Fetch coingecko prices
import { serve } from "https://deno.land/std@0.120.0/http/server.ts";
async function getPrice(ids: string, vs: string) {
const url =
`https://api.coingecko.com/api/v3/simple/price?ids=${ids}&vs_currencies=${vs}`;
const res = await fetch(url);
const body = res.json();
@pacoccino
pacoccino / dweb_guide_fr.md
Last active January 27, 2021 13:43
Dweb Guide FR

Dweb How-To

Ou comment déployer des sites statiques sur IPFS

Generer un site statique

This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreif53hpjr7royezuhdaagj3e4cyj5v3eiair2fbmfizr3piplni7lu ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
### Keybase proof
I hereby claim:
* I am pakokrew on github.
* I am pacobacpac (https://keybase.io/pacobacpac) on keybase.
* I have a public key ASCHG8GIUAerjbu9RcW_nVSSKPbVSKSxTtdEKrSSNMaRsAo
To claim this, I am signing this object:
@pacoccino
pacoccino / README.MD
Created March 23, 2019 16:29 — forked from nzec/README.MD
DeezLoader Offical Page

Deezloader Remix

(Recommended)

Available for macOS, Linux, Windows.

In the process of a rewrite. Final release will be v4.2.0. The repository might get DMCA' so, make Git Clones/Forks
You can compile yourself now to test for bugs (See rewrite branch in the Git repository)

function flatten(arr) {
let flattened = [];
for(let i in arr) {
if(Array.isArray(arr[i])) {
flattened = flattened.concat(flatten(arr[i]));
} else {
flattened.push(arr[i]);
}
}
@pacoccino
pacoccino / promiseall.js
Created October 30, 2018 19:47
error management Promise.all
const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));
(async () => {
await Promise.all([
(async () => {
console.log('a', '1');
await wait(100);
console.log('a', '2');
@pacoccino
pacoccino / promiseall.js
Created October 30, 2018 19:47
error management Promise.all
const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));
(async () => {
await Promise.all([
(async () => {
console.log('a', '1');
await wait(100);
console.log('a', '2');
0xAD4cB89e65B43c079c9Ef692a2C3e961f20bD98c