Skip to content

Instantly share code, notes, and snippets.

Rodrigo López Guerra rodrigolopezguerra

Block or report user

Report or block rodrigolopezguerra

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rodrigolopezguerra
rodrigolopezguerra / slack_delete.py
Last active Mar 8, 2018 — forked from Paradoxis/slack_delete.py
Delete all Slack files. Usage: python slack_delete.py --token <your token>
View slack_delete.py
import argparse
import requests
import time
import json
def main():
"""
Entry point of the application
:return: void
@rodrigolopezguerra
rodrigolopezguerra / radios_nacionales.txt
Created Jan 25, 2017 — forked from pisculichi/radios_nacionales.txt
URLs de radios nacionales de Argentina, para poder escuchar en la terminal con mplayer o vlc
View radios_nacionales.txt
# alias radio='function __radio(){ r=`grep -v "#" radios_nacionales.txt | grep -m 1 -i $1 | cut -d" " -f1`; cvlc $r; }; __radio'
# podria utilizarse mplayer en vez de vlc
AMs Nacionales
http://200.68.81.65:8000/am530 Radio Madre 530
http://wmserver3.aginet.com.ar:19043 Radio Colonia 550
http://195.154.182.222:26016/;stream/1 Radio Argentina 570
http://7359.live.streamtheworld.com/CONTINENTAL.mp3 Continental 590
http://181.119.20.132:8234/stream Rivadavia 630
@rodrigolopezguerra
rodrigolopezguerra / README.md
Created Dec 22, 2016 — forked from tjamps/README.md
Basic RESTful API with Symfony 2 + FOSRestBundle (JSON format only) + FOSUserBundle + FOSOauthServerBundle
View README.md

Basic RESTful API with Symfony 2 + FOSRestBundle (JSON format only) + FOSUserBundle + FOSOauthServerBundle

The API we are creating in this gist will follow these rules :

  • The API only returns JSON responses
  • All API routes require authentication
  • Authentication is handled via OAuth2 with password Grant Type only (no need for Authorization pages and such).
  • API versioning is managed via a subdomain (e.g. v1.api.example.com)

The API will be written in PHP with the Symfony 2 framework. The following SF2 bundles are used :

You can’t perform that action at this time.