Skip to content

Instantly share code, notes, and snippets.

View DrkCloudStrife's full-sized avatar
😺
Nyah~

Eduardo Garibay-Frausto DrkCloudStrife

😺
Nyah~
  • BenchPrep
  • Chicago, IL
View GitHub Profile
@DrkCloudStrife
DrkCloudStrife / README.md
Last active March 11, 2022 09:51
Valheim Plus Mod Toggle (Windows 10/11)

Valheim Plus Mod Toggle Script For Windows

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.

Installation

@DrkCloudStrife
DrkCloudStrife / sample.html
Created April 3, 2014 21:52
Playing around with canvas
<html>
<head>
<title>Test</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
}
.wrapper {
width: 500px;
@DrkCloudStrife
DrkCloudStrife / algo.rb
Last active January 4, 2016 05:09
small mapping algorithm to encode/decode secret messages for fun~ not 100% punctual but that wasn't my aim. Inspired by http://mitadmissions.org/blogs/entry/whoa#disqus_thread
#!/usr/bin/env ruby
# encoding: UTF-8
class Algo
MAPPINGS = { 'a' => "♠",
'b' => "∉",
'c' => "⊂",
'd' => "∇",
'e' => "♥",
'f' => "∫",
@DrkCloudStrife
DrkCloudStrife / broken_image_finder.rb
Last active December 10, 2015 18:49
Finds missing images in .html files. It assumes that images are stored in the same directory and exports results to a file in /tmp directory.
#!/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 = []