Skip to content

Instantly share code, notes, and snippets.

Nemanja Nedeljković nemanjan00

Block or report user

Report or block nemanjan00

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nemanjan00
nemanjan00 / STORY.md
Last active Sep 25, 2018
This is my story of installing Anarchy linux with encrypted /boot on my X230 with coreboot and GRUB2 payload
View STORY.md
View nice.json
This file has been truncated, but you can view the full file.
[
[{
"country": "AT",
"municipality": "Biberwier",
"lat": 47.38412659999999,
"lng": 10.8939017
}, {
"country": "AT",
"municipality": "Ehenbichl",
View zshrc
source /usr/share/zsh/scripts/zplug/init.zsh
zplug "themes/agnoster", from:oh-my-zsh, as:theme
zplug "changyuheng/fz", defer:1
zplug "rupa/z", use:z.sh
zplug "supercrabtree/k"
zplug "plugins/adb", from:oh-my-zsh
zplug "plugins/bgnotify", from:oh-my-zsh
View crazyhot.js
const synaptic = require("synaptic");
// input:
// hot: 0 - 10
// crazy: 0 - 10
//
// output:
// no-go: 0/1
// danger-zone: 0/1
// fun-zone: 0/1
View crazyhot.js
const synaptic = require("synaptic");
// input:
// hot: 0 - 10
// crazy: 0 - 10
//
// output:
// no-go: 0/1
// danger-zone: 0/1
// fun-zone: 0/1
View build.log
mv -f tmp-sdefault.adb ada/sdefault.adb
touch ada/stamp-sdefault
gnatgcc -c -O2 -fomit-frame-pointer -m64 -gnatpg -gnatwG -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-6.3.0/gcc/ada -I../../gcc-6.3.0/gcc/ada/gcc-interface ../../gcc-6.3.0/gcc/ada/sem_attr.adb -o ada/sem_attr.o
/bin/sh ../../gcc-6.3.0/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
gnatgcc -c -O2 -fomit-frame-pointer -m64 -gnatpg -gnatwG -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-6.3.0/gcc/ada -I../../gcc-6.3.0/gcc/ada/gcc-interface ../../gcc-6.3.0/gcc/ada/sem_aux.adb -o ada/sem_aux.o
sem_attr.adb:50:16: warning: use clause for package "Sdefault" has no effect
make[1]: *** [../../gcc-6.3.0/gcc/ada/gcc-interface/Make-lang.in:119: ada/sem_attr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/nemanjan00/cb/coreboot/util/crossgcc/build-i386-elf-GCC/gcc'
View dnscrypt-proxy.toml
##############################################
# #
# dnscrypt-proxy configuration #
# #
##############################################
## This is an example configuration file.
## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml"
##
View alias.sh
alias diary="vim $(php ~/diary.php)"
View video-wallpaper.sh
#!/bin/bash
# credits: https://www.reddit.com/r/unixporn/comments/8p2u34/animated_backgrounds/e08a650/
_screen() {
xwinwrap -ov -g $1 -- mpv --fullscreen\
--on-all-workspaces \
--no-stop-screensaver \
--loop-file --no-audio --no-osc --no-osd-bar -wid WID --quiet \
"$2" --background="$3" --video-zoom="$4" &
}
View gist:f8498b67199a0208eba0ffe5cfaa7d97
[nemanjan00@nemanjan00-mlaptop ~ ]$ dmesg | grep 00:19.0
[ 0.279169] pci 0000:00:19.0: [8086:1503] type 00 class 0x020000
[ 0.279188] pci 0000:00:19.0: reg 0x10: [mem 0xe1600000-0xe161ffff]
[ 0.279197] pci 0000:00:19.0: reg 0x14: [mem 0xe163c000-0xe163cfff]
[ 0.279205] pci 0000:00:19.0: reg 0x18: [io 0x3040-0x305f]
[ 0.279266] pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
[ 8.878454] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 8.951083] e1000e: probe of 0000:00:19.0 failed with error -3
You can’t perform that action at this time.