Skip to content

Instantly share code, notes, and snippets.

View savolla's full-sized avatar

Oleksiy Nehlyadyuk savolla

View GitHub Profile
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
09:28:05.662207 recvmsg(5, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
09:28:05.662707 recvmsg(9, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
09:28:05.662918 epoll_wait(7, [{EPOLLIN, {u32=5, u64=4294967301}}], 64, 59743) = 1
09:28:15.964711 recvmsg(5, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\34\0\201\31h\1\0\0q\0\0\0L\202\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
09:28:15.964987 recvmsg(5, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
09:28:15.965135 recvmsg(9, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
09:28:15.965271 epoll_wait(7, [{EPOLLIN, {u32=5, u64=4294967301}}], 64, 59743) = 1
09:28:17.495038 recvmsg(5, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="U\0\201\31F\210\3\0\3\3\10\377\10\377\207\t\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
09:28:17.495445 poll([{fd=5, events=PO
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
This file has been truncated, but you can view the full file.
07-10-2018 21:06:54 - Limiting SHM log size to 26214400 bytes
07-10-2018 21:06:54 - i3 4.15.0.1 (03-13-2018) starting
07-10-2018 21:06:54 - dpi.c:init_dpi:54 - Found Xft.dpi = 96.
07-10-2018 21:06:54 - main.c:main:563 - root_depth = 32, visual_id = 0x0000008d.
07-10-2018 21:06:54 - main.c:main:565 - root_screen->height_in_pixels = 1080, root_screen->height_in_millimeters = 285
07-10-2018 21:06:54 - main.c:main:566 - One logical pixel corresponds to 1 physical pixels on this display.
07-10-2018 21:06:54 - Parsing configfile /home/savolla/.i3/config
07-10-2018 21:06:54 - config_parser.c:parse_file:935 - line continuation in comment is ignored: "#/ __|/ _` \ \ / / _ \| | |/ _` | | | |_ \"
07-10-2018 21:06:54 - config_parser.c:upsert_variable:834 - Defined new variable: $mod = Mod4
07-10-2018 21:06:54 - config_parser.c:upsert_variable:834 - Defined new variable: $ws1 = 1: 
# _ _ _ _____
# ___ __ ___ _____ | | | __ _ (_)___ /
#/ __|/ _` \ \ / / _ \| | |/ _` | | | |_ \
#\__ \ (_| |\ V / (_) | | | (_| | | |___) |
#|___/\__,_| \_/ \___/|_|_|\__,_| |_|____/
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# set default desktop layout (default is tiling)
#include <ncurses.h>
#include <stdlib.h>
// function declerations
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int screenSetup();
int mapSetup();
// MAIN function
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@savolla
savolla / package-install.sh
Created August 16, 2018 11:58
backuping my packages
pacman -S compton # fix screen
pacman -S calcurse # calcurse
pacman -S irssi # IRC
pacman -S ranger # file manager
pacman -S qutebrowser # my only browser
pacman -S unclutter # fuck mouse
pacman -S retroarch # retro arch for gaming
pacman -S emacs # emacs
pacman -S telegra-desktop # telegram desktop
pacman -S qemu # qemu for virtual machines

C ++ Development Environment Setup for Arch Linux


Note: This Text Tutorial has extracted from this video.

Author: savolla

Source: TheChernoProject

Install These Programs First

  • vim
@savolla
savolla / notes_of_savolla.md
Created June 21, 2018 22:04
notes_of_savolla

Notes of savolla

pic

Notes (22.06.2018)


About SDL

I found SDL while researching C++. SDL stands for "Simple DirectMedia Layer" it is used for controlling;

  • mouse
  • keyboard ( gotta write a keylogger immidiately lol)
@savolla
savolla / savolla-i3.conf
Created December 27, 2017 12:49
my personal configuration for i3 wm
# This is my own configuration for i3.
.xinitrc
xset r rate 200 150 #sets typing speed for x
setxkbmap tr #sets keyboard layout for x
.bashrc
set -o vi #enables vim mode for bash shell
.Xmodmap