Skip to content

Instantly share code, notes, and snippets.

View trevex's full-sized avatar
🦦

Nik Voss trevex

🦦
  • Google
  • Hamburg, Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am trevex on github.
  • I am trevex (https://keybase.io/trevex) on keybase.
  • I have a public key whose fingerprint is 95A4 82BC 50ED BAA8 0DF5 5B63 82DE 9DE0 3B66 B361

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
Using regex '\w*-ambassador.*' to match pods
Will tail 3 logs...
figo-ambassador-8d984dd74-7hn48(B
figo-ambassador-8d984dd74-lvtls(B
figo-ambassador-8d984dd74-wnhxm(B
[figo-ambassador-8d984dd74-7hn48] TRCE [ 111.013224s] tokio_reactor event Readable Token(12582915) (B
[figo-ambassador-8d984dd74-7hn48] DBUG [ 111.013265s] tokio_reactor loop process - 1 events, 0.000s (B
[figo-ambassador-8d984dd74-7hn48] TRCE [ 111.013317s] proxy={server=in listen=0.0.0.0:4143} linkerd2_proxy::transport::addr_info get_original_dst TcpStream { addr: V4(10.7.73.127:4143), peer: V4(10.7.73.1:35062), fd: 23 } (B
[figo-ambassador-8d984dd74-7hn48] DBUG [ 111.013341s] proxy={server=in listen=0.0.0.0:4143} linkerd2_proxy::transport::tls::listen accepted connection from 10.7.73.1:35062 to Some(V4(10.7.73.127:8877)); attempting TLS handshake (B
[figo-ambassador-8d984dd74-7hn48] TRCE [ 111.013377s] proxy={server=in listen=0.0.0.0:4143} mio::poll registering with
This file has been truncated, but you can view the full file.
Using regex '\w*-figo-api-http.*' to match pods
Will tail 3 logs...
figo-figo-api-http-7997c65bc-4zxnb(B
figo-figo-api-http-7997c65bc-fzclj(B
figo-figo-api-http-7997c65bc-pr64d(B
[figo-figo-api-http-7997c65bc-pr64d] DBUG [ 2424.833154s] tokio_reactor loop process - 0 events, 0.000s (B
[figo-figo-api-http-7997c65bc-pr64d] DBUG [ 2425.409786s] tokio_reactor loop process - 0 events, 0.000s (B
[figo-figo-api-http-7997c65bc-pr64d] DBUG [ 2425.421892s] tokio_reactor loop process - 0 events, 0.000s (B
[figo-figo-api-http-7997c65bc-pr64d] TRCE [ 2425.421998s] tokio_reactor event Readable Token(4194303) (B
[figo-figo-api-http-7997c65bc-pr64d] TRCE [ 2425.422000s] tokio_reactor event Readable Token(4194303) (B
from conans import ConanFile, CMake
from conans.tools import download, unzip
import os
class GLFW3Conan(ConanFile):
name = "GLFW3"
version = "3.1.2"
settings = "os", "compiler", "build_type", "arch"
folder = "glfw-%s" % version
@trevex
trevex / scraper.js
Created August 25, 2015 19:56
simple web scraper to download the audio from gamemusic.siroro.co.uk/
var request = require("request"),
cheerio = require("cheerio"),
root = "http://gamemusic.siroro.co.uk/";
function process(url, dir) {
request(url, function(error, response, body) {
if (!error) {
var $ = cheerio.load(body),
filenames = $("span.file-name"),
alert = $("div.alert")[0];
@trevex
trevex / webgl_texture_bug.html
Created April 1, 2013 11:55
Possible bug of texture rendering with three.js
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - test</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background:#030;
color:#fff;