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 April 3, 2024 16:34
Nuxt Eslint Globals
module.exports = {
root: true,
env: {
node: true,
browser: true
},
globals: {
define: true
@KarmaBlackshaw
KarmaBlackshaw / generate-ssh-key.md
Last active April 22, 2024 14:52
Generate SSH Key for Github

Generate SSH Key in your server

ssh-keygen -t ed25519 -C "your_email@example.com" -f C:\Users\erniejeash\.ssh\id_ed25519_github

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