Skip to content

Instantly share code, notes, and snippets.

View wvovaw's full-sized avatar
👀
I don't blink anymore...

Vladimir Ivakhno wvovaw

👀
I don't blink anymore...
View GitHub Profile
@wvovaw
wvovaw / Makefile
Created May 7, 2021 15:58
Makefile for small C projects
# Add name of the program as target
TARGET = out
CC = cc
# Add libs
LIBS = -lm
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os
OBJS = $(patsubst %.c, %.o, $(wildcard *.c))
INCS = $(wildcard *.h)
all : options ${TARGET}
@wvovaw
wvovaw / Makefile
Last active May 7, 2021 15:56
Makefile for small C++ projects
# Add name of the program as target
TARGET = out
CXX = g++
# Add libs
LIBS = -lm
CPPFLAGS = -std=c++17 -pedantic -Wall -Wno-deprecated-declarations -Os
OBJS = $(patsubst %.cpp, %.o, $(wildcard *.cpp))
INCS = $(wildcard *.h)
all : options ${TARGET}
@wvovaw
wvovaw / colors.ini
Created December 31, 2020 15:55
Add to the end of ~/.config/spicetify/Themes/Dribbblish/colors.ini
[solarized-dark]
main_fg = fdf6e3
active_control_fg = fdf6e3
secondary_fg = eee8d5
secondary_bg = 073642
main_bg = 002b36
sidebar_and_player_bg = 002b36
cover_overlay_and_shadow = 000000
indicator_fg_and_button_bg = 2aa198
pressing_fg = FF5C86