Skip to content

Instantly share code, notes, and snippets.

View AV4TAr's full-sized avatar

Diego Sapriza AV4TAr

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

Title

<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:

@AV4TAr
AV4TAr / README.txt
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
Background:
Given I am logged in as job offerer
Scenario: Create new offer
Given I access the new offer page
@AV4TAr
AV4TAr / fun.sh
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 ?