Last update: Fri Jul 26 08:23:20 UTC 2019 by @luckylittle
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require 'resolv' | |
require_relative 'puppet/mr_rogers' | |
# project settings | |
app_name = 'APPLICATION_NAME_HERE' | |
org_name = 'ORG_NAME_HERE' | |
realm_mode = false | |
puppet_stack = "#{org_name}-apache-php-#{app_name}" |
This file contains 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
https://www.virtualbox.org/download/testcase/VirtualBox-7.0-7.0.3_154539_el9-1.x86_64.rpm |
This file contains 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
// ==UserScript== | |
// @id iitc-plugin-action-time@eumir | |
// @name IITC plugin: show action time on portal | |
// @category Info | |
// @version 0.5.7.@@DATETIMEVERSION@@ | |
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion | |
// @updateURL @@UPDATEURL@@ | |
// @downloadURL @@DOWNLOADURL@@ | |
// @description [@@BUILDNAME@@-@@BUILDDATE@@] Shows action time (recharged reso, captured portal, created link/field) on given portal | |
// @include https://*.ingress.com/intel* |
This file contains 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 json | |
import requests | |
import grequests | |
import sys | |
from prettytable import PrettyTable | |
if len(sys.argv) != 2: | |
print("Missing clan ID") | |
sys.exit |
World of Tanks, popular MMO game about tanks from time around WWII, has some nice mobile application called Wot Assistant (available also at AppStore and MS Marketplace). With simple packet sniffing you can guess how it retrieves players' statistics.
Surprisingly, mobile application uses quite simple API over HTTP which serves data in JSON, which is great help for people interested in creating own applications handling statistical data in game.
At this moment here is list of API features that has been discovered:
- searching players by names
- searching clans by names
This file contains 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
# shows efficiency with max and min | |
# data in format: | |
# a,b,c | |
set term svg enhanced mouse size 900,600 | |
set output "eff-2012-11-14.svg" | |
set title "Efficiency" | |
set ylabel "Eff" |
This file contains 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 | |
from eventlet.green import urllib2 | |
import eventlet | |
import json | |
import web | |
import time | |
urls = ('/u/(.*)', 'index') |
This file contains 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
Searching players: | |
http://worldoftanks.eu/community/accounts/api/%API_VER%/?source_token=%TOKEN%&search=%NAME%&offset=0&limit=1 | |
Showing player's stats: | |
http://worldoftanks.eu/community/accounts/%PLAYER_ID%/api/%API_VER%/?source_token=%TOKEN% | |
Showing player's stats from past: | |
http://dava2.worldoftanks.com/userstats/2/stats/slice/?platform=android&server=eu&account_id=%PLAYER_ID%&hours_ago=24&hours_ago=168&hours_ago=336 |
This file contains 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 "stdafx.h" | |
#include "misc.h" | |
#include <detours.h> | |
#include <tchar.h> | |
#pragma comment(lib, "detours.lib") | |
#pragma comment(lib, "detoured.lib") | |
struct player_data { | |
FString guid; |
NewerOlder