-
- Add pip to PATH system variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { readFile, writeFile, mkdir } = require('fs/promises') | |
const readline = require('readline/promises') | |
const { stdin, stdout } = require('process') | |
const https = require('https') | |
const path = require('path') | |
const { spawn } = require('child_process') | |
const defaultMemoryAllocation = '1' | |
const manifestUrl = 'https://launchermeta.mojang.com/mc/game/version_manifest.json' | |
const serverFolder = 'minecraft-server' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { writeFile } = require("fs/promises") | |
const net = 1 | |
const width = 36 | |
const spacing = 2 | |
const turns = 3 | |
const centerX = 159.5 | |
const centerY = 150 | |
const layer = "B.Cu" | |
const innerDiameter = 50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-notebook.cell.focusOutOutput", | |
"when": "notebookEditorFocused" | |
}, | |
{ | |
"key": "ctrl+cmd+up", | |
"command": "-workbench.action.terminal.resizePaneUp", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jordanluyke.example.util; | |
import com.fasterxml.jackson.core.JsonProcessingException; | |
import com.fasterxml.jackson.databind.DeserializationFeature; | |
import com.fasterxml.jackson.databind.JsonNode; | |
import com.fasterxml.jackson.databind.ObjectMapper; | |
import com.fasterxml.jackson.databind.SerializationFeature; | |
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; | |
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; | |
import org.apache.logging.log4j.LogManager; |
-
brew install gnupg pinentry-mac
-
Follow https://help.github.com/articles/signing-commits-with-gpg/
-
Add line
pinentry-program /usr/local/bin/pinentry-mac
to~/.gnupg/gpg-agent.conf
-
Kill and restart service
gpgconf --kill gpg-agent && gpg-agent --daemon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Observable = require('rxjs').Observable | |
const request = require('request') | |
const cheerio = require('cheerio') | |
const moment = require('moment') | |
Observable.interval(1000 * 15) | |
.timeInterval() | |
.flatMap(Void => { | |
return Observable.create(observer => { | |
request({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Rx = require('rxjs') | |
const request = require('request') | |
const apiKey = "" | |
const count = 50 | |
const delay = 1000 | |
const reason = "@tyson +1 architecture overview #vision" | |
Rx.Observable.range(0, count) | |
.flatMap(n => { |
-
Image:
sudo fdisk -l
NewerOlder