Skip to content

Instantly share code, notes, and snippets.

Diego Sapriza AV4TAr

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

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 Dec 2, 2015
Script that reads php configuration file (that returns an array) and connects to a mysql database.
View README.txt
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.
View gist:f147050ead6e7733d59b
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 Jun 21, 2016
make fun of your colleagues with this snippet
View fun.sh
# 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 Whisper "is anybody there"; sleep $[ ( $RANDOM % 60 ) + 1 ]s; done' &
You can’t perform that action at this time.