This document is a personal work in progress meant to document how to fix certain troubleshooting setting up a development environment on a Steam Deck.
sudo pacman-key --init
# .bashrc | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
export PROMPT_COMMAND='branch=$(git branch --show-current 2>/dev/null); PS1="\[$(tput setaf 28)\]${branch:+($branch) }\[$(tput setaf 226)\]\u\[$(tput setaf 220)\]@\[$(tput setaf 214)\]\h \[$(tput setaf 33)\]\w \[$(tput sgr0)\]$ "' | |
# Aliases | |
alias grep="grep --color=auto" | |
alias gg="lazygit" |
return { | |
{ "p00f/clangd_extensions.nvim" }, | |
-- LSP | |
{ | |
"neovim/nvim-lspconfig", | |
cmd = "LspInfo", | |
event = { | |
"BufReadPre", | |
"BufNewFile", |
#!/usr/bin/env sh | |
git submodule init | |
git submodule update | |
~/.config/emacs/bin/doom install | |
~/.config/emacs/bin/doom sync |
""" Basic behavior | |
syntax enable | |
set number | |
set encoding=utf-8 | |
set backspace=indent,eol,start | |
""" Tab settings | |
set tabstop=4 | |
set noexpandtab | |
set autoindent |
#!/bin/bash | |
if [ $# -ne 1 ]; | |
then | |
echo "Invalid number of arguments!" | |
echo "Usage: setxbacklight up/down" | |
else | |
OUTPUT=$(xbacklight) | |
if [ $1 == "up" ]; | |
then |
I hereby claim:
To claim this, I am signing this object:
# USAGE: python wordfind-scraper.py https://www.wordfind.com/your/url/ | |
# Output will be in a file called words.txt located in the same folder as this script | |
# BeautifulSoup4 is needed in order for this script to work | |
import sys | |
import bs4 as bs | |
from urllib.request import Request, urlopen | |
if len(sys.argv) == 2: | |
site = sys.argv[1] |
#!/bin/bash | |
if [ $# -ne 1 ]; | |
then | |
echo "Invalid number of arguments!" | |
echo "Usage: aur reponame" | |
else | |
`git clone https://aur.archlinux.org/$1.git` | |
fi |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
using namespace std; | |
int const N = 9; | |
int const n = 3; | |
void printBoard(vector<vector<int> > board) { | |
for(int i=0; i<N; i++) { |