Skip to content

Instantly share code, notes, and snippets.

💾
learning stuff

Filip Miletic defphil

💾
learning stuff
Block or report user

Report or block defphil

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
@defphil
defphil / makefilecpp
Created Mar 11, 2019
minimal makefile for cpp
View makefilecpp
CC = clang++
CXX = clang++
DEBUG = -ggdb -O1 -march=native
RELEASE = -O2
CPPFLAGS := -I.
CXXFLAGS := $(DEBUG) -W -Wall -Wextra -std=c++17
LDLIBS := -lm
OUTPUT_OPTION = -MMD -MP -o $@ -MJ $@.json
# Modify your C++ filesuffix here:
@defphil
defphil / makefile1
Created Mar 11, 2019
minimal c makefile template
View makefile1
CC = gcc
DEBUG = -ggdb -O0 -march=native
CFLAGS := $(DEBUG) -W -Wall -Wextra -Wpedantic -pedantic -ansi
LDLIBS := -lm
OUTPUT_OPTION = -MMD -MP -o $@
SRC := $(wildcard *.c)
OBJ := $(SRC:.c=.o)
DEP := $(SRC:.c=.d)
-include $(DEP)
View gist:76860c2574c99182f3dacb3b473e6d37
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZEtEYRawNwcEDrsnEE4mjaG+VJNgN8Ti7jHkRw0R/kqpFYeQiyowEVGE9yiXGndemF8jLtBIbs0DK6t1MhdYZtTRzMbH0XpKCewuI83iAw4fCcuoRm2V/uv5ReLo1ZXMv7Y2YJaEgym8AGof3bsrURv1URkc31KHPCFNo/MjzjeZceti1UeCygl5OvW6JUwXmgAdgXB61DNJ1NfSNDCki1hrOoqaotdd3wH6WudirbyRGorv8/1VKrY/EPBPP8NTqiPb9Cjb89tauioO517ItGz9ePubS8iWhHmFTqZVOaMnQArtiuipy8hTPhMo1m1Q/QXnmWtCD+Zg7b4TIBSqv phil@nullvalue.xyz
View colors.txt
[colors]
foreground = #AAAAB8
foreground_bold = #F7F6F2
cursor = #EF3B56
background = rgba (33,33,33)
# Black, Gray, Silver, White
color0 = #494949
color8 = #969896
color7 = #c5c8c6
View keybase.md

Keybase proof

I hereby claim:

  • I am defphil on github.
  • I am phlm (https://keybase.io/phlm) on keybase.
  • I have a public key whose fingerprint is CB2B 5DC1 F45D 90AC 813C 0A13 B032 F3F8 459F 3439

To claim this, I am signing this object:

View init.el
;; Don't load outdated byte code
(setq load-prefer-newer t)
;; Bootstrap 'use-package'
(eval-when-compile
(require 'package))
(setq package-enable-at-startup nil)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)
@defphil
defphil / DebianNetPackages
Created Apr 21, 2015
Packages for naked Debian
View DebianNetPackages
## Base package list for my Debian system configuration
## Openbox base
xorg openbox obmenu obconf nitrogen gmrun lxsession-lite fbxkb xcompmgr transset-df xscreensaver xfce4-power-manager terminator lxappearance grandr openbox-logout-script-basic tint2 catfish notify-osd hotkey-setup gksu gdebi gdm
## Thunar -> considering PCmanFM
thunar file-roller lha unrar unace lzop rzip unalz unzip zip zoo xz-utils arj thunar-archive-plugin thunar-media-tags-plugin thunar-thumbnailers
## Audio
alsa-base vlc libdvdcss2 lame volwheel xfce4-mixer
You can’t perform that action at this time.