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
[{"position":1,"name":"FIFA 18","total":7279925,"yearly":7279925},{"position":2,"name":"Call of Duty: WWII","total":5087256,"yearly":5087256},{"position":3,"name":"The Legend of Zelda: Breath of the Wild","total":4436042,"yearly":4436042},{"position":4,"name":"Mario Kart 8 Deluxe","total":3887083,"yearly":3887083},{"position":5,"name":"Horizon: Zero Dawn","total":3802147,"yearly":3802147},{"position":6,"name":"Super Mario Odyssey","total":3277178,"yearly":3277178},{"position":7,"name":"Crash Bandicoot N. Sane Trilogy","total":2796345,"yearly":2796345},{"position":8,"name":"Splatoon 2","total":2765720,"yearly":2765720},{"position":9,"name":"Tom Clancy's Ghost Recon Wildlands","total":2700028,"yearly":2700028},{"position":10,"name":"Pokemon Sun/Moon","total":2697473,"yearly":14732003},{"position":11,"name":"Destiny 2","total":2594433,"yearly":2594433},{"position":12,"name":"Grand Theft Auto V","total":2574645,"yearly":16211990},{"position":13,"name":"Resident Evil VII: Biohazard","total":2372577,"yearly":237257 |
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
→ be rails s | |
Warning: You're using Rubygems 2.0.14 with Spring. Upgrade to at least Rubygems 2.1.0 and run `gem pristine --all` for better startup performance. | |
=> Booting Thin | |
=> Rails 4.2.4 application starting in development on http://localhost:3000 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
Thin web server (v1.6.4 codename Gob Bluth) | |
Maximum connections set to 1024 | |
Listening on localhost:3000, CTRL+C to stop | |
/Users/nvloff/work/Textmaster.com/vendor/ruby/2.0.0/bundler/gems/rack-timeout-5e579ee5fe7b/lib/rack/timeout/core.rb:23: [BUG] object allocation during garbage collection phase |
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
#!/bin/bash | |
HASH="%C(yellow)%h%Creset" | |
HASH_WHITE="%C(white)%h%Creset" | |
AUTHOR_RELATIVE_TIME="%Cgreen(%ar)%Creset" | |
COMMIT_RELATIVE_TIME="%Cgreen(%cr)%Creset" | |
AUTHOR="%C(bold blue)<%an>%Creset" | |
REFS="%C(red)%d%Creset" |
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
class SandboxedTestCase < TestCase | |
def setup | |
@remote_repo = sandbox_init('testrepo.git') | |
@repo = sandbox_clone(@remote_repo) | |
end | |
def teardown | |
FileUtils.remove_entry_secure(@remote_repo.path) | |
FileUtils.remove_entry_secure(@repo.path) | |
end |
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 base64 | |
import sys | |
def get_nalus(file_name, count): | |
bitstream = open(file_name, "rb") | |
data = bitstream.read(count*3000) | |
data = base64.b16encode(data) | |
nalus = data.split('00000001') | |
for nalu in nalus[1:count+1]: | |
nalu_t = int(nalu[0:2],16) & int('1f',16) |