Skip to content

Instantly share code, notes, and snippets.

View nemanjan00's full-sized avatar

Nemanja Nedeljković nemanjan00

View GitHub Profile
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'
##############################################
# #
# dnscrypt-proxy configuration #
# #
##############################################
## This is an example configuration file.
## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml"
##
alias diary="vim $(php ~/diary.php)"
@nemanjan00
nemanjan00 / video-wallpaper.sh
Created June 6, 2018 21:05
Video wallpaper
#!/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" &
}
[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
pipeline:
x230:
image: ubuntu:xenial
commands:
- apt update
- apt install -y build-essential zlib1g-dev uuid-dev libdigest-sha-perl bc bzip2 bison flex git gnupg iasl m4 nasm patch python wget gnat git
- git clone https://github.com/osresearch/heads
- cd heads
- make -j 32 BOARD=x230
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GRUB configure 2.02, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure FREETYPE=pkg-config freetype2 --with-platform=coreboot
## --------- ##
## Platform. ##
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for GRUB 2.02.
#
# Report bugs to <bug-grub@gnu.org>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
#!/usr/bin/env bash
pkg-config freetype2
[nemanjan00@nemanjan00-mlaptop ~ ]$ pacman -Ql freetype2 | grep config
freetype2 /usr/include/freetype2/freetype/config/
freetype2 /usr/include/freetype2/freetype/config/ftconfig.h
freetype2 /usr/include/freetype2/freetype/config/ftheader.h
freetype2 /usr/include/freetype2/freetype/config/ftmodule.h
freetype2 /usr/include/freetype2/freetype/config/ftoption.h
freetype2 /usr/include/freetype2/freetype/config/ftstdlib.h
freetype2 /usr/lib/pkgconfig/
freetype2 /usr/lib/pkgconfig/freetype2.pc