Skip to content

Instantly share code, notes, and snippets.

View freebendy's full-sized avatar

Ben Guan freebendy

  • Bosch
  • Fairport, US
View GitHub Profile
@freebendy
freebendy / .gitconfig
Created September 13, 2017 02:32 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
@freebendy
freebendy / boost_info_parser.py
Created March 8, 2017 06:22 — forked from thecodemaiden/boost_info_parser.py
A python class that can parse the INFO format used for Boost.PropertyTree (http://www.boost.org/doc/libs/1_55_0/doc/html/property_tree.html)
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
#
# Copyright (C) 2014 Regents of the University of California.
# Author: Adeola Bannis
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <errno.h>
#include <sys/time.h> //debug -> remove me
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>