Skip to content

Instantly share code, notes, and snippets.

1. Information We Collect:
Personal Assistant collects and stores only the information necessary for its functionality within Discord servers. This includes:
- User IDs
- Server IDs
- Message content when commands are used
2. How We Use Information:
We use the collected information solely for the purpose of providing and improving the bot's services within Discord. This includes:
- Responding to user commands
- Storing user preferences
Terms of Service for Personal Assistant Discord Bot
1. Acceptance of Terms
By using the Personal Assistant Discord Bot, you agree to these Terms of Service.
2. Use of the Bot
Personal Assistant is designed to assist users with various tasks within Discord servers. Use it responsibly and in compliance with Discord's Terms of Service.
3. User Responsibilities
You are responsible for any commands or interactions you have with the bot. Do not use the bot for any illegal or harmful activities.
@amacinho
amacinho / install-pip.py
Created August 20, 2012 16:46
install pip
# install pip via apt-get
sudo apt-get install python-pip python-dev build-essential
sudo pip install --upgrade pip
@amacinho
amacinho / fabfile.py
Created August 2, 2012 00:05 — forked from chexagon/fabfile.py
fabric fabfile.py for deployment of django apps on Debian servers
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
fabfile for Django
------------------
see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/
modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle)
several additions, corrections and customizations, too
@amacinho
amacinho / shuffle.sh
Created July 5, 2012 17:55
Shuffle the lines of a file -- the command line
# For other ways of doing this see this question on stackoverflow: http://stackoverflow.com/questions/2153882/how-can-i-shuffle-the-lines-of-a-text-file-in-unix-command-line
cat myfile | awk 'BEGIN{srand();}{print rand()"\t"$0}' | sort -k1 -n | cut -f2- > myfile.shuffled
@amacinho
amacinho / chef_solo_bootstrap.sh
Created June 27, 2012 21:22 — forked from leeky/chef_solo_bootstrap.sh
Bootstrap Chef Solo - Ubuntu 12.04 LTS
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
tar -xvzf ruby-1.9.3-p194.tar.gz
cd ruby-1.9.3-p194/
./configure --prefix=/usr/local
make
make install
@amacinho
amacinho / streaming_via_curl.sh
Created June 24, 2012 15:21
Twitter streaming via curl
# Common initialization to all commands below. Change USERNAME and PASSWORD accordingly.
export user=USERNAME
export pass=PASSWORD
#Sample (gardenhose or spritzer based on your access levels)
curl -3 --verbose -u$user:$pass https://stream.twitter.com/1/statuses/sample.json > /dev/null
# Firehose
curl -3 --verbose -u$user:$pass https://stream.twitter.com/1/statuses/firehose.json > /dev/null