Skip to content

Instantly share code, notes, and snippets.

View KarmaBlackshaw's full-sized avatar
🎃
Haunting

Ernie Jeash Villahermosa KarmaBlackshaw

🎃
Haunting
View GitHub Profile
const chalk = require('chalk')
const { log } = console
const cwd = process.cwd()
function proxiedLog (...args) {
const line = (((new Error('log'))
.stack.split('\n')[2] || '…')
.match(/\(([^)]+)\)/) || ['not found'])[1]
const stack = line
@KarmaBlackshaw
KarmaBlackshaw / eslintrc.js
Last active October 24, 2024 07:09
Nuxt Eslint Globals
module.exports = {
root: true,
env: {
node: true,
browser: true
},
globals: {
define: true
@KarmaBlackshaw
KarmaBlackshaw / generate-ssh-key.md
Last active June 2, 2024 17:27
Generate SSH Key for Github

Generate SSH Key in your server

ssh-keygen -t ed25519 -C "[email]" -f ~/.ssh/[name]

Copy the key in the .pub file and paste it in your gh access tokens

$ cat ~/.ssh/id_ed25519.pub
# Then select and copy the contents of the id_ed25519.pub file
# displayed in the terminal to your clipboard