Skip to content

Instantly share code, notes, and snippets.

View rverst's full-sized avatar

Robert Verst rverst

View GitHub Profile
@attusan
attusan / skyrim-and-vortex-mod-manager-on-linux.md
Last active November 8, 2024 08:03
Manage Skyrim SE/AE mods via Vortex Mod Manager in Linux

Manage Skyrim SE mods via Vortex Mod Manager in Linux

The below walkthrough is for those who are running Skyrim SE via Steam Proton, and want to be able to manage mods via Vortex Mod Manager in Linux. You should be able to apply the same walkthrough to Oldrim or Fallout 4 as well. Note that with this guide you'll get an older version of Vortex (1.1.15), but IMHO it is still a better choice than Mod Manager 2. Also, you'll start Skyrim through Steam as usual, not through Vortex.

  1. If you have previously added mods through the Skyrim game menu, I recommend removing them all since all mods will be managed through Vortex. Mods => Load Order => Delete All. Also, consider taking a backup up your (vanilla) Skyrim game directory.
# archive vanilla game (update path to suit your needs)
cd /mnt/gameData/archive
cp -a /mnt/gameData/SteamLibrary/steamapps/common/Skyrim\ Special\ Edition/. skyrim-se
@m-radzikowski
m-radzikowski / script-template.sh
Last active November 15, 2024 11:25
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
@John-Paul-R
John-Paul-R / FabricModList.md
Last active October 21, 2024 07:40
A list of (almost all) mods for Fabric

Fabric Mod List

This page contains a list of the current Minecraft Fabric mods. (As of 2021-08-19 08:05:23 Timezone: UTC+0000 (GMT))

To search for mods by name, category, or download count, visit the website, fibermc.com!

Note: You can view a mod's source files by following the "Source" link on its CurseForge page, assuming that the mod's creator has made such files public.

There are currently 2954 mods in this list.

@daniellevass
daniellevass / starting_library_project_AS.md
Last active August 30, 2020 00:48
Getting Started with a library project in Android Studio

Getting Started with a library project in Android Studio

So we're working on creating Android Material Awesome, a library which will hopefully incorperate the benefits of Material Design, Twitter's Bootstrap, and FontAwesome. What we really wanted is a project other people can easily include into their projects using gradle dependencies. To do this we needed to create a standalone library project so we could make it as lightweight as possible for including as a dependency, and a sample app that would use it for testing. These are the steps we took to get started in Android Studio (version 1.1).

Create Projects

The first thing we needed to do was to create two new projects, with all the default settings (Blank Activity etc). One for our sample app, and one for our library. We added both of ours into the same GitHub repo, however you can save them wherever you like.

Fix Up Library Project

@renestalder
renestalder / README.md
Last active November 9, 2024 16:25
Unfollow all on Facebook

Facebook: Unfollow people and pages

See comments section for more up-to-date versions of the script. The original script is from 2014 and will not work as is.

  1. Open news feed preferences on your Facebook menu (browser)
  2. Click people or pages
  3. Scroll down (or click see more) until your full list is loaded
  4. Run the script in your browser console

Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.

@eklimcz-zz
eklimcz-zz / gist:446b56c0cb9cfe61d575
Created December 15, 2014 05:54
RSSI to Distance Conversion
function calculateDistance(rssi) {
var txPower = -59 //hard coded power value. Usually ranges between -59 to -65
if (rssi == 0) {
return -1.0;
}
var ratio = rssi*1.0/txPower;
if (ratio < 1.0) {
@bagage
bagage / pre-receive
Last active July 26, 2024 00:59
Submodule commit checker pre-receive server-side git hook
#!/bin/bash
# Service side git pre-receive hook
# Written by Gautier Pelloux-Prayer <[email protected]>, 2014
#
# Public domain
#
# Simply put this script in server git bare repository <your-git-folder>/hooks and
# apply 'chmod +x pre-receive'.
#