- Unix is invented by Ken Thompson (UTF-8, Go) and Denis Ritchie (C)
- Initially worked with MULTICS (run multiple programs, but is frustrated due to direction and scope of project
- Ken and Denis worked in UNICS (one program at a time) as an alternative (over time, gets called Unix)
- C become mature, they rewrite the Unix using C
- AT&T is forbidden to enter the market, licensed the source code
- various universities uses it, one of them is Berkeley
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
# extensions | |
sudo apt-get install \ | |
libxml2-dev \ | |
libcurl4-openssl-dev \ | |
libjpeg-dev \ | |
libpng-dev \ | |
libxpm-dev \ | |
libmysqlclient-dev \ | |
libpq-dev \ | |
libicu-dev \ |
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
# signing tags and commits - https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work | |
# verify if you have gpg keys | |
gpg --list-keys | |
# generate one | |
gpg --gen-key | |
# short last commit sha | |
git rev-parse --short HEAD |
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
ALTER USER 'user'@'%' IDENTIFIED WITH mysql_native_password BY 'pass; | |
-- or | |
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; |
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
# login to your account | |
npm adduser | |
# publish a package: updated first the version in package.json | |
npm publish . | |
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
## Docker-compose configurations | |
WORKSPACE_TIMEZONE=UTC | |
# Point to the path of your applications code on your host | |
APP_CODE_PATH_HOST=./ | |
# Point to where the `APP_CODE_PATH_HOST` should be in the container. You may add flags to the path `:cached`, `:delegated`. When using Docker Sync add `:nocopy` | |
APP_CODE_PATH_CONTAINER=/var/www:cached |
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
version: '3' | |
networks: | |
frontend: | |
driver: ${NETWORKS_DRIVER} | |
backend: | |
driver: ${NETWORKS_DRIVER} | |
volumes: | |
mysql: |
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
// Download the keypair file | |
// Set the permission to 400 | |
// Connect to the box - | |
ssh -i keypair_file.pem ec2-user@yourinstance.compute-1.amazonaws.com | |
// update packages | |
sudo yum update -y | |
// install docker |
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
// register a function taht will register the menus | |
add_action( 'admin_menu', 'the_function_that_will_add_menu' ); | |
// the function that will add menu | |
function the_function_that_will_add_menu() { | |
add_options_page( 'My Plugin Options', 'My Plugin', 'manage_options', 'my-unique-identifier', 'my_plugin_options' ); | |
} | |
// function to add top level menu | |
add_menu_page |
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
# System Architecture (14%) | |
dmesg | |
udev | |
dbus | |
lsusb | |
lspci | |
sysfs | |
/sys | |
/proc | |
/dev |