Skip to content

Instantly share code, notes, and snippets.

@richardgaywood
richardgaywood / vnv_on_steam_deck.md
Last active May 1, 2024 11:21
An incomplete guide to installing Fallout: Viva New Vegas on the Steam Deck

Intro & Disclaimers

I am not an expert, I am just Some Guy who happened to (a) get Viva New Vegas working on Steam Deck and (b) kept notes. These are those notes. I love Fallout and I love the Steam Deck and I want other people to experience those things, but I am also unable to promise to support you through every question you may have.

This is not a guide in the way that Viva New Vegas is a guide. VNV is incredibly well written and has your back every step of the way. These are just scribbles. Please set your expectations! Also, please tell me what doesn't work or is confusing! I would like us to work together to improve this process for others.

Who did this

This doc was written by docg/penllawen. Come say hi on the Viva New Vegas Discord or [this reddit thread]https://www.reddit.com/r/SteamDeck/comments/1c8uihm/an_incomplete_guide_to_installing_modded_fallout/).

@danielaAkerman
danielaAkerman / index.js
Created January 17, 2022 21:01
console.table
function Person(firstName, lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
var me = new Person("Dani", "Akerman");
console.table(me);
@LGitHub-sprout
LGitHub-sprout / wes-bos-beginner-JS.js
Created January 17, 2022 17:45
console.assert, console.table, setTimeout()
<script defer>
console.log('Loading!');
const h1 = document.querySelector('h1');
console.log(h1.textContent);
console.assert(document.querySelector('h2'), 'h2 not found!');
const artists = [
{
first: 'René',
last: 'Magritte'
},
@qaiserali
qaiserali / Upgrade kubectl
Last active May 1, 2024 11:20
How to upgrade kubectl on Ubuntu
## Step1: Run the below command to download the latest version of kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
## Step2: Make kubectl executable
chmod +x kubectl
## Step3: Move it to the directory where kubectl is already installed
sudo mv kubectl $(which kubectl)
@yayoF
yayoF / gist:224c43e34705a6e51afc725d760f7a53
Last active May 1, 2024 11:19
Install Telegram Desktop in Ubuntu
Download the telegram Desktop client here https://desktop.telegram.org/
Go to the client location in terminal and extract the package with < tar xf archive.tar.xz >
Now you have a folder called < Telegram >
Move this folder to /opt
Double-click the telegram binary in /opt/Telegram/Telegram.
Bonus: to add Telegram to de "applications" menu, right-click the icon of the runing app and choose "lock to launcher"
bon appetit
sources:
@xposedbones
xposedbones / map.js
Last active May 1, 2024 11:15
Javascript Map range of number to another range
Number.prototype.map = function (in_min, in_max, out_min, out_max) {
return (this - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
}
@qoomon
qoomon / conventional_commit_messages.md
Last active May 1, 2024 11:12
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@pmkay
pmkay / installing-postman.md
Created April 27, 2020 02:49 — forked from ba11b0y/installing-postman.md
Installing Postman on Ubuntu/Gnome

Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux

Although I highly recommend using a snap

sudo snap install postman

Installing Postman

tar -xzf Postman-linux-x64-5.3.2.tar.gz
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 1, 2024 11:13
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory