Skip to content

Instantly share code, notes, and snippets.

View AV4TAr's full-sized avatar

Diego Sapriza AV4TAr

View GitHub Profile
AV4TAr /
Last active November 16, 2018 00:27
Mac Dictation
while F= read -r var
echo "$var"
say -v fred $var
sleep 4
done < "$input"
llorando (-_-。)
meh 乁⁞ ◑ ͜ر ◑ ⁞ㄏ ¯\_(ツ)_/¯
... ⊂(▀¯▀⊂) (⊃・ᴥ・)つ
enojado ʕ ᓀ ᴥ ᓂ ʔ ┌∩┐(ಠ_ಠ)┌∩┐
feliz ᕙ( ͡◉ ͜ ʖ ͡◉)ᕗ (◕ل͜◕)
table fipping (╯°□°)╯︵ ┻━┻ ʕノ•ᴥ•ʔノ ︵ ┻━┻ (/¯◡ ‿ ◡)/¯ ~ ┻━┻
Verifying that +av4tar is my blockchain ID.
AV4TAr /
Created December 7, 2015 15:55 — forked from iros/
Documenting your REST API


<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

Last active December 2, 2015 13:21
Script that reads php configuration file (that returns an array) and connects to a mysql database.
To use mysql client on staging, devs need to ssh to the server, then "cat" the configuration file of the application to get the username / password / host.
The idea of this script is to read the configuration from the php application and use that information to connect to mysql using the mysql client in 1 command.
Feature: Job Offers CRUD
In order to get employees
As a job offerer
I want to manage my offers
Given I am logged in as job offerer
Scenario: Create new offer
Given I access the new offer page
AV4TAr /
Last active October 27, 2021 18:32
make fun of your colleagues with this snippet
# make fun of your colleagues with this snippet.
# run this in your MacOS bash terminal, then close the terminal.
nohup sh -c 'while :; do say -v Samantha "is anybody there"; sleep $[ ( $RANDOM % 60 ) + 1 ]s; done' &
# to get the list of voices
# say -v ?