Skip to main content

fb-rpi3-sms : FB Messenger integration with Rasberry Pi 3 and a local SMS Provider

mccrazy@Lenovo-N22:~/Documents/proyekto/heroku$ mkdir fb-rpi3-sms
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku$ cd fb-rpi3-sms/
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ git init
Initialized empty Git repository in /home/mccrazy/Documents/proyekto/heroku/fb-rpi3-sms/.git/
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ heroku git:remote -a fb-rpi3-sms
set git remote heroku to https://git.heroku.com/fb-rpi3-sms.git
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ rvm use --create --rvmrc 2.2.6@fb-rpi3-sms
ruby-2.2.6 - #gemset created /home/mccrazy/.rvm/gems/ruby-2.2.6@fb-rpi3-sms
ruby-2.2.6 - #generating fb-rpi3-sms wrappers..........
Using /home/mccrazy/.rvm/gems/ruby-2.2.6 with gemset fb-rpi3-sms
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ cd ..
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku$ cd fb-rpi3-sms/
You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers,
you can switch to '.ruby-version' using 'rvm rvmrc to ruby-version'
or ignore this warning with 'rvm rvmrc warning ignore /home/mccrazy/Documents/proyekto/heroku/fb-rpi3-sms/.rvmrc',
'.rvmrc' will continue to be the default project file in RVM 1 and RVM 2,
to ignore the warning for all files run 'rvm rvmrc warning ignore all.rvmrcs'.

********************************************************************************
* NOTICE                                                                       *
********************************************************************************
* RVM has encountered a new or modified .rvmrc file in the current directory,  *
* this is a shell script and therefore may contain any shell commands.         *
*                                                                              *
* Examine the contents of this file carefully to be sure the contents are      *
* safe before trusting it!                                                     *
* Do you wish to trust                                                         *
* '/home/mccrazy/Documents/proyekto/heroku/fb-rpi3-sms/.rvmrc'?                *
* Choose v[iew] below to view the contents                                     *
********************************************************************************
y[es], n[o], v[iew], c[ancel]> Y
Using: /home/mccrazy/.rvm/gems/ruby-2.2.6@fb-rpi3-sms
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ subl ../fb-rpi3-sms/mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ gem install bundler
Fetching: bundler-1.16.1.gem (100%)
Successfully installed bundler-1.16.1
1 gem installed
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ bundle install
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Fetching concurrent-ruby 1.0.5
Installing concurrent-ruby 1.0.5
Fetching i18n 0.9.5
Installing i18n 0.9.5
Fetching minitest 5.11.3
Installing minitest 5.11.3
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.5
Installing tzinfo 1.2.5
Fetching activesupport 5.1.5
Installing activesupport 5.1.5
Fetching activemodel 5.1.5
Installing activemodel 5.1.5
Fetching arel 8.0.0
Installing arel 8.0.0
Fetching activerecord 5.1.5
Installing activerecord 5.1.5
Fetching bond 0.5.1
Installing bond 0.5.1 with native extensions
Using bundler 1.16.1
Fetching dotenv 2.2.1
Installing dotenv 2.2.1
Fetching mustermann 1.0.2
Installing mustermann 1.0.2
Fetching pg 0.21.0
Installing pg 0.21.0 with native extensions
Fetching rack 2.0.4
Installing rack 2.0.4
Fetching rack-protection 2.0.1
Installing rack-protection 2.0.1
Fetching rack-test 0.6.3
Installing rack-test 0.6.3
Fetching ripl 0.7.1
Installing ripl 0.7.1
Fetching ripl-multi_line 0.3.1
Installing ripl-multi_line 0.3.1
Fetching ripl-rack 0.2.1
Installing ripl-rack 0.2.1
Fetching tilt 2.0.8
Installing tilt 2.0.8
Fetching sinatra 2.0.1
Installing sinatra 2.0.1
Fetching sinatra-activerecord 2.0.13
Installing sinatra-activerecord 2.0.13
Fetching sqlite3 1.3.13
Installing sqlite3 1.3.13 with native extensions
Fetching tux 0.3.0
Installing tux 0.3.0
Bundle complete! 7 Gemfile dependencies, 25 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ git remote add origin https://baliwme@bitbucket.org/baliwme/fb-rpi3-sms.git
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ git add .
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ git commit -am "initial project files, DOB 07Mar2018"
[master (root-commit) bca8bad] initial project files, DOB 07Mar2018
 3 files changed, 140 insertions(+)
 create mode 100644 .rvmrc
 create mode 100644 Gemfile
 create mode 100644 Gemfile.lock
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$ git push -u origin master
Password for 'https://baliwme@bitbucket.org':
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 2.07 KiB | 0 bytes/s, done.
Total 5 (delta 0), reused 0 (delta 0)
To https://baliwme@bitbucket.org/baliwme/fb-rpi3-sms.git
 * [new branch]      master -> master
Branch master set up to track remote branch master from origin.
mccrazy@Lenovo-N22:~/Documents/proyekto/heroku/fb-rpi3-sms$

Comments

Popular posts from this blog

Ubuntu 16.04 LT - Installing Chromium browser

> Type these commands about this PPA : $ sudo add-apt-repository ppa:canonical-chromium-builds/stage $ sudo apt-get update $ sudo apt-get install chromium-browser > Terminal: mccrazy@Lenovo-N22:~$ sudo add-apt-repository ppa:canonical-chromium-builds/stage [sudo] password for mccrazy:  Testing site just before upload to Ubuntu main. Things here are either broken and not ready to use, or landing in the distro anyway very soon. You shouldn't use this.  More info: https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmp6cfppy_r/secring.gpg' created gpg: keyring `/tmp/tmp6cfppy_r/pubring.gpg' created gpg: requesting key 5B393194 from hkp server keyserver.ubuntu.com gpg: /tmp/tmp6cfppy_r/trustdb.gpg: trustdb created gpg: key 5B393194: public key "Launchpad PPA for Canonical Chromium Build Team" imported gpg: Total number processed: 1 gpg:               imported: 1  (RSA

Moodlerooms Webservice - How to insert a user using function core_user_create_users

https://our-sandbox.mrooms.net/webservice/rest/server.php?wstoken=OUT_TOKEN_HERE&wsfunction=core_user_create_users&moodlewsrestformat=xml&users [0][username]= biboyatienza@gmail.com &users[0][password]=00.00.0000&users[0][firstname]=biboy&users[0][lastname]=atienza&users[0][email]= biboyatienza@gmail.com &users[0][city]=Manila&users[0][country]=Philippines &users[0][customfields][0][type]= customer &users[0][customfields][0][value]=Customer1 &users[0][customfields][1][type]= customeremail &users[0][customfields][1][value]= customer@email.com &users[0][customfields][2][type]= customerphone &users[0][customfields][2][value]=+6325217788