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 time | |
import requests | |
base = "https://visualfractions.com/calculator/divisible-by/is-{}-divisible-by-{}/" | |
for x in range(1, 20): | |
print("Checking {} for fizzybuzziness".format(x)) | |
by3 = False | |
by5 = False | |
r = requests.get(base.format(x, 3)) |
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
package events | |
import ( | |
"encoding/binary" | |
"encoding/hex" | |
"errors" | |
"fmt" | |
"strconv" | |
"strings" | |
"time" |
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
package fileio | |
import ( | |
"archive/zip" | |
"fmt" | |
"io" | |
"os" | |
"path/filepath" | |
"strings" | |
) |
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
-- User editable configs | |
local object_batch = 500 --How many objects to iterate before yielding | |
-- Load JSON lib | |
fs = require('lfs') | |
package.path = fs.currentdir() .. "Scripts\\?.lua;" .. package.path | |
socket = require("socket") | |
local jsonlib = fs.writedir() .. "Scripts\\json.lua" | |
json = loadfile(jsonlib)() |
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
WARN: Property 'days' does not exist on type 'MX.Messages.Instances.FilterRequest' | |
ERROR: Service: System.Func`1[System.String], URL: http://mx-api.daxko.com/api/v5/devices/cd1d183e85595b7d0afca87bf453ea7fe6900f56cfbd655bd6e50f76d87a65cb/channels, Body: "", Client: 8002, Cache: , Error: (SerializationException) Could not deserialize 'application/json' request using MX.Messages.Devices.AddChannelRequestV3' | |
Error: System.Threading.Tasks.TaskCanceledException: A task was canceled. | |
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) | |
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) | |
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.FrameRequestStream.Read(Byte[] buffer, Int32 offset, Int32 count) | |
at System.IO.StreamReader.ReadBuffer() | |
at System.IO.StreamReader.ReadToEnd() | |
at ServiceStack.Text.JsonSerializer.DeserializeFromStream(Type type, Stream stream) | |
at ServiceStack.Host.Handlers.ServiceStackHandlerBase.Create |
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
package com.hoggit.missionhub.mission.data | |
import java.io.File | |
import java.util.UUID | |
import com.hoggit.mizery.core.mission.json._ | |
import com.typesafe.scalalogging.StrictLogging | |
import scala.collection.mutable.ListBuffer |
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
C:\Users\jsmitherman>chef-client | |
c:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/wmi-lite-1.0.0/lib/wmi-lite/wmi.rb:69:in `rescue in start_query': An e | |
rror occurred when querying namespace 'root/cimv2' with query 'select * from Win32_OperatingSystem'. (WmiLite::WmiExcept | |
ion) | |
(in OLE method `count': ) | |
OLE error code:80041003 in SWbemObjectSet | |
Access denied | |
HRESULT error code:0x80020009 | |
Exception occurred. | |
from c:/opscode/chef/embedded/lib/ruby/gems/2.0.0/gems/wmi-lite-1.0.0/lib/wmi-lite/wmi.rb:65:in `start_query' |
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
===================' | |
{'main': {'assists': 11.0, | |
'deaths': 4.620689655172414, | |
'gold_earned': 11485.275862068966, | |
'gold_rate': 327.41094098231275, | |
'kda': 0.8134328358208955, | |
'kills': 3.7586206896551726, | |
'kpda': 3.1940298507462686, | |
'losses': 0.41379310344827586, | |
'total_game_cs': 42.37931034482759, |
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
{ | |
"sort":[ | |
{ | |
"_score":{ | |
"order":"desc" | |
} | |
}, | |
{ | |
"rating":{ | |
"order":"desc" |