Skip to content

Instantly share code, notes, and snippets.

choco-bot / 1.RegistrySnapshot.xml
Created Apr 25, 2019
jetbrains-youtrack v2019.1.51759 - Passed - Package Tests Results
View 1.RegistrySnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="" xmlns:xsi="">
<key installerType="Msi" displayName="JetBrains YouTrack 2019.1" displayVersion="19.1.51759">
<DefaultValue />
<UninstallString><![CDATA[MsiExec.exe /X{B7A972A4-7F16-4A6F-8602-B9452F26B137}]]></UninstallString>
n-able-consulting /
Created Apr 25, 2019
ubuntu 18.04 go install script
#installing go 1.12.4
cd ~
curl -O
tar xvf go1.12.4.linux-amd64.tar.gz
rm go1.12.4.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local
View top-k-frequent-words.cpp
struct Solution final {
static vector<string> topKFrequent(vector<string>& words, int k) noexcept {
unordered_map<string, int> tally(words.size());
auto it = words.begin();
for (auto& w : words) if (!tally[w]--) swap(*it++, w);
const auto compare = [&tally](const string& a, const string& b) __attribute__((always_inline)) noexcept {
return tie(tally[a], a) < tie(tally[b], b);
View gtm_dmp_smart_tag.html
<!-- Run this code as close to the top of the <body> as you can -->
<!-- Begin BlueKai Tag -->
<script type="text/javascript">
// CHECK : is BK library available?
if(window.BKTAG && BKTAG.doTag){
View Potential Maintainers
domenkozar: python37Packages.pg8000, python37Packages.pg8000, python37Packages.pg8000, python37Packages.pg8000
garbas: python37Packages.pg8000, python37Packages.pg8000, python37Packages.pg8000, python37Packages.pg8000
View Changed Paths
x86_64-darwin python37Packages.pg8000
x86_64-linux python37Packages.pg8000
aarch64-linux python37Packages.pg8000
i686-linux python37Packages.pg8000
View more.sql
-- For all faculty (active and inactive) give them a grandfather license
-- and assign them as the owner. Basically the grandfather license is a license
-- to just keep doing what they already can do. It however has an expiration
-- date
/* 'faculty' is a set of everyone in the person table that is type faculty */
with faculty as (
select person_id
from person
brenzi / gist:59b510e5a03dd0dc9053770b918c6e88
Created Apr 25, 2019
listening to and decoding substrate events
View gist:59b510e5a03dd0dc9053770b918c6e88
println!("Got message: {}", msg);
let retstr = msg.as_text().unwrap();
let value: serde_json::Value = serde_json::from_str(retstr).unwrap();
match value["id"].as_str() {
Some(idstr) => { },
_ => {
// subscriptions
println!("no id field found in response. must be subscription");
println!("method: {:?}", value["method"].as_str());
match value["method"].as_str() {
HugsLibRecordKeeper / output_log.txt
Created Apr 25, 2019
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Thursday, April 25, 2019, 6:06:30 PM
Loaded mods:
Core: (no assemblies)
JecsTools: 0Harmony(, 0JecsTools(, AbilityUser(, AbilityUserAI(, CompActivatableEffect(, CompAnimated(, CompBalloon(, CompDeflector(, CompDelayedSpawner(, CompExtraSounds(, CompInstalledPart(, CompLumbering(, CompOverlays(, CompOversizedWeapon(, CompSlotLoadable(, CompToggleDef(, CompVehicle(, PawnShields(, ThinkNodes(
HugsLib[ov:6.1.1]: 0Harmony(, HugsLib(av:,fv:6.1.1)
RIMMSLoadUp: 0Harmony(, RIMMSLoadUp(1.0.7040.29929)
Miscellaneous 'CORE': ColonistKeys(, CommonMisc(
Share The Load: 0Harmony(, Share_The_Load(
Prisoner Harvesting: (no assemblies)
Replace Stuff: 0Harmony(, Replace_Stuff(
You can’t perform that action at this time.