0.13.90 (648ab3b) linux/amd64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=uuid.alemayhu.com - generating random UUID's | |
Documentation=https://uuid.alemayhu.com | |
After=network.target | |
[Service] | |
Type=simple | |
User=scanf | |
WorkingDirectory=/home/scanf/src/github.com/scanf/uuid.alemayhu.com/src | |
ExecStart=/home/scanf/.deno/bin/deno run --allow-read --allow-net main.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function Next(views, sViews, body) { | |
const directions = ['forward', 'right', 'left']; | |
const treatMatch = views.find(v => { return v == "treat"}); | |
if (treatMatch) { | |
return treatMatch.direction; | |
} | |
let possibleActions = directions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function Next(views, sViews, body) { | |
const directions = ['up', 'down', 'right', 'left']; | |
const treatMatch = views.find(v => { return v == "treat"}); | |
if (treatMatch) { | |
return treatMatch.direction; | |
} | |
let possibleActions = directions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function Next(views, sViews, body) { | |
const directions = ['up', 'down', 'right', 'left']; | |
const treatMatch = views.find(v => { return v == "treat"}); | |
if (treatMatch) { | |
return treatMatch.direction; | |
} | |
let possibleActions = directions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config": { | |
"autoconnect": true, | |
"bot": "awesomo_bot", | |
"name": "#ccscanf", | |
"oauth": "oauth:xyz”, | |
"prefix": "\\", | |
"silent": false, | |
"standupReminder": true, | |
"windowState": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Copyright 2018 Alexander Alemayhu https://alemayhu.com | |
import argparse | |
import os | |
import subprocess | |
def handle(directory): | |
for folder, subs, files in os.walk(directory): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vim: set filetype=c: | |
#include <bpf/api.h> | |
#include <linux/ip.h> | |
#include <lib/eth.h> | |
#include <lib/utils.h> | |
struct bpf_elf_map __section_maps blacklist_map = { | |
.type = BPF_MAP_TYPE_HASH, | |
.size_key = sizeof(uint32_t), | |
.size_value = sizeof(uint32_t), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# /usr/local/bin/cilium | |
docker exec -ti cilium cilium $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v ${PWD}:/tmp scanf/ebpf-disasm -s from-container /tmp/bpf_lxc.o|wc -l |