Skip to content

Instantly share code, notes, and snippets.

Paul Bottin fresc81

Block or report user

Report or block fresc81

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fresc81 / Makefile
Created Nov 21, 2017
Generic C++ Makefile with support for multiple executables
View Makefile
APPS := nmdbg bla
nmdbg_OBJS := blubb.o
nmdbg_LIBS := -lboost_regex
bla_OBJS := blubb.o
CXX := g++-6
CXXFLAGS := -I3rdparty/json/src -Iinclude -Isrc
fresc81 / Template.bas
Last active Mar 7, 2016
templating using regexes and embedded VBScripts
View Template.bas
'Set scope = New Dictionary
'scope.Add "anrede", "Herr"
'scope.Add "vorname", "Herbert"
'scope.Add "name", "Müller"
'Debug.Print ApplyTemplate("Sehr geehrte{{Wenn(anrede=""Herr"",""r"","""")}} {{anrede}} {{vorname}} {{name}},", scope)
' -> prints "Sehr geehrter Herr Herbert Müller,"
Const SCRIPT_PATTERN As String = "{{([^}]*)}}"
fresc81 / index.js
Last active Aug 7, 2016
simple Todo example of how to use and together; use ajax if javascript is available otherwise use html forms;
View index.js
module.exports = function (hook) {
// setup:
// Route /(:action)(/:id)
// Gist URL
// View
// Presenter
// create a collection on
// create two env variables:
// orchestrate_auth_token
View markdown test
Following methods are provided by instances of Winreg:
View connect-jsonrpc.js
* Ext JS Connect
* Copyright(c) 2010 Sencha Inc.
* MIT Licensed
* Module dependencies.
You can’t perform that action at this time.