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
SteamService.getGroupMembers = function(steam_id, callback) { | |
callback = callback || noop; | |
var url = 'http://steamcommunity.com'; | |
if (/\d{3,10}/.test(steam_id)) { | |
steam_id = calculateSteamGroupId64(steam_id); | |
url += '/gid/'; | |
} else { | |
url += '/groups/'; | |
} | |
url += steam_id + '/memberslistxml/?xml=1'; |
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
% Absolute value | |
% http://tex.stackexchange.com/a/43009/62694 | |
\DeclarePairedDelimiter\abs{\lvert}{\rvert}% | |
\DeclarePairedDelimiter\norm{\lVert}{\rVert}% | |
% Swap the definition of \abs* and \norm*, so that \abs | |
% and \norm resizes the size of the brackets, and the | |
% starred version does not. | |
\makeatletter | |
\let\oldabs\abs |
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
$ clang -v | |
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) | |
Target: x86_64-apple-darwin14.0.0 | |
Thread model: posix | |
$ gcc -v | |
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | |
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) | |
Target: x86_64-apple-darwin14.0.0 | |
Thread model: posix |
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
spring: | |
application: | |
name: tester | |
cloud: | |
config: | |
discovery: | |
enabled: true |
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
{ | |
_links: { | |
self: 'https://api.twitch.tv/kraken/streams/deiga', | |
channel: 'https://api.twitch.tv/kraken/channels/deiga' | |
}, | |
stream: { | |
_id: 14103057472, | |
game: 'Test', | |
viewers: 0, | |
created_at: '2015-04-21T20:00:44Z', |
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
{ | |
streams: [{ | |
_id: 14103057472, | |
game: 'Test', | |
viewers: 0, | |
created_at: '2015-04-21T20:00:44Z', | |
video_height: 720, | |
average_fps: 29.8421052632, | |
_links: [Object], | |
name: 'live_user_deiga', |
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
[{ | |
_id: 14103057472, | |
game: 'Test', | |
viewers: 0, | |
created_at: '2015-04-21T20:00:44Z', | |
video_height: 720, | |
average_fps: 29.8421052632, | |
_links: { | |
self: 'https://api.twitch.tv/kraken/streams/deiga' | |
}, |
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
SEVERE: Servlet.service() for servlet [default] in context with path [] threw exception [org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: com.fasterxml.jackson.jaxrs.cfg.EndpointConfigBase.<init>(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;)V] with root cause | |
java.lang.NoSuchMethodError: com.fasterxml.jackson.jaxrs.cfg.EndpointConfigBase.<init>(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;)V | |
at com.fasterxml.jackson.jaxrs.json.JsonEndpointConfig.<init>(JsonEndpointConfig.java:30) | |
at com.fasterxml.jackson.jaxrs.json.JsonEndpointConfig.forReading(JsonEndpointConfig.java:36) | |
at com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider._configForReading(JacksonJsonProvider.java:217) | |
at com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider._configForReading(JacksonJsonProvider.java:45) | |
at com.fasterxml.jackson.jaxrs.base.ProviderBase._configForReading(ProviderBase.java:468) | |
at com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:773) | |
at org.glassfish.jersey |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
Viinipirun Virallinen Glögiresepti: | |
2 l omenamehua | |
tuoretta inkivääriä | |
kanelitankoja | |
tähtianiksia | |
sitruuna | |
hunajaa | |
2 dl * tähden Jallua |