This file contains hidden or 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
#Data Types | |
int | |
float | |
bool | |
str # not mutable | |
list # a form of array li = [1,2,3] li2 = ['a','b'] ARE MUTABLE | |
# if dont want to modify original list use new_cart = amazon_cart[:] | |
tuple | |
set | |
dict |
This file contains hidden or 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
module MODULENAME | |
def METHODNAME | |
end | |
end |
This file contains hidden or 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
.toUpperCase() | |
.toLowerCase() | |
.toString() | |
This file contains hidden or 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
scp -r * root@blah.com:/sites/websitename.com |
This file contains hidden or 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
require_relative('../controllers/articles_controller.rb') | |
RSpec.describe string_capitalize do | |
it 'should have every word capitalized' do | |
expect(string_capitalize).to eq "I Am Ironman" | |
end | |
end |
This file contains hidden or 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
https://216.250.127.41:8443/admin/home?context=home |
This file contains hidden or 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
https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-rocky-linux-8 |
This file contains hidden or 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
https://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/ |
This file contains hidden or 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
/* Identical to storage, arguments can be passed to functions in three different ways: | |
- Pass by value (default) makes a copy | |
- Pass by pointer (modified with *) | |
- Pass by reference (modified with &, acts as alias) */ | |
// byValue | |
bool sendCube(Cube c) { | |
// ... logic to send a Cube somewhere ... | |
return true; | |
} |
This file contains hidden or 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
react-native init filename | |
## OR npx react-native init filename | |
## react-native is for mobile dev. only use react for web development | |
## Run instructions for Android: | |
## • Have an Android emulator running (quickest way to get started), or a device connected. | |
## • cd "/Volumes/MBAEXT/Development/react/learning" && npx react-native run-android | |
## Run instructions for iOS: |