Skip to content

Instantly share code, notes, and snippets.

View saber-nyan's full-sized avatar
:shipit:
🚬 Шиплю

saber-nyan

:shipit:
🚬 Шиплю
View GitHub Profile
@saber-nyan
saber-nyan / make.log
Created June 2, 2017 15:20
2ch-cli build log
[ -d build ] || mkdir build
g++ src/makaba.cpp -DCURL_UA="\"Linux\"" -DDEFAULT_EDITOR="\"nano\"" -DDEFAULT_EMAIL="\"\"" -std=c++11 -fPIC -Wno-pointer-arith -I/usr/include/json -c -o build/makaba.o
In file included from /usr/include/sched.h:44:0,
from /usr/include/pthread.h:23,
from /usr/include/c++/7.1.1/x86_64-pc-linux-gnu/bits/gthr-default.h:35,
from /usr/include/c++/7.1.1/x86_64-pc-linux-gnu/bits/gthr.h:148,
from /usr/include/c++/7.1.1/ext/atomicity.h:35,
from /usr/include/c++/7.1.1/bits/basic_string.h:39,
from /usr/include/c++/7.1.1/string:52,
from /usr/include/json/config.h:9,
@saber-nyan
saber-nyan / CMakeLists.txt
Last active June 3, 2017 11:22
CMake file for 2ch-cli
cmake_minimum_required(VERSION 3.7)
project(2ch-cli)
if(NOT WIN32)
string(ASCII 27 Esc)
set(ColorReset "${Esc}[m")
set(ColorBold "${Esc}[1m")
set(Red "${Esc}[31m")
set(Green "${Esc}[32m")
set(Yellow "${Esc}[33m")
@saber-nyan
saber-nyan / changes.diff
Last active February 13, 2020 02:43
Удаление телеметрии и надоедающего уведомления из VK Coffee (http://4pda.ru/forum/index.php?showtopic=701681)
Используйте Apktool 2.2.3 для декомпиляции.
diff --git a/./apktooled-old/smali/com/vkcoffee/android/Auth.smali b/./apktooled-new/smali/com/vkcoffee/android/Auth.smali
index aee9908..0cf48b3 100644
--- a/./apktooled-old/smali/com/vkcoffee/android/Auth.smali
+++ b/./apktooled-new/smali/com/vkcoffee/android/Auth.smali
@@ -338,14 +338,14 @@
.line 113
.local v7, "egorIdiNahui":Ljava/lang/String;
@saber-nyan
saber-nyan / config
Created August 5, 2017 21:38
Kawaii Polybar config~
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
@saber-nyan
saber-nyan / compton.conf
Created August 10, 2017 16:27
Kawaii compton config~
# Thank you code_nomad: http://9m.no/ꪯ鵞
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
@saber-nyan
saber-nyan / .zshrc
Last active March 19, 2020 11:52
10/10 Z-Shell config!
# Path to your oh-my-zsh installation.
export ZSH="/home/${USER}/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="bira"
ZSH_THEME="mortalscumbag"
#ZSH_THEME="trapd00r"
@saber-nyan
saber-nyan / config
Created August 10, 2017 18:08
Neofetch config (3.2.0)
#!/usr/bin/env bash
#
# Neofetch config file
# https://github.com/dylanaraps/neofetch
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
@saber-nyan
saber-nyan / mpv.conf
Last active July 9, 2020 16:01
MPV config for mid-end CPU
scale=spline36
cscale=spline36
dscale=mitchell
dither-depth=auto
correct-downscaling=yes
linear-downscaling=yes
sigmoid-upscaling=yes
deband=no
interpolation
@saber-nyan
saber-nyan / config
Last active October 13, 2018 08:09
i3wm (v4) config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
## Bar!
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
@saber-nyan
saber-nyan / ls
Created November 20, 2017 20:46
Способ запуска QEMU/KVM с WinX на борту
итого 17G
drwxr-xr-x 2 saber-nyan users 3,5K окт 28 19:01 ./
drwxr-xr-x 5 saber-nyan users 3,5K окт 28 18:55 ../
-rw-r--r-- 1 saber-nyan users 32G окт 22 15:50 disk0.dd
-rwxr-xr-x 1 saber-nyan users 1,3K окт 22 13:52 startup.sh*
-rw-r--r-- 1 saber-nyan users 302M окт 22 12:19 virtio-win-0.1.141.iso