Skip to content

Instantly share code, notes, and snippets.

View PierreZ's full-sized avatar
👨‍💻
Working from home

Pierre Zemb PierreZ

👨‍💻
Working from home
View GitHub Profile
@PierreZ
PierreZ / ssh_port_forward.sh
Created March 2, 2015 14:24
port forwarding trough ssh
#!/bin/bash
ssh root@162.243.1.37 -L 3306:127.0.0.1:3306 -N &
@PierreZ
PierreZ / checkupdate.sh
Created March 4, 2015 14:06
check updates for Arch
#!/bin/bash
echo "There's $(checkupdates|wc -l) update(s) available"
@PierreZ
PierreZ / Makefile_OpenCV
Created March 23, 2015 14:24
TP OpenCV
all:
g++ -O2 -Wall -o tp1 main.cpp `pkg-config --cflags --libs opencv`
clean:
rm -rf tp1
@PierreZ
PierreZ / OpenCV_TP
Last active August 29, 2015 14:19
OpenCV TP @ ISEN
all:
g++ -O2 -Wall -o tp1 main.cpp `pkg-config --cflags --libs opencv`
clean:
rm -rf tp1
@PierreZ
PierreZ / cert.service
Last active August 29, 2015 14:25
my CoreOS fleet files
[Unit]
Description=SSL cert
After=docker.service
Requires=docker.service
[Service]
User=core
ExecStartPre=-/usr/bin/docker kill ssl-cert
ExecStartPre=-/usr/bin/docker rm ssl-cert
ExecStartPre=/usr/bin/docker pull pierrezemb/ssl-cert
Verifying that +pierrez is my blockchain ID. https://onename.com/pierrez
@PierreZ
PierreZ / feedly.ompl
Last active November 3, 2023 06:53
RSS
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Pierre subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="security" title="security">
<outline type="rss" text="Threatpost" title="Threatpost" xmlUrl="http://threatpost.com/feed" htmlUrl="https://threatpost.com"/>
<outline type="rss" text="BleepingComputer" title="BleepingComputer" xmlUrl="http://www.bleepingcomputer.com/feed/" htmlUrl="https://www.bleepingcomputer.com/"/>
'2016-07-11T00:00:00.000000Z' // Start of measures
'BEGIN' STORE
''
'TOKEN' STORE // Read token
'=torque.litres.per.100.kilometer.long.term.average' 'CLASSNAME' STORE // Classname Selector
//'=torque.speed.obd' 'CLASSNAME' STORE // Classname Selector
//'~.*' 'CLASSNAME' STORE // Classname Selector
{} 'LABEL' STORE // Label list to filter
@PierreZ
PierreZ / reverse.go
Last active September 11, 2016 12:59
reverse_proxy in go
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/httputil"
"net/url"
@PierreZ
PierreZ / main.go
Created September 15, 2016 16:05
warp10push
package main
import (
"bytes"
"fmt"
"log"
"net/http"
"net/http/httputil"
"os"
"strings"