Skip to content

Instantly share code, notes, and snippets.

View gist:1299663
#include <stdio>
int main()
{
for(int y = 1; y <= 50; y++){
for(int x = 1; x <= 3; x++){
std::cout << y*x << ","
}
std::cout << std::endl;
}
return 0;
View gist:1268993
// Lab 2
// Jeff Heesch
// 10/5/11
// Purpose: To perform mathematical operations on two numbers
#include <iostream>
#include <cmath>
using namespace std;
int main()
@ChrisLundquist
ChrisLundquist / magicka.lua
Created Jan 29, 2011
Magicka G15 script / macro
View magicka.lua
-- To use this script
-- 1) copy and paste this body into the script editor window and save it.
-- 2) Set each G Key in each M mode (that you want to use) to "script"
-- NOTE: Only G1 - G6 are configured since I am using the orange G15,
-- Extending this to 18 is just copy and paste.
-- If you are trying to record macros and they are not working, make sure you have
-- the record delay checkbox checked, however I find this script works better and
-- is more flexible than recording each macro by hand and adjusting the delay.
View gist:752273
#include <iostream>
class Physics
{
public:
void Update() { std::cout << "Physics!"; }
};
class Graphics
{