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
| // CCCVector : C++ wrapper classes for CCVector functions | |
| #pragma once | |
| extern "C" | |
| { | |
| #include "CCVector.h" | |
| } | |
| struct CCCVector4 |
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
| #pragma once | |
| #include <math.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #define EPSILON 1e-4f | |
| #ifndef TWOPI | |
| #define TWOPI 6.2831853f |
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
| @echo off | |
| net stop wuauserv | |
| CD %Windir% | |
| CD SoftwareDistribution | |
| DEL /F /S /Q Download | |
| net start wuauserv |
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
| html.letter { | |
| background-color: #D3FF99; | |
| color: #005046; | |
| } | |
| html.transition { | |
| transition: background-color 2.0s ease; | |
| background-color: #005046; | |
| color: #ffffff; | |
| } |
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
| (define (domain hanoi-domain) | |
| (:types disk peg - object) | |
| (:predicates (smaller ?x - disk ?y - object ) | |
| (on ?x - disk ?y - object) | |
| (clear ?x - object )) | |
| (:functions (cost)) | |
| (:action Move | |
| :parameters (?d - disk ?c - object ?n - object) | |
| :precondition (and | |
| (smaller ?d ?n) |
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
| SetTitleMatchMode,2 | |
| Loop { | |
| IfWinActive, Twitter | |
| { | |
| SendInput ^w | |
| } | |
| Sleep, 1000 | |
| } |
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
| import os,sys | |
| from slackclient import SlackClient | |
| if len(sys.argv) < 2: | |
| print "usage: post_as_bot.py <message>" | |
| sys.exit(-1) | |
| msg = ' '.join(sys.argv[1:]) | |
| BOT_NAME = 'BOTNAME' |
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
| Loop { | |
| IfWinActive, Twitter | |
| { | |
| SendInput ^w | |
| } | |
| Sleep, 1000 | |
| } |
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
| ^LButton:: | |
| Send {RButton} |
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
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| int main() | |
| { | |
| // you could cascade operators | |
| cout << "+---------+" << endl | |
| << "| |" << endl |