Skip to content

Instantly share code, notes, and snippets.

openpanzer / openpanzer-save.json
Created Apr 20, 2019
Tutorial - Battle of Minorca-1
View openpanzer-save.json
{"scenario":{"name":"Tutorial - Battle of Minorca","maxTurns":20,"date":"1939-02-03T22:00:00.000Z","atmosferic":0,"latitude":0,"ground":0,"turnsPerDay":0,"dayTurn":0,"reinforcements":{"5":[{"row":18,"col":9,"unit":{"eqid":743,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":10,"facing":9,"flag":26,"destroyed":false,"player":null,"transport":null,"carrier":0,"moveLeft":2,"ammo":6,"fuel":0,"hasAnimation":false,"hits":0,"experience":0,"entrenchment":0,"entrenchTicks":0,"leader":-1},"turn":5,"id":1},{"row":18,"col":12,"unit":{"eqid":292,"id":-1,"owner":1,"hasMoved":false,"hasFired":false,"hasResupplied":false,"hasOverstrength":false,"isMounted":false,"isSurprised":false,"isDeployed":false,"isCore":false,"tempSpotted":false,"strength":10,"facing":10,"flag":26,"destroyed":false,"player":null,"transport":null,"carrier":0,"moveLeft":8,"ammo":10,"fuel":55,"hasAnimation
choco-bot / FilesSnapshot.xml
Created Apr 20, 2019
rocrail v0.15303 - Failed - Package Tests Results
View FilesSnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="" xmlns:xsi="">
<file path="C:\ProgramData\chocolatey\lib\rocrail\rocrail.nupkg" checksum="C90B81CC3560C64B1E2D07285115EB11" />
<file path="C:\ProgramData\chocolatey\lib\rocrail\rocrail.nuspec" checksum="004F601DA2DF3B7BB7D958758A579A45" />
<file path="C:\ProgramData\chocolatey\lib\rocrail\tools\chocolateyinstall.ps1" checksum="9D7F7617DD621225855A6131B3B3AE0E" />
View robodog.js
import {bark} from './dog';
import {compose} from './functional';
const doubleIt = a => 2 * a;
export const roboBark = composePipe(bark, doubleIt);
kapilghimire / Commands
Created Apr 20, 2019
Kubernetes commands
View Commands
Replicat Set --- collection of pod running for applicaton
Replica set
netmin-net / index.html
Created Apr 20, 2019
Phone-Styled IFrame
View index.html
<!--The Main Thing-->
<div id="wrapper">
<div class="phone view_1" id="phone_1">
<iframe src="" id="frame_1"></iframe>
<!--Controls etc.-->
<div id="controls">
pre-31-Hanjungmin /
Last active Apr 20, 2019 — forked from thegitfather/
Vanilla JavaScript Quick Reference / Cheatsheet
Abasiyanik / PY0101EN-2-1-Tuples.ipynb
Created Apr 20, 2019
Created on Cognitive Class Labs
View PY0101EN-2-1-Tuples.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
rust-play /
Created Apr 20, 2019
Code shared from the Rust Playground
// Note this is a subscribe problem
// Good morning! Here's your coding interview problem for today.
// This problem was asked by Amazon.
// Given an integer k and a string s, find the length of the longest substring that contains at most k distinct characters.
View simon-says4.js
// console.log is impure and does not provide any return value
// so we have to improve it
const investigate = a => console.log(a) || a;
const simonSays = composePipe(
Nircek / main.cpp
Created Apr 20, 2019
The computer program dividing people into 2 teams
View main.cpp
#include <iostream> // cout, cin
#include <cstdlib> // rand()
#include <ctime> // time()
MIT License
Copyright (c) 2019 Nircek
Permission is hereby granted, free of charge, to any person obtaining a copy
You can’t perform that action at this time.