Skip to content

Instantly share code, notes, and snippets.

Avatar
🎧
Darude - Sandstorm

Jules JPenuchot

🎧
Darude - Sandstorm
View GitHub Profile
View output.txt
This file has been truncated, but you can view the full file.
@JPenuchot
JPenuchot / bb.cpp
Created Apr 13, 2017
C++ implementation of the Branch & Bound algorithm
View bb.cpp
#include <iostream>
#include <limits>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <queue>
using namespace std;
#define TABSIZE 4
@JPenuchot
JPenuchot / CMakeLists.txt
Last active Oct 2, 2018
CMakeLists.tkt for Christian Jacquemin's OpenGL course at https://perso.limsi.fr/jacquemi/OGL/, tested on Arch Linux (Previous versions were tested on Solus and MacOS, you might want to try them if this one doesn't work on your system)
View CMakeLists.txt
cmake_minimum_required(VERSION 2.8.9)
project(prog)
find_package(PkgConfig REQUIRED)
# Adding compiler optimizations
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -DNDEBUG")
@JPenuchot
JPenuchot / .zshrc
Last active May 30, 2020
~/.config/i3/config for my Dell XPS 13 HiDPI running on Solus
View .zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:/home/jpenuchot/node_modules/.bin:$HOME/.cargo/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
You can’t perform that action at this time.