Skip to content

Instantly share code, notes, and snippets.

@yb66
yb66 / bench_str_building.rb
Created Mar 20, 2019 — forked from alno/bench_str_building.rb
Benchmark: interpolation vs concatenation in Ruby
View bench_str_building.rb
require 'benchmark'
count = 1000000
Benchmark.benchmark do |bm|
bm.report("concat") { count.times { 11.to_s + '/' + 12.to_s } }
bm.report("interp") { count.times { "#{11}/#{12}" } }
end
View ignitionCoreOSDockerRegistry.json
{
"ignition": {
"config": {},
"timeouts": {},
"version": "2.1.0"
},
"networkd": {},
"passwd": {
"users": [
{
View Admin.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use SMartins\PassportMultiauth\HasMultiAuthApiTokens;
use Illuminate\Foundation\Auth\User as Authenticatable;
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created Mar 20, 2019
tomboy v1.15.7 - Passed - Package Tests Results
View 1.RegistrySnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Msi" displayName="Tomboy Notes" displayVersion="1.15.7.0">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4198A177-425C-4630-BC4A-F31954110523}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{4198A177-425C-4630-BC4A-F31954110523}]]></UninstallString>
View untrusted-lvl1-solution.js
/*****************
* cellBlockA.js *
*****************
*
* Good morning, Dr. Eval.
*
* It wasn't easy, but I've managed to get your computer down
* to you. This system might be unfamiliar, but the underlying
* code is still JavaScript. Just like we predicted.
*
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Mar 20, 2019
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Wednesday, March 20, 2019, 12:58:05 PM
Loaded mods:
Core: (no assemblies)
HugsLib[ov:6.1.1]: 0Harmony(1.2.0.1), HugsLib(av:1.0.0.0,fv:6.1.1)
JecsTools: 0Harmony(1.0.9.1), 0JecsTools(1.0.8.0), AbilityUser(1.18.0.0), AbilityUserAI(1.18.0.0), CompActivatableEffect(1.18.0.0), CompAnimated(1.18.0.0), CompBalloon(1.18.0.0), CompDeflector(1.18.0.0), CompDelayedSpawner(1.18.0.0), CompExtraSounds(1.18.0.0), CompInstalledPart(1.18.0.0), CompLumbering(1.18.0.0), CompOverlays(1.18.0.0), CompOversizedWeapon(1.18.0.0), CompSlotLoadable(1.18.0.0), CompToggleDef(1.18.0.0), CompVehicle(1.17.0.1), PawnShields(1.0.0.0), ThinkNodes(1.0.0.0)
Humanoid Alien Races 2.0: 0Harmony(1.2.0.2), AlienRace(1.0.0.0)
EdB Prepare Carefully: 0Harmony(1.1.0.0), EdBPrepareCarefully(1.0.10.0)
Dubs Mint Menus: 0Harmony(1.2.0.1), DubsMintMenus(1.0.6996.7931)
Simple sidearms[ov:1.3.1]: SimpleSidearms(1.0.0.0)
Increased Stack: (no assemblies)
View results-20-combined.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 21 columns, instead of 1.
image,aeroplane,bicycle,bird,boat,bottle,bus,car,cat,chair,cow,diningtable,dog,horse,motorbike,person,pottedplant,sheep,sofa,train,tvmonitor
../data/VOCdevkit/VOC2012\JPEGImages\2010_004184.jpg,1.0,7.900000000000001e-05,0.0,0.0,1.8e-05,8e-06,4.3e-05,1e-06,1e-06,2.5e-05,1e-06,1e-06,0.000121,2e-06,0.001052,0.000126,3e-06,0.0,0.000171,0.0
../data/VOCdevkit/VOC2012\JPEGImages\2010_003801.jpg,1.0,0.00015,0.0,0.0,2.9999999999999997e-05,0.0002,0.000528,5e-06,0.0,3e-06,0.0,1e-06,1.3000000000000001e-05,8e-06,0.000198,6.9e-05,1e-06,0.0,2.5e-05,0.0
../data/VOCdevkit/VOC2012\JPEGImages\2009_002752.jpg,1.0,2.9999999999999997e-05,0.0,0.0,4e-06,6.4e-05,0.00023500000000000002,1e-06,0.0,2e-06,0.0,0.0,2.6000000000000002e-05,2e-06,0.000651,1.6e-05,3e-06,0.0,1.2e-05,0.0
../data/VOCdevkit/VOC2012\JPEGImages\2009_000260.jpg,1.0,2.9999999999999997e-05,0.0,1e-06,1.6e-05,1.4000000000000001e-05,4.8e-05,1e-06,1e-06,1.4000000000000001e-05,1e-06,0.0,9.4e-05,1e-06,0.000499,3.9e-05,2e-06,0.0,0.000147,0.0
../data/VOCdevkit/VOC2012\JPEGImage
@choco-bot
choco-bot / FilesSnapshot.xml
Created Mar 20, 2019
visualstudio2019enterprise v16.0.0.0-rc30000 - Failed - Package Tests Results
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\visualstudio2019enterprise\visualstudio2019enterprise.nupkg" checksum="FF1652797D07CA29289E03FF5E24B581" />
<file path="C:\ProgramData\chocolatey\lib\visualstudio2019enterprise\visualstudio2019enterprise.nuspec" checksum="9AC7CDECF0D567AFC6CE598B803FECE4" />
<file path="C:\ProgramData\chocolatey\lib\visualstudio2019enterprise\tools\.skipAutoUninstall" checksum="D41D8CD98F00B204E9800998ECF8427E" />
<file path="C:\ProgramData\chocolatey\lib\visualstudio2019enterprise\tools\ChocolateyInstall.ps1" checksum="A57D5AB3E708867A59E9DE9FD34B4C80" />
<file path="C:\ProgramData\chocolatey\lib\visualstudio2019enterprise\tools\ChocolateyUninstall.ps1" checksum="BBC3EECFE0DDCBA0C01604A5B14AF328" />
</files>
</fileSnapshot>
View extra-moas-changelog.json
{
"homepage": "https://minecraft.curseforge.com/projects/extra-moas",
"promos": {
"1.12.2-recommended": "1.2.0",
"1.12.2-latest": "1.2.0"
},
"1.12.2": {
"1.2.0": "- Added Neptune Moa.\n- Added Withered Moa.\n- Added Violet Moa.\n- Added Violet Moa Ability.\n- Added Demon Moa Ability.\n- Demon Moa has flame particles now!\n- Added a config option to enable tamed Moa death messages.\n",
"1.1.0": "- Updated to support Aether Legacy v3.2+\n",
"1.0.0": "- Initial release\n"
View HW1
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.