Skip to content

Instantly share code, notes, and snippets.

View daemon1024's full-sized avatar
🕵️
on detective work

Barun Acharya daemon1024

🕵️
on detective work
View GitHub Profile
apiVersion: cilium.io/v1alpha1
kind: TracingPolicyNamespaced
metadata:
name: "file-monitoring-filtered"
spec:
kprobes:
- call: "security_file_permission"
syscall: false
return: true
args:
package main
import (
"log"
"os"
"text/template"
)
func main() {
package main
// Based on https://github.com/iximiuz/client-go-examples/blob/939aded807a4f42731dc18c0a5cd71f5e99b1886/crud-typed-simple/main.go
// and https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.22/deploy/local-path-storage.yaml
import (
"context"
"fmt"
"os"
sudo yum update
sudo yum install dnf-plugins-core
sudo yum config-manager --set-enabled powertools
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum group install -y "Development Tools"
sudo yum -y install git curl wget gcc bcc bcc-devel
sudo yum module -y install go-toolset
chown -R vagrant:vagrant /home/vagrant/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Lets Discuss
Practical Uses of C
3rd July, 2021
Introductory Question:
> About Yourself
> Something you want to learn more about? ( It can be anything, tech/non-tech )
Let's finally discuss about C!!!
@daemon1024
daemon1024 / lel-minimal.html
Created June 20, 2021 10:50
Minimal example of LEL. It takes layers to include from query parameter.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Leaflet Environmental Layers" />
<meta
property="og:description"
content="Collection of different environmental map layers in an easy to use Leaflet library."
/>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
wchar_t glyph[] = L""
" "
"│││─┘┐┤─└┌├─┴┬┼"
" "
"┆";
@daemon1024
daemon1024 / Proposal.md
Last active February 7, 2020 12:54
Grievance Redressal and Anouncement Management System

GRAMS - Grievance Redressal and Anouncement Management System

Admin/Departmental Panel

  • List of Issue Categories it can handle
  • List of locality it can serve
  • Make and Delete Announcements
  • Define and assign different levels of administrative roles (L1,L2,L3)
    • Revoking access and reassigning roles
  • List of Issues which are open and closed and which level of admistration is working on it