Skip to content

Instantly share code, notes, and snippets.

View vieko's full-sized avatar
Summoning Demons

Vieko Franetovic vieko

Summoning Demons
View GitHub Profile
  • install fedora workstation 40
  • sudo dnf update
  • sudo dnf install fedora-workstation-repositories
  • sudo dnf install akmod-nvidia
  • install veracrypt
  • create encrypted container charon
  • install unison-gtk
  • sync charon with watchtower
  • install keepassxc
  • install gnome-tweaks
@vieko
vieko / application-template.desktop
Created September 18, 2024 21:02
A template that follows the Desktop Entry Specification
[Desktop Entry]
Type=Application
Name=Your Application Name
Exec=/path/to/your/executable
Icon=/path/to/icon.png
Comment=A short description
Categories=Category;AnotherCategory;
<layout>
<configItem>
<name>real-prog-layout</name>
<!-- Keyboard indicator for Kinesis layouts -->
<shortDescription>en</shortDescription>
<description>English (US)</description>
</configItem>
<variantList>
<variant>
<configItem>
@vieko
vieko / real-prog-qwerty
Created August 15, 2024 21:23
Based on Michael Paulson's "poor ideas" for dvorak and a variant of Rene Rocksai's qwerty take.
// === based on Michael Paulson's poor ideas. ===
// === variant of Rene Rocksai's qwerty take. ===
partial alphanumeric_keys
xkb_symbols "real-prog-qwerty" {
name[Group1]= "English (Real Programmers Qwerty)";
key <TLDE> { [ grave, asciitilde ] };
@vieko
vieko / .gitignore
Created May 9, 2020 21:44
My default gitignore
node_modules
.db
.next
.env
.env.build
.now
@vieko
vieko / .eslintrc.json
Created May 9, 2020 21:40
My default eslint RC
{
"root": true,
"plugins": ["react", "react-hooks"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
@vieko
vieko / .prettierrc.json
Created May 9, 2020 21:39
My default Prettier RC
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"jsxBracketSameLine": false,
"proseWrap": "always"
@vieko
vieko / steam-grantpackage-api-endpoint.js
Created March 18, 2020 23:37
Grants packageId to steamId provided publisher web api key via nodejs endpoint
const fetch = require('node-fetch')
const FormData = require('form-data')
export default function(req, res) {
const payload = new FormData()
payload.append('key', 'publisher_steam_web_api_key')
payload.append('steamid', 'user_steam_id')
payload.append('packageid', 'package_id')
payload.append('ipaddress', '0.0.0.0')
fetch('https://partner.steam-api.com/ISteamUser/GrantPackage/v1/', {
method: 'POST',
#282828,#3c3836,#98971a,#fbf1c7,#3E313C,#EBDBB2,#b8bb26,#fb4934

Keybase proof

I hereby claim:

  • I am vieko on github.
  • I am vieko (https://keybase.io/vieko) on keybase.
  • I have a public key ASB_AUzy2nev1OSzbPE9Q3FgiOCaEI9NkF4VGHiOXNcVAwo

To claim this, I am signing this object: