Skip to content

Instantly share code, notes, and snippets.

View vilmibm's full-sized avatar
📼

Nate Smith vilmibm

📼
View GitHub Profile

yeah it rules

  • what

  • is

  • up

    everyone

@vilmibm
vilmibm / hello_world.py
Last active September 15, 2020 21:11
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello there " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()

board games

already have

  • morels
  • betrayal at the house on the hill
  • codenames
  • bausack
  • shadow hunters
  • dick
@vilmibm
vilmibm / migration.md
Created January 13, 2019 05:00
progress on tilde.town migration

migration notes and process

Prerequisites

  • install git
  • install etckeeper
  • initial etckeeper commit

User account copy

File "/home/tildemush/tildemush/server/tmserver/core.py", line 88, in handle_map
return self.game_world.handle_map(self.user_account.player_obj)
File "/home/tildemush/tildemush/server/tmserver/world.py", line 898, in handle_map
return render_map(cls, player_obj.room, distance=2)
File "/home/tildemush/tildemush/server/tmserver/mapping.py", line 27, in render_map
return graph_easy(mapfile)
File "/home/tildemush/tildemush/server/tmserver/mapping.py", line 37, in graph_easy
text=True)
File "/usr/lib/python3.6/subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
@vilmibm
vilmibm / f76.md
Last active November 15, 2018 19:54

thoughts on fallout 76!

I definitely had Fun in the few hours I put in yesterday. It feels like fallout 3/4 and succeeds so far in spite of the multiplayer aspect. I think if I end up with the right players the multiplayer could be excellent, but so far it's mostly assholes playing around me.

I like:

  • the construction stuff is very improved over 4 and being able to build anywhere is so cool
  • the crafting is a little more interesting
  • the nature is beautiful and they capture a semirural area pretty well
@vilmibm
vilmibm / witch_ng.hy
Created September 26, 2018 16:47
This is a proposal for WITCH in a beta release of tildemush. It's based on the experience so far with our current WITCH PoC and what I know I can accomplish with Hy+asteval. I'd love feedback on 1) is it intuitive? 2) what could be simplified? 3) what's missing? 4) what's exciting?
(incantation by vilmibm
"This script defines a silly, kind of evil book. It is intended to
illustrate every feature that WITCH offers."
(has {"name" "the necronomicon"
"description" "a book bound in flesh seething with undead energy."
"pronouns" ["it" "it" "its"]
"souls" []
"log" []})
(allows {"read" "world"
ycH="hidden";
ycV="visible";
ycBU='http://a372.g.a.yimg.com/f/372/27/1d/pic.geocities.com/images/dhtmlad/';
ycMM1='<tr><td valign=middle bgcolor="#dcdcdc"><a href="';
ycMM2='" target=_new><img alt="alt" src="'+ycBU;
ycMM3='" width=14 height=14 border=0 hspace=4><font face="arial" size="1" color="#0000FF">';
ycMM4='</font></a></td></tr>';
ycRF=';return false"';
ycWSC=' onMouseOut="window.status=\'\';return true"';
ycWS1=ycRF+' onMouseOver="window.status=\'Minimize\';return true"'+ycWSC;
@vilmibm
vilmibm / map.txt
Last active July 30, 2018 23:44
lol
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
@vilmibm
vilmibm / vr_vnc.sh
Last active February 27, 2018 17:36
# CARDBOARD VR VNC TETHERING
_find_ip () {
# tethering always sets ip to the below prefix
ip addr | grep enp | grep -Eo "inet 192.168.42.[0-9]+" | grep -Eo "192.168.42.[0-9]+"
}
start_vnc () {
tethering_ip="$(_find_ip)"
if [ -z "$tethering_ip" ]; then