View gist:2bbff1953bb5ac153867d8dd04bcf153
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
lua myShip | |
{ | |
hull = { | |
starboard = { | |
max = "33", | |
current = "33" | |
}, | |
port = { | |
max = "33", | |
current = "33" |
View gist:3facde05b81c05654fd9655173e05d92
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE MudletPackage> | |
<MudletPackage version="1.001"> | |
<AliasPackage> | |
<Alias isActive="yes" isFolder="no"> | |
<name>cast lightning bolt</name> | |
<script>if matches[2] then | |
send("cast 'lightning bolt' "..matches[2]) | |
else | |
send("cast 'lightning bolt'") |
View run.py
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
ssh://vagrant@127.0.0.1:2222/usr/bin/python3 /home/vagrant/.pycharm_helpers/pydev/pydevconsole.py 0 0 | |
PyDev console: starting. | |
import sys; print('Python %s on %s' % (sys.version, sys.platform)) | |
sys.path.extend(['/opt/spidertrap']) | |
Python 3.4.3 (default, Oct 14 2015, 20:28:29) | |
[GCC 4.8.4] on linux | |
>>> from abc import * | |
>>> import abc |
View hourglass.ino
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
/* | |
Name: digital_hourglass.ino | |
Created: 12/12/2015 8:41:20 PM | |
Author: Tymoteusz Paul | |
*/ | |
const int switchPin = 8; | |
const long interval = 6000; | |
unsigned long previousTime = 0; |
View desc.txt
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
Standing at roughly six feet this tall figure of a man is certainly well | |
built, with strong square frame clearly visible despite the layers of | |
clothing. From the head mounted between strong shoulders with a length of | |
blonde, not well maintained, hair falling a behind the shoulder line. His | |
face paints an interesting picture, while the overall shape is quite | |
symmetric, the uneven brow, large flat ears and squished nose add certain | |
grotesque to it. | |
Upon a closer scrutiny, one can notice that his back is with a hump, not |
View gist:1541b0a043e26a70cd03
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
------------------ | |
System Information | |
------------------ | |
Time of this report: 7/16/2015, 15:57:10 | |
Machine name: EVA-02 | |
Operating System: Windows 10 Enterprise 64-bit (10.0, Build 10240) (10240.th1_st1.150711-1429) | |
Language: English (Regional Setting: English) | |
System Manufacturer: ASUS | |
System Model: All Series | |
BIOS: Default System BIOS |
View gist:6a648cf742d44e471e2e
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
------------------ | |
System Information | |
------------------ | |
Time of this report: 7/4/2015, 14:25:51 | |
Machine name: EVA-02 | |
Operating System: Windows 10 Enterprise Insider Preview 64-bit (10.0, Build 10130) (10130.fbl_impressive.150522-2224) | |
Language: English (Regional Setting: English) | |
System Manufacturer: ASUS | |
System Model: All Series | |
BIOS: Default System BIOS |
View gist:b2c41324c09cee52b398
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
------------------ | |
System Information | |
------------------ | |
Time of this report: 6/30/2015, 14:45:08 | |
Machine name: EVA-02 | |
Operating System: Windows 8.1 Enterprise 64-bit (6.3, Build 9600) (9600.winblue_r9.150322-1500) | |
Language: English (Regional Setting: English) | |
System Manufacturer: ASUS | |
System Model: All Series | |
BIOS: BIOS Date: 08/15/14 15:17:17 Ver: 21.03 |
View client.cpp
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
#include <boost/asio/ip/tcp.hpp> | |
#include "jsoncpp/json/json.h" | |
#include <zlib.h> | |
#include <boost/python.hpp> | |
using namespace std; | |
std::string decompress_string(const std::string& str) | |
{ | |
z_stream zs; // z_stream is zlib's control structure |
NewerOlder