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
class Player | |
def play_turn(warrior) | |
@warrior = warrior | |
@state = get_next_objective | |
case @state | |
when :all_clear | |
step_forward | |
when :enemy_ahead |
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
class Player | |
def play_turn(warrior) | |
@warrior = warrior | |
@state = get_next_objective | |
case @state | |
when :clear_room | |
clear_room | |
when :flee_and_heal |
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
╭─sent1nel@syndicate ~/apps/mockmeet ‹2.2.0› | |
╰─$ fortune | cowsay | lolcat | |
_________________________________________ | |
/ In /users3 did Kubla Kahn A stately \ | |
| pleasure dome decree, Where /bin, the | | |
| sacred river ran Through Test Suites | | |
\ measureless to Man Down to a sunless C. / | |
----------------------------------------- | |
\ ^__^ | |
\ (oo)\_______ |
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
╭─sent1nel@syndicate ~ ‹2.1.1› | |
╰─$ cat greeter.js | |
class Greeter { | |
constructor(name) { | |
this.name = name; | |
} | |
greeting() { | |
return `Hey, ${this.name}!`; | |
} |
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
<?php | |
class Person { | |
function __construct($name) { | |
$this->name = $name; | |
} | |
} | |
$person = new Person('sent1nel'); |
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
The Parlour of the Immortals - - - | |
-<---- Vnum: 1200 ----------------------------->- -<---(*)--->- | |
- - - | |
[Exits: none] | |
+-----------+ You are lounging in a quiet cosy parlour, warmed by a gentle | |
| | magical fire which twinkles happily in a warm fireplace. | |
| | | |
| | | |
| | |
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
You enter the Great Hall | |
> l | |
Great Hall | |
You can go: north | |
> n | |
You entered the Throne Room. | |
> l | |
Throne Room |
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
make defconfig | |
make | |
sudo cp arch/x86_64/boot/bzImage /boot/vmlinuz-4.0.8-amd64 | |
sudo cp System.map /boot/System.map-4.0.8-amd64 | |
sudo update-initramfs -c -k 4.0.8-amd64 | |
sudo update-grub | |
sudo reboot | |
uname --all # Linux stormwind 4.0.8 #1 SMP Sat Jul 11 19:53:00 EDT 2015 x86_64 GNU/Linux (woot!) |
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
greet :: [Char] -> [Char] | |
greet name = "hello, " ++ name | |
main = putStrLn (greet "sent1nel") |