- Create a bot using @BotFather, get it's token
- Start conversation with bot
- Run following curl command
curl https://api.telegram.org/bot/getUpdates | grep -Po '"from":{"id":.+?,'
curl https://api.telegram.org/bot/getUpdates | grep -Po '"from":{"id":.+?,'
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
This is a quick survival guide to Moodle principal versions and requirements.
This gist is no longer maintained. I leave it here partly for historical reasons. Currently, Moodle documentation for different versions has improved significantly, and it is more detailed and easier to identify things like specific upgrade paths.
In general, you can find the main information about Moodle versions at the following links:
| require 'socket' | |
| require 'json' | |
| class AircraftPositionStream | |
| def initialize host, port | |
| @host = host | |
| @port = port | |
| end |
| @binkmail.com | |
| @bobmail.info | |
| @chammy.info | |
| @devnullmail.com | |
| @letthemeatspam.com | |
| @mailinater.com | |
| @mailinator.net | |
| @mailinator2.com | |
| @notmailinator.com | |
| @reallymymail.com |
| // ==UserScript== | |
| // @name HQLive ad remover | |
| // @description Version 1.2 - Remove annoying chat and ad iframes from hqlive | |
| // @namespace http://hqlive.net/ | |
| // @include http://*hqlive.net/* | |
| // @include http://*cricket-365.tv/* | |
| // @include http://*cricvid.com/* | |
| // @include http://*cricvip.com/* | |
| // @include http://*live365.tv/* |
| namespace :db do desc "Backup database to AWS-S3" | |
| task :backup => [:environment] do | |
| datestamp = Time.now.strftime("%Y-%m-%d_%H-%M-%S") | |
| backup_filename = "#{Rails.root.basename}-#{datestamp}.sql" | |
| db_config = ActiveRecord::Base.configurations[Rails.env] | |
| # process backup | |
| `mysqldump -u #{db_config['username']} -p#{db_config['password']} -i -c -q #{db_config['database']} > tmp/#{backup_filename}` | |
| `gzip -9 tmp/#{backup_filename}` | |
| puts "Created backup: #{backup_filename}" |