Skip to content

Instantly share code, notes, and snippets.

View rfelix's full-sized avatar

Raoul Felix rfelix

View GitHub Profile
@rfelix
rfelix / drestivo-org-download-method.el
Created December 21, 2018 00:33 — forked from daviderestivo/drestivo-org-download-method.el
This is an helper function for org-download. It creates an \"./image\" folder within the same directory of the org file. Images are separated inside that image folder by additional folders one per org file.
(defun drestivo/org-download-method (link)
"This is an helper function for org-download.
It creates an \"./image\" folder within the same directory of the org file.
Images are separated inside that image folder by additional folders one per
org file.
More info can be found here: https://github.com/abo-abo/org-download/issues/40.
See the commit message for an example:
https://github.com/abo-abo/org-download/commit/137c3d2aa083283a3fc853f9ecbbc03039bf397b"
(let ((filename
(file-name-nondirectory
@rfelix
rfelix / keybase.md
Created March 21, 2017 20:29
keybase.md

Keybase proof

I hereby claim:

  • I am rfelix on github.
  • I am rfelix (https://keybase.io/rfelix) on keybase.
  • I have a public key ASAvK8yjCoBBvMkJfZRWMSPFD_Tj-RDpWHUi0_XvBkPAxgo

To claim this, I am signing this object:

@rfelix
rfelix / the_craft_of_tdd_resources.md
Last active July 21, 2022 15:46
References for talk "The Craft of TDD"
@rfelix
rfelix / notes.md
Last active December 2, 2015 14:13
Sprint Planning and Planning Poker Notes
@rfelix
rfelix / method_missing_with_delgator.rb
Last active August 29, 2015 14:15
Works in Ruby 1.9.3 and 2.0.0, but not Ruby 2.1 or 2.2
require 'delegate'
class Foo < SimpleDelegator
def bar
raise "Bar"
end
def method_missing(name, *args)
puts name
end
@rfelix
rfelix / features.md
Created April 7, 2014 12:29
Hidden Talkdesk Features

Account & Talkdesk Phone settings:

Account-only:

  • Enable the usage of Customer's Caller ID when calling External Phones (after receiving permission from Twilio)
  • Disable/enable voicemails for an account/talkdesk phone
  • Outbound ringing timeout
  • Dial time limit after which we stop trying to dial available agents and send the caller to voicemail
@rfelix
rfelix / test1.js
Last active January 2, 2016 19:49
Thoughts on separating declaration + definition in javascript
// Usage:
// var test = new Test(dep1, dep2);
// test.publicMethod();
function Test(dep1, dep2) {
var object = new TestClass();
object.init(dep1, dep2);
return object;
}
<?xml version="1.0"?>
<Response>
<Conference
startConferenceOnEnter="true"
endConferenceOnExit="true"
enterSound="beep:1"
record="true"
redirect="false"
action="https://.../plivo/outbound_recording_received/07239c26-241a-11e2-9507-71f8eac79764"
>
import java.sql.*;
public class Connect
{
public static void main (String[] args)
{
Connection conn = null;
try
{