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
# g1_parallel_gc_threads = nthreads * 5/8 + 8
# g1_conc_gc_threads = g1_parallel_gc_threads / 4
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
}
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
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 /

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
<?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/"/>
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
package hrpc
import (
"context"
"github.com/golang/protobuf/proto"
"github.com/tsuna/gohbase/pb"
)
// AssignRegion represents a AssignRegion Hbase call request.