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 <windows.h> | |
#include <iostream> | |
int main(int argc, char *argv[]) | |
{ | |
LASTINPUTINFO * lastInputInfo = new LASTINPUTINFO(); | |
lastInputInfo->cbSize = sizeof(*lastInputInfo); | |
GetLastInputInfo(lastInputInfo); | |
std::cout << GetTickCount() - lastInputInfo->dwTime << std::endl; | |
return 0; |
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
Version 1 of Number to English by Aaron Mavrinac begins here. | |
"Substitute the English name of integral numbers for more natural-looking dialogue." | |
Table of English Numbers | |
Integer English Name | |
0 "zero" | |
1 "one" | |
2 "two" | |
3 "three" |
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
#!/usr/bin/env python | |
# Quantifying the 21st-century trend of film sequels, remakes, and franchise | |
# reboots over the top 10 grossing films each year since 2000. | |
import numpy | |
from scipy import stats | |
y = range(2000, 2013) |
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
--- /usr/share/texmf-dist/bibtex/bst/IEEEtran/IEEEtranN.bst 2008-09-30 19:18:36.000000000 -0400 | |
+++ IEEEtranNdoi.bst 2012-08-16 16:41:34.000000000 -0400 | |
@@ -146,6 +146,10 @@ | |
FUNCTION {default.name.latex.cmd}{ "" } | |
+% The default DOI prefix. | |
+FUNCTION {default.name.doi.prefix}{ "" } | |
+ | |
+ |
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
"""\ | |
Particle Swarm Optimization | |
@author: Aaron Mavrinac | |
@organization: University of Windsor | |
@contact: [email protected] | |
@license: GPL-3 | |
""" | |
import numpy |
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 <signal.h> | |
#include "HalconC.h" | |
#ifndef NO_EXPORT_MAIN | |
int quit; | |
Htuple AcqHandle; | |
void start() | |
{ |