I created these scripts to help me toggle the Valheim Plus from loading when launching the client. This is due to playing on two separate servers. One with VH+ and the other without it. The idea came from reading their VH+ Installation and dreading having to do this manually.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Test</title> | |
<style type="text/css"> | |
body { | |
margin: 0; | |
padding: 0; | |
} | |
.wrapper { | |
width: 500px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# encoding: UTF-8 | |
class Algo | |
MAPPINGS = { 'a' => "♠", | |
'b' => "∉", | |
'c' => "⊂", | |
'd' => "∇", | |
'e' => "♥", | |
'f' => "∫", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
script_name = File.basename($0) | |
directory = ARGV[0] || './' | |
regEx = /.*\<[Ii][Mm][Gg].*[Ss][Rr][Cc]=["']([^'"]*)/ | |
files = Dir.glob("#{directory}/**/*.html") | |
broken_images = {} | |
broken_images_count = 0 | |
errors = [] |