Skip to content

Instantly share code, notes, and snippets.

<!--
Any game section that is required outside of the game window needs to be global across all game modes, and should be
included only in the root definition xml:
- All tags in the <game> element
- <fonts>
- <proxygen>
- <gameModes>
- <card>
- <deck>
- <sharedDeck>
@kellyelton
kellyelton / newAskCard.py
Last active August 29, 2015 14:03
New ask card
def askCard(criteria = {}, operator = None, source = "db"):
if source == "db":
realDick = Dictionary[String, List[String]]()
for (propKey, propValue) in criteria.items():
if type(propValue) is list:
realDick[propKey] = List[String](propValue)
else:
realDick[propKey] = List[String]([propValue])
apiResult = _api.AskCard(realDick,operator)
if apiResult == None: return (None, 0)
using System;
using System.Collections.Generic;
using System.Management.Instrumentation;
using System.Net;
using System.Net.Sockets;
using Media;
using Media.Rtmp;
using Media.Rtp;
using Media.Rtsp;
using Media.Rtsp.Server.Streams;
@kellyelton
kellyelton / TestResponse.txt
Last active August 29, 2015 14:05
Test responses
!LIST
Don't worry {0}, it'll be ok...
You don't wanna go there {0}
I can't stop, I'm addicted to {0}!
Don't knock {0} until you try it!
Hi {0}!
Finally, {0} is here!
I've been waiting to talk to {0} all day!
My best buddy {0}, how's that booty shakin?
Hey...Hey {0}...Have you heard the news?
@kellyelton
kellyelton / .vimrc
Created August 21, 2014 05:48
vimrc
execute pathogen#infect()
:set number
:color slate
:set tabstop=4
:set shiftwidth=4
:set textwidth=0
:set wrapmargin=0
syntax on
filetype plugin indent on
:set ai
@kellyelton
kellyelton / attention.txt
Created August 21, 2014 20:17
ATTENTION
!!!Attention Attention!!!
WE'VE GOT A GREAT DEAL FOR YOU
WE GOT CRAYONS, HALF PRICE
())__CRAYON___)) > <(°^°<)
YOU CAN'T FORGET ABOUT OUR AWESOME SELECTION OF BOOBIES
(>°^°)> (. )( .)
[.][.] <(°^°<)
(>°^°)> (.)(.)
@kellyelton
kellyelton / RedditPost.txt
Last active August 29, 2015 14:05
RedditPost
Hello everybody! We are the OCTGN development team, and we looking towards the community to help improve the OCTGN experience for everyone. We regularly watch the OCTGN chatter on Twitter, Reddit, OCTGN's support forums and built-in chatroom, as well as on several other popular sites and forums, and we would like to get some feedback from everyone.
While we regularly release updates to OCTGN to address bugs and issues, we try to create big, splashy updates at every 10% interval of our funding campaign. We have a few ideas for updates between now and 100%, but we decided we are interested in feedback on what new features you all would like to see, starting with the 60% update.
We have various ties into the community, including the /r/octgn subreddit. Here are some other locations where we are active:
- Twitter: Follow @octgn_official for important update, including server status. Our tweets will always appear in the center column of the OCTGN login window. We also follow the #octgn hashtag.
- http://hel
@kellyelton
kellyelton / .bashrc
Created August 28, 2014 17:07
.bashrc
# Reset
Color_Off="\[\033[0m\]" # Text Reset
# Regular Colors
Black="\[\033[0;30m\]" # Black
Red="\[\033[0;31m\]" # Red
Green="\[\033[0;32m\]" # Green
Yellow="\[\033[0;33m\]" # Yellow
Blue="\[\033[0;34m\]" # Blue
Purple="\[\033[0;35m\]" # Purple
@kellyelton
kellyelton / CONTRIBUTING.md
Created September 8, 2014 22:33
OCTGN CLA

##Definitions

  • I - The Contributor
  • Submission - Transferring materials to the OCTGN Team
  • Materials - Code, images, documents, or any data included during submission.
  • OCTGN Team - Kelly Elton and/or the current owners of the main OCTGN Repository https://github.com/kellyelton/OCTGN

##Agreement I, agree that upon submitting materials to the OCTGN Team, I immediate transfer all rights to said IP to the OCTGN Team. I also give the OCTGN Team the right to save the username/name/handle I used when submitting the IP, and associate with the IP.

I also agree that I am responsible(legally or otherwise) for materials that I submit, and I will not submit any materials that I do not have the explicit rights to submit. I also understand that I do not have the right to make any agreements with the owners of said materials on behalf of the OCTGN Team.

@kellyelton
kellyelton / global_area.php
Created December 18, 2014 19:55
ConcreteSnippit
public function display() {
$c = Page::getCurrentPage();
if(!$c->cID)
{
$c = Page::getByPath("/page_not_found");
if(!$c->cID)
echo "1";
}
parent::getOrCreate($c, $this->arHandle, 1);
parent::display($c);