Skip to content

Instantly share code, notes, and snippets.

View Lomasterrrr's full-sized avatar

lomaster Lomasterrrr

  • Russia
  • 09:52 (UTC +03:00)
View GitHub Profile
@Lomasterrrr
Lomasterrrr / config
Created May 24, 2023 17:35
i3 vim config
# by lomaster
# Dependencies: feh, noto-fonts
# Wallaper back.jpg
font pango:Noto Mono Regular 8
set $mod Mod4
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@Lomasterrrr
Lomasterrrr / log.c
Last active February 2, 2026 16:45
log on C
#include <stdio.h>
#include <stdarg.h>
void logg(const char *p, const char *fmt, ...)
{
va_list args;
FILE *tmp;
if (p) {
va_start(args, fmt);
@Lomasterrrr
Lomasterrrr / arp.c
Last active September 20, 2024 11:53
arp request
#include <string.h>
#include <stdio.h>
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <sys/param.h>
#include <netpacket/packet.h>
#include <net/ethernet.h>
#include <sys/ioctl.h>
#include <unistd.h>
@Lomasterrrr
Lomasterrrr / parser.c
Last active June 30, 2025 20:39
parser for paste.debian(lesbian).net - is master work in 16 tatktov
#include <stdio.h>
#include <curl/curl.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/random.h>
#include <sys/time.h>
#include <time.h>
#include <assert.h>
#
# lomaster configuration i3 windows manager
# 2025-08-21
#
set $mod Mod4
set $terminal xterm -fa FreeMono -fs 10 -bg black -fg white
set $screenshot ~/.config/i3/sc.sh
set $menu xterm -fa FreeMono -fs 10 -bg black -fg white -e ~/bin/aelist/aelist -L /bin /sbin /usr/bin /usr/sbin
set $ws1 "1"