This file contains 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
package main | |
import ( | |
"testing" | |
) | |
type myKindaString string | |
// do nothing ops, no we don't need three | |
func doSumptin(a string) {} |
This file contains 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
# install brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
# install brew services | |
brew install elasticsearch | |
brew install postgresql | |
brew install redis | |
brew install zookeeper |
This file contains 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
#!/bin/sh | |
node timeout |
This file contains 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
openssl genrsa 1024 > key.pem | |
openssl req -x509 -new -key > key-cert.pem |
This file contains 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
var zScale = (innerWidth > innerHeight) ? | |
zScale = -1. - (size / innerHeight) : | |
zScale = -1. - (size = innerWidth); | |
This file contains 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
//add actor doesn't have the desired effect unless the tile can be passed as a reference, but there doesn't seem to be a way to do that | |
void addActor( igsTile tile ) { tile.activateModule( MODULE_ACTOR ); } | |
igsDungeonMap::igsDungeonMap(int x, int y): | |
m_iMapID(0), | |
m_dungeon(), | |
m_players(), | |
m_mobs(), | |
m_items() |