Skip to content

Instantly share code, notes, and snippets.

View mackwic's full-sized avatar
💭
I may be slow to respond, sorry for that.

Thomas Wickham mackwic

💭
I may be slow to respond, sorry for that.
View GitHub Profile
@mackwic
mackwic / ply_clike.py
Created November 5, 2012 08:54 — forked from swdunlop/ply_clike.py
Example use of Python and Ply to lexically analyze C files for identifiers.
#!/usr/bin/env python
LICENSE = '''
Copyright (C) 2010, Scott W. Dunlop <swdunlop at gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
@mackwic
mackwic / mySolution.js
Last active December 19, 2015 03:09 — forked from joegaudet/gist:5888481
$scope.$watch(function () {
return SessionService.currentUser;
}, function (user) {
$scope.user = user;
}, true);