Skip to content

Instantly share code, notes, and snippets.

View pAulseperformance's full-sized avatar
🛴
Working from home

Paul Mendes pAulseperformance

🛴
Working from home
View GitHub Profile
const sleepNow = (delay) => new Promise((resolve) => setTimeout(resolve, delay))
async function repeatedGreetingsLoop() {
for (let i = 1; i <= 5; i++) {
await sleepNow(1000)
console.log(`Hello #${i}`)
}
}
repeatedGreetingsLoop()
import requests
import uuid
import time
import json
from random import *
import hmac
import hashlib
import urllib3
import urllib.parse
from urllib.parse import urlparse
@ijstokes
ijstokes / anaconda_latest_pkgs_no_versions.txt
Last active April 11, 2023 16:32
Anaconda Latest: packages in the latest release of Anaconda (currently 4.4), without versions. This can be used to update all (and only) the packages that are found in Anaconda to the latest available version, since (you may be surprised to learn) the command `conda update anaconda` will not do this for you (see explanation below).
alabaster
anaconda-client
anaconda-navigator
anaconda-project
appnope
appscript
asn1crypto
astroid
astropy
babel
.
├── matree
├── swift
│   ├── 00503_0_254.242_2013mar02
│   ├── 00546_0_ensbdasa-09aug2013
│   ├── 00553_0_ensbdpix3-09aug2013
│   ├── 00554_0_ensbdpix4-09aug2013
│   ├── 00555_0_ensbdrtr1-2013aug09
│   ├── 00557_0_ENSBDVPN1-02AUG2013
│   ├── 00558_0_ENSBDVPN2-02AUG2013
@PurpleBooth
PurpleBooth / README-Template.md
Last active June 28, 2024 02:47
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@Starefossen
Starefossen / tmux-cheats.md
Last active June 21, 2024 17:26
My personal tmux cheat sheet for working with sessions, windows, and panes. `NB` I have remapped the command prefix to `ctrl` + `a`.

Sessions

New Session

  • tmux new [-s name] [cmd] (:new) - new session

Switch Session

  • tmux ls (:ls) - list sessions
  • tmux switch [-t name] (:switch) - switches to an existing session