Api call 1
{
"thing": "val"
}
Api call 2
{
"something": "val"
[url "git@ghe_server.domain.com:"] | |
insteadOf = https://ghe_server.domain.com |
$ go run scratch.go | |
# command-line-arguments | |
In file included from ./scratch.go:5: | |
/usr/local/include/librsync.h:367:21: error: unknown type name 'FILE' | |
void rs_mdfour_file(FILE *in_file, char *result); | |
^ | |
/usr/local/include/librsync.h:369:23: error: unknown type name 'FILE' | |
rs_result rs_sig_file(FILE *old_file, FILE *sig_file, | |
^ | |
/usr/local/include/librsync.h:369:39: error: unknown type name 'FILE' |
# http://docs.docker.com/reference/builder/ | |
# FROM - what is the base image for this Dockerfile? | |
FROM ubuntu | |
# MAINTAINER - who owns this Dockerfile? | |
MAINTAINER Josiah Kiehl | |
# Install Ruby | |
RUN apt-get install build-essential ruby ruby-dev -y |
class Chef | |
class Runner | |
def converge | |
Chef::Log.info("Skipping converge. This node is disabled.") | |
end | |
end | |
end |
javascript:(function() { if (window.location.host != "www.wowhead.com" && window.location.host != "wowhead.com") { alert("This is a bookmarklet that works on wowhead.com. Drag this link to your bookmarks bar. Navigate to an item's wowhead page and click the bookmarklet on your bar. This will automatically add the item to your list."); return false; } var bookmarklet_data = {"PlayerName":"Krahl","BaseUrl":"http://loot.reforged.net"}; var player = encodeURIComponent(bookmarklet_data.PlayerName); var url = encodeURIComponent(window.location.href); var dropped_by_element = $(".whtt-droppedby"); var dropped_by_string = ""; if (dropped_by_element.length == 0) { var dropped_by_element = $("#tab-dropped-by tbody.clickable a:first"); if (dropped_by_element.length == 0) { var dropped_by_element = $("#tab-contained-in-object tbody.clickable a:first"); } dropped_by_string = dropped_by_element.html() } else { dropped_by_string = dropped_by_element.html().replace("Dropped |
javascript:(function()%20{%20%20%20%20if%20(window.location.host%20!=%20"www.wowhead.com"%20&&%20window.location.host%20!=%20"wowhead.com")%20{%20%20%20%20%20%20alert("This%20is%20a%20bookmarklet%20that%20works%20on%20wowhead.com.%20Drag%20this%20link%20to%20your%20bookmarks%20bar.%20Navigate%20to%20an%20item's%20wowhead%20page%20and%20click%20the%20bookmarklet%20on%20your%20bar.%20This%20will%20automatically%20add%20the%20item%20to%20your%20list.");%20%20%20%20%20%20return%20false;%20%20%20%20}%20%20%20%20var%20bookmarklet_data%20=%20{"PlayerName":"Krahl","BaseUrl":"http://loot.reforged.net"};%20%20%20%20var%20player%20=%20encodeURIComponent(bookmarklet_data.PlayerName);%20%20%20%20var%20url%20=%20encodeURIComponent(window.location.href);%20%20%20%20var%20dropped_by_element%20=%20$(".whtt-droppedby");%20%20%20%20var%20dropped_by_string%20=%20"";%20%20%20%20if%20(dropped_by_element.length%20==%200)%20{%20%20%20%20var%20dropped_by_element%20=%20$("#tab-dropped-by%20tbody.clickable%20a:first");%20%20%20%20if%20 |
func AllPlayers() []*Player { | |
ikeys, _ := conn().Do("KEYS", playerTag + "*:item_list") | |
keys := make([]string, 0) | |
// OH MY GOD. I have no idea how to convert ikeys to a slice of | |
// strings. This feels incredibly dirty. | |
for _, key := range ikeys.([]interface{}) { | |
keys = append(keys, string(key.([]uint8))) | |
} | |
players := make([]*Player, 0) | |
for _, key := range keys { |
138 for _, i := range items.([]interface{}) { | |
139 x, _ := strconv.ParseInt(string(i.([]uint8)), 0, 0) | |
140 | |
141 ints = append(ints, int(x)) | |
142 } |
Api call 1
{
"thing": "val"
}
Api call 2
{
"something": "val"
{ | |
"accountWide": true, | |
"criteria": [ | |
{ | |
"description": "To Honor One's Elders", | |
"id": 7553, | |
"max": 1, | |
"orderIndex": 0 | |
}, | |
{ |