Skip to content

Instantly share code, notes, and snippets.

View ondreian's full-sized avatar
🎯
Focusing

Benjamin Clos ondreian

🎯
Focusing
View GitHub Profile
Your Login Rewards information:
<output class="mono"/>
Current login streak : 5 days
Login Bridge Information :
Login Bridges earned : 6
Minimum Days before use : none set (you will not consume bridges to maintain a streak)
Maximum to use at once : none set (you will not consume bridges to maintain a streak)
[You can manage your login bridge settings with <d>BOOST BRIDGE</d>.]
#!/usr/bin/env ruby
$0 = "lich"
##
## minimal options parser
##
module Opts
require "ostruct"
FLAG_PREFIX = "--"
def self.parse_command(h, c)
{
"compiler": {
"max": 3000,
"run": true,
"max_depth": 2
},
"hilites": {
"patterns": {
"Ondreian": "friends",
"Pixelia": "friends",
[oreh]>mstrike
You concentrate intently, focusing all your energies.
With instinctive motions, you weave to and fro striking with deliberate and unrelenting fury!
You swing a double-bladed mithglin battle axe at a deathsworn fanatic!
AS: +556 vs DS: +474 with AvD: +35 + d100 roll: +13 = +130
... and hit for 44 points of damage!
Powerful slash just cracks the deathsworn fanatic's weapon arm!
** Your mithglin battle axe surges with power as silvery grey haze coalesces around it! **
... 15 points of damage!
Superheated arc of plasma traces blackened path across the deathsworn fanatic's belly!
#!/bin/bash
set -e
port=8000
#export DISPLAY=":0"
CHAR=$1
LICH_BIN=~/gemstone/lich/lich.rb
PROFANITY_BIN=~/gemstone/profanity/profanity.rb
lookup_char_port () {
@ondreian
ondreian / alvis-quickstart.md
Last active October 24, 2016 16:11
How To Use Alvis

Step 1: Installing Alvis

;repo install alvis.rb

Step 2: Installing Dependencies

Alvis depends on an external "gem", which are modules that add utilities to your programs.

To be able to use it, you must have installed the gem command line executable (program) that comes with Ruby, and added it to your $PATH (a way for programs to find other programs). this is not in the default directions when installing Ruby from lichproject.org

@ondreian
ondreian / bounty_runner.rb
Last active July 22, 2016 19:08
Bounty runner for GSIV
require "olib"
find_guard_and_ask = proc {
Bounty.find_guard.ask_for_bounty
}
Bounty.on(:guard_bounty, &find_guard_and_ask)
Bounty.on(:guard_turn_in, &find_guard_and_ask)

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@ondreian
ondreian / .travis.yml
Last active March 7, 2016 17:30
Travis-CI file for Nim: includes Nimble and caches nim compilation, and enables PCRE support
language: c
dist: trusty
# Run builds with 2 different values of the `nim_branch` environment variable
env:
- nim_branch=master
- nim_branch=devel
# Run builds with 2 different choices of a C compiler
compiler:
- gcc
- clang