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
upload new exercise | |
gym/exercises/upload | |
create workout | |
gym/workouts/new | |
edit workout | |
gym/workouts/:id/edit |
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
- Create a csr file | |
openssl genrsa -des3 -out opendsa-server.cs.vt.edu.key 2048 | |
openssl req -new -key opendsa-server.cs.vt.edu.key -out opendsa-server.cs.vt.edu.csr | |
Country: US | |
State: Virginia | |
Locality: Blacksburg | |
Organization: Virginia Polytechnic Institute and State University | |
Organization Unit: Computer Science Department |
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 |
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
#!/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
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
- 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
- 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
- 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
# Rails Migration | |
http://guides.rubyonrails.org/migrations.html | |
## Migrations methods: | |
* add_column | |
* add_index | |
* change_column | |
* change_table | |
* create_table | |
* drop_table |