Skip to content

Instantly share code, notes, and snippets.

@marcofucci
marcofucci / Libgit2.rb
Last active August 12, 2019 15:39
Libgit2 0.27.3
=begin
Instructions:
brew reinstall --build-from-source <path-to-raw-version-of-this-gist>
=end
class Libgit2 < Formula
desc "C library of Git core methods that is re-entrant and linkable"
homepage "https://libgit2.github.com/"
url "https://github.com/libgit2/libgit2/archive/v0.27.3.tar.gz"

Cashbook transactions API

List of cashbook transactions api:

  • /cashbook/transactions/
  • /cashbook/transactions/actions/taken/
  • /cashbook/transactions/actions/release/

/cashbook/transactions/ -- GET

### Keybase proof
I hereby claim:
* I am marcofucci on github.
* I am marcofucci (https://keybase.io/marcofucci) on keybase.
* I have a public key whose fingerprint is 1DC3 F821 CE54 F7A0 5536 4D9F 1A44 2319 60CF 5275
To claim this, I am signing this object:
@marcofucci
marcofucci / fbconnect.html
Created October 20, 2013 21:46
allauth.facebook refactored
{% load url from future %}
{% load staticfiles %}
<div id="fb-root"></div>
<script type="text/javascript" src="{% static "facebook/js/fbconnect.js" %}"></script>
<script type="text/javascript">
allauth.facebook.init({ appId: '{{facebook_app.client_id}}',
locale: '{{facebook_jssdk_locale}}',
loginOptions: {{fb_login_options}},
loginByTokenUrl: '{% url 'facebook_login_by_token' %}',
channelUrl : '{{facebook_channel_url}}',