Skip to content

Instantly share code, notes, and snippets.

View samyok's full-sized avatar
🎒
schoolworkin

Samyok Nepal samyok

🎒
schoolworkin
  • University of Minnesota, Twin Cities
  • Minneapolis, MN
  • LinkedIn in/samyok
View GitHub Profile
{
"Working Directory" : "~",
"Prompt Before Closing 2" : false,
"Selected Text Color" : {
"Green Component" : 0.92142927646636963,
"Red Component" : 0.90730977058410645,
"Blue Component" : 0.93115901947021484
},
"Rows" : 25,
"Ansi 11 Color" : {
tap "adoptopenjdk/openjdk"
tap "cloudflare/cloudflare"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
tap "homebrew/core"
tap "mhzawadi/cbonsai"
tap "zegervdv/zathura"
brew "glib"
# nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# node, yarn, pm2
nvm install 16
# brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# brew install google chrome, discord, spotify
brew install --cask google-chrome
brew install --cask discord
brew install --cask spotify
# terminal, fish, fisher, gh
@samyok
samyok / [...nextauth].js
Created February 12, 2022 22:34
nextauth
import NextAuth from "next-auth"
import GithubProvider from "next-auth/providers/github"
export default NextAuth({
// Configure one or more authentication providers
providers: [
GithubProvider({
clientId: process.env.GITHUB_ID,
clientSecret: process.env.GITHUB_SECRET,
}),
sudo rm -rf phpBB3;
if [ -f "phpBB-3.2.9.zip" ]; then
echo "phpBB 3.2.9 already exists. Installing with current zip file.";
sleep 1;
else
wget https://github.com/Nepaltechguy2/scioly-gallery-docker/releases/download/0.1/phpBB-3.2.9.zip;
fi
unzip phpBB-3.2.9.zip;
echo "Getting gallery code";
@samyok
samyok / cloud-config.yml
Last active August 7, 2020 18:12
rancher cloud config
rancher:
network:
dns:
nameservers:
- 1.1.1.1
- 1.0.0.1
interfaces:
eth0:
dhcp: true
gateway: 192.168.0.1
require('dotenv').config();
const Discord = require('discord.js');
const client = new Discord.Client();
client.on('ready', e => {
console.log("Started bot");
})
const emojis = {
@samyok
samyok / selfbot.js
Created June 14, 2020 05:41 — forked from rigwild/selfbot.js
A simple Discord Self-bot using console
'use strict'
/**
* Discord Console Self bot
*
* Open chrome console on Discord using Ctrl+shift+i
* Go to the network tab, send a message and copy the 'Authorize' header sent by the app.
* Paste it in authHeader below.
*
* Paste the entire script in the console.
@samyok
samyok / Valorant.md
Created May 22, 2020 04:13
How to get around "We couldn't install a required dependency. Please try again, restart your computer or reach out to us at Riot Support"

Search for "Command Prompt" in your search bar IMPORTANT: Click on "Run as administrator" Copy this and right click inside your terminal:

sc delete vgc
sc delete vgk
sc stop vgk

and relaunch Valorant.