Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kiloreux on github.
  • I am kiloreux (https://keybase.io/kiloreux) on keybase.
  • I have a public key ASDePzDRvX4f5GQNakhMqeXi6ytDYMqPlzVUmvRHWaIO3Qo

To claim this, I am signing this object:

#!/usr/bin/env bash
set -o pipefail
set -o errexit
set -o nounset
# set -o xtrace
IFS=$'\n\t'
@kiloreux
kiloreux / echo-server.yml
Created February 15, 2018 19:19
Kubernetes echo-server
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: echoserver
namespace: default
spec:
replicas: 1
template:
metadata:
labels:
@kiloreux
kiloreux / format.js
Created November 27, 2016 13:33
Turn JSON Object to Ruby hashes.
formatJR(obj, depth = 0) {
let out =""
let addition = ""
let steps = []
let type = typeof(obj)
switch(type) {
case "string":
case "boolean":
case "number":
out += JSON.stringify(obj)

Keybase proof

I hereby claim:

  • I am kiloreux on github.
  • I am kiloreux (https://keybase.io/kiloreux) on keybase.
  • I have a public key whose fingerprint is 299A 6FB5 4B1B 878F 35FC AD28 8B81 EA3F A91E B758

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kiloreux on github.
  • I am kiloreux (https://keybase.io/kiloreux) on keybase.
  • I have a public key ASAHZ7UlCw4HFzJzVdsMM07gjyckQ-XmfolAkym9QHW7vAo

To claim this, I am signing this object:

--------------
|
|
|
|
|
|
|
|
|

Keybase proof

I hereby claim:

  • I am kiloreux on github.
  • I am kiloreux (https://keybase.io/kiloreux) on keybase.
  • I have a public key whose fingerprint is 6B48 00C7 07B4 69AA 2157 4F4B F94C 924B 0BE3 583B

To claim this, I am signing this object:

@kiloreux
kiloreux / designer.html
Last active August 29, 2015 14:17
designer
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
@kiloreux
kiloreux / Project Euler :Summation of Primes
Created November 8, 2014 22:08
My solution to Project Euler problem
#include<iostream>
#include<cmath>
using namespace std;
bool isPrime(long long var)
{
for(int i=2;i<=sqrt(var);i++)
{
if(var%i==0)
{