Skip to content

Instantly share code, notes, and snippets.

View ramondelafuente's full-sized avatar

Ramon de la Fuente ramondelafuente

View GitHub Profile
@ramondelafuente
ramondelafuente / test_sudo_and_variables.yml
Last active March 17, 2023 23:38
Testing ansible "ansible_ssh_user" and "ansible_user_id" variables with sudo
- name: Testing variables with SUDO=NO
hosts: "*"
sudo: no
tasks:
- name: "PLAYBOOK SUDO=NO, TASK SUDO=NO"
command: whoami
register: whoami_output
sudo: no
- debug: var=whoami_output.stdout
@ramondelafuente
ramondelafuente / slack-tests.yml
Created March 20, 2014 14:11
A test playbook for the Slack module
---
- name: Test Slack Integration Module
hosts: "*"
vars:
- slack_domain: yourusername.slack.com
- slack_token: yourtoken
tasks:
- name: "It should arrive in the channel set in slack integration"

Keybase proof

I hereby claim:

  • I am ramondelafuente on github.
  • I am ramondelafuente (https://keybase.io/ramondelafuente) on keybase.
  • I have a public key whose fingerprint is 9113 7E1E 04DA 18BD 66ED 2631 DBF1 303E 61FA D801

To claim this, I am signing this object:

Route::get('/experiment', function() {
//create a new file parser
$parser = new Tmont\Midi\Parsing\FileParser();
$midiFile = __DIR__ . '/../lib/kotta/assets/examples/simple.mid';
// $midiFile = __DIR__ . '/../vendor/tmont/midiparser/sample/And_We_Die_Young.mid';
//replace this path with the path to an actual MIDI file
$parser->load($midiFile);
$formatter = new Kotta\Formatter\NoteFormatter(0);