Skip to content

Instantly share code, notes, and snippets.

@luiselizondo
luiselizondo / docker-clean-images
Created April 28, 2015 22:28
Docker Clean Images Command
#!/bin/bash
docker images -q --filter "dangling=true" | xargs docker rmi
@luiselizondo
luiselizondo / Links
Created July 6, 2015 03:50
Master Detail Model Binding in Appcelerator
@luiselizondo
luiselizondo / sinonimos.csv
Created July 24, 2015 05:01
Diccionario de Sinonimos en Español para ElasticSearch
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
https://iirs.googlecode.com/svn-history/r10/trunk/utiles/sinonimos.csv
@luiselizondo
luiselizondo / build-titanium
Created August 4, 2015 06:02
Build Titanium Studio from Source
#!/bin/bash
# echo export ANDROID_SDK=/Users/luis/Library/android-sdk-macosx >> ~/.zshconfig
# sudo echo /Users/luis/Library/android-sdk-macosx/tools >> /etc/paths
# sudo echo /Users/luis/Library/android-sdk-macosx/platform-tools >> /etc/paths
# ~/Library/Application Support/Titanium
# ~/Documents/Appcelerator_Studio_Workspace
echo "Installing python dependencies"
sudo easy_install pycrypto pyopenssl pyyaml Pygments markdown
#!/bin/bash
# Instructions to run
# create-reminder "Say thanks to Luis for this wonderful IFTTT recipe!"
# Instructions to configure
# Save this file as /usr/local/bin/create-reminder
# Run chmod +x /usr/local/bin/create-reminder
# Change the following lines
event_name="create_reminder"
@luiselizondo
luiselizondo / slack_delete.py
Last active June 25, 2018 15:00 — forked from Paradoxis/slack_delete.py
Delete all Slack files. Usage: python slack_delete.py --token <your token>
import argparse
import requests
import time
import json
def main():
"""
Entry point of the application
:return: void