This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- LTI App | |
name: CodeWorkout | |
key: test | |
secret: secret | |
launch url: https://192.168.33.20:9292/lti/launch | |
domain: https://192.168.33.20:9292 | |
privacy: public | |
- create module | |
- create item (external tool) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rails Models | |
### Generating models | |
$ rails g model User | |
### Associations | |
belongs_to | |
has_one |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rails Migration | |
http://guides.rubyonrails.org/migrations.html | |
## Migrations methods: | |
* add_column | |
* add_index | |
* change_column | |
* change_table | |
* create_table | |
* drop_table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Progress bar | |
https://infinum.co/the-capsized-eight/articles/progress-bar-in-rails | |
- background jobs | |
https://www.agileplannerapp.com/blog/building-agile-planner/rails-background-jobs-in-threads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- changes required to you app before deployment | |
http://railsapps.github.io/rails-heroku-tutorial.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- remove local storage | |
chrome://settings/cookies#cont |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VT course definition: | |
CS2114 | |
Software Design & Data Structures | |
https://www.cs.vt.edu/undergraduate/courses/CS2114 | |
CS3114 | |
Data Structures & Algorithms | |
https://www.cs.vt.edu/undergraduate/courses/CS3114 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- log files | |
sudo tail -n 300 -f /var/log/apache2/access.log | |
sudo tail -n 300 -f /var/log/apache2/error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To copy a file from B to A while logged into B: | |
scp /path/to/file username@a:/path/to/destination | |
To copy a file from B to A while logged into A: | |
scp username@b:/path/to/file /path/to/destination | |
adding port | |
scp -P 80 username@b:/path/to/file /path/to/destination |