Skip to content

Instantly share code, notes, and snippets.

View vaalentin's full-sized avatar

Vaalentin vaalentin

View GitHub Profile
# Generate with cmake -G "Unix Makefiles" ..
# Set minimum version
cmake_minimum_required(VERSION 3.4 FATAL_ERROR)
# Project name
project("project name")
# Project entry point
# no need to include headers
@vaalentin
vaalentin / .ycm_extra_conf.py
Last active October 5, 2018 10:29
c++11 YCM config file
import os
import ycm_core
flags = [
'-Wall',
'-std=c++11',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
@vaalentin
vaalentin / readme-template.md
Last active February 16, 2016 13:54
readme template

Title

Description

Motivation

Installation

Instructions

@vaalentin
vaalentin / package.json
Last active January 27, 2017 10:27
Webpack1 config files
{
"scripts": {
"start": "webpack-dev-server --config webpack.dev.config.js",
"clean": "rm -rf ./dist",
"build": "webpack --config webpack.prod.config.js --progress"
}
}