Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am Tasemu on github.
  • I am montague (https://keybase.io/montague) on keybase.
  • I have a public key whose fingerprint is E285 3810 DA85 8855 3D49 5BC0 3BA9 C160 5C92 834D

To claim this, I am signing this object:

@Tasemu
Tasemu / logs
Created April 12, 2015 22:09
GSBot Logs
Starting GSBot
raadiome: Logged successfully as Raadio
raadiome: {"command":"identify","params":{"app_data":{"f":"0","n":"Raadio","p":"29662485-20150326012511.gif","y":"0","z":"99b67b7f"},"invisible":false,"userid":"29662485","app_sig":"1428876136:e127536222e28cd97b7c08d4c9a00f7b3f708ff7","sessionid":"f6d1b6952d6523a6ec1441e3057ad0a2"},"blackbox":{"_cid":1}}
raadiome: {"command":"identify","type":"success","success":{"id":{"sudo":false,"uid":"g2dkABNtYW5hdGVlQDE3Mi4xNi4wLjgxAABQIgAAB5AD","userid":"29662485","app_data":{"f":"0","n":"Raadio","p":"29662485-20150326012511.gif","y":"0","z":"99b67b7f"}},"loggedin":true},"blackbox":{"_cid":1}}
raadiome: {"command":"set","params":{"keyvals":[{"key":"i","readable":"global","value":{"p":"29662485-20150326012511.gif","n":"Raadio","y":false}}]},"blackbox":{"_cid":2}}
raadiome: {"command":"set","type":"success","success":"set","blackbox":{"_cid":2}}
raadiome: {"command":"sub","params":{"add":true,"subs":[{"overwrite_params":false,"sub":"global"},{"overwrite_params":false,
#include <SFML/Graphics.hpp>
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#include <iostream>
#include <array>
class Node : public sf::CircleShape {
public:
bool isAlive() {
return alive;
@Tasemu
Tasemu / quickfight.cpp
Created March 9, 2015 13:15
learning c++
#include <iostream>
#include <string>
using namespace std;
class Enemy {
protected:
int attackPower;
int hp;
public:
void setAttackPower (int x) {
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Hero.h"
using namespace std;
void mainmenu();
void createNewHero();
#include <iostream>
using namespace std;
void doubleNumbers (int x) {
cout << x * 2 << endl;
}
void doubleNumbers (double x) {
cout << x * 2 << endl;
}
#include <iostream>;
using namespace std;
int betty = 5;
void changeBetty (x) {
betty = x;
}
void main () {
@Tasemu
Tasemu / main.js
Last active August 29, 2015 14:15
/** @jsx React.DOM */
(function (React) {
var data = [
'Go to work',
'Play Albion Online',
'Keep learning React'
]
@Tasemu
Tasemu / home-controller.js
Created January 27, 2015 11:35
infinite scroll error
app.controller('homeController', function ($scope, manga, $timeout) {
console.log('homeController Initialized');
$scope.visibleManga = [];
manga.getNewManga(function (manga) {
$scope.newManga = manga;
$scope.visibleManga = $scope.newManga.slice(1, 25);
$scope.app.loading = false;
});
$scope.loadMore = function() {
@Tasemu
Tasemu / contollers.js
Created May 26, 2014 03:54
Consuming a rest interface using $resource
app.controller('UserCtrl', ['$scope', 'User', function ($scope, User) {
User.query().$promise.then(function (users) {
console.log(users[0]);
});
}]);