Skip to content

Instantly share code, notes, and snippets.

View pdobrowolski's full-sized avatar

Paweł Dobrowolski pdobrowolski

View GitHub Profile
@pdobrowolski
pdobrowolski / tmux.config
Created June 10, 2015 16:19
Very unfinished version of tmux.config
set -g utf8
set-window-option -g utf8 on
set -g status-utf8 on
set -g default-terminal "screen-256color"
set -g terminal-overrides 'xterm:colors=256'
#Set prefix to C-Space
unbind C-b
set -g prefix C-Space
bind Space send-prefix
" Select your Leader key
let mapleader = "\<Space>"
"Plugins
call plug#begin()
Plug 'tpope/vim-sensible'
Plug 'kien/ctrlp.vim'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
@pdobrowolski
pdobrowolski / Makefile
Created May 27, 2015 16:58
Universal C/Cpp makefile
# Universal C/Cpp makefile
# Source: https://sites.google.com/site/michaelsafyan/software-engineering/how-to-write-a-makefile
program_NAME := server
program_C_SRCS := $(wildcard *.c)
program_CXX_SRCS := $(wildcard *.cpp)
program_C_OBJS := ${program_C_SRCS:.c=.o}
program_CXX_OBJS := ${program_CXX_SRCS:.cpp=.o}
program_OBJS := $(program_C_OBJS) $(program_CXX_OBJS)
program_INCLUDE_DIRS :=
with Window_Package; use Window_Package;
with Text_IO; use Text_IO;
with Glib.Error; use Glib.Error;
with Glib.Object; use Glib.Object;
with Gtk.Main;
with Gtk.Widget;
with Gtk.Window; use Gtk.Window;
with Client_Pkg; use Client_Pkg;
with Gtk.Main;
with Gtk.Widget;
with Gtk.Window; use Gtk.Window;
with Gtk.Box; use Gtk.Box;
-- with Gtk.Scrolled_Window; use Gtk.Scrolled_Window;
with Gtk.Text_View; use Gtk.Text_View;
with Gtk.GEntry; use Gtk.GEntry;
with Gtk.Button; use Gtk.Button;
@pdobrowolski
pdobrowolski / procesor.adb
Created November 23, 2011 16:45
Processor
with Tasks; use Tasks;
with Ada.Sequential_IO;
with Ada.Command_Line; use Ada.Command_Line;
procedure procesor is
Exec: Exe_Acc;
package ByteIO is new Ada.Sequential_IO (Byte);