Skip to content

Instantly share code, notes, and snippets.

View verkaufer's full-sized avatar

David Gunter verkaufer

View GitHub Profile
@verkaufer
verkaufer / Makefile
Created August 10, 2021 19:07 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@verkaufer
verkaufer / fb-tab-example.php
Last active August 29, 2015 14:27
Associate Facebook Pages With Users
/*
* First, you'll need to have the user (assuming they are logged in to your site and you have a way to get user details) click on * a button to open an "install" action
*/
//This would be a CONST somewhere in your application's config
$appID = 55512345678
// Define a URL that Facebook will redirect to after the user confirms the tab installation on Facebook's site
$callbackURL = "http://mywebsite.demo/tab/install";