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
#include <Keyboard.h>
void setup() {
pinMode(2, INPUT_PULLUP);
// pinMode(4, INPUT_PULLUP);
pinMode(13, OUTPUT);
Keyboard.begin();
}
void loop() {
#!/bin/bash
mkdir /mnt/exherbo && mount /dev/nvme0n1p2 /mnt/exherbo && cd /mnt/exherbo
mount -o rbind /dev /mnt/exherbo/dev/
mount -o bind /sys /mnt/exherbo/sys/
mount -t proc none /mnt/exherbo/proc/
mount /dev/nvme0n1p1 /mnt/exherbo/boot/
env -i TERM=$TERM SHELL=/bin/bash HOME=$HOME $(which chroot) /mnt/exherbo /bin/bash
source /etc/profile
package hrpc
import (
"context"
"github.com/golang/protobuf/proto"
"github.com/tsuna/gohbase/pb"
)
// AssignRegion represents a AssignRegion Hbase call request.
cryptsetup luksOpen
cd /mnt/arch # or where you are preparing the chroot dir
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
chroot .
mkinipcipio -p linux
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Pierre subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="OS distributions" title="OS distributions">
<outline type="rss" text="Arch Linux: Recent news updates" title="Arch Linux: Recent news updates" xmlUrl="https://www.archlinux.org/feeds/news/" htmlUrl="https://www.archlinux.org/news/"/>
<outline type="rss" text="Arch Linux - Recent News Updates" title="Arch Linux - Recent News Updates" xmlUrl="http://www.archlinux.org/feeds/news/" htmlUrl="https://www.archlinux.org/news/"/>

Name ideas

netinfo

Ideas

  • show interfaces stat (using /proc/net/dev)
  • -w option to watch. Watching for file descriptor will provide stream of events
  • search for process should include:
  • systemd service
FROM danisla/hadoop:2.7.3
ENV VERSION 1.3.1
ENV DESTINATION /opt/hbase
WORKDIR /
ADD http://archive.apache.org/dist/hbase/${VERSION}/hbase-${VERSION}-bin.tar.gz /
RUN tar -xvf /hbase-${VERSION}-bin.tar.gz
RUN ls /
FROM openjdk:8
RUN apt update
RUN apt install git curl curl -y
RUN curl https://getcaddy.com | bash -s personal http.cors
WORKDIR /
RUN mkdir /hands-on
ADD quantum /hands-on/quantum
ADD assets /hands-on/assets
ADD quantum /hands-on/quantum
http://0.0.0.0:80 {
tls off
browse
cors /
markdown / {
template index /templates/index.html
css /templates/index.css
}
root /Users/pierrezemb/workspace/personal/warpscript/hands-on
}