Host: Windows 10 Hypervisor: Oracle VBox Guest: CentOS 7
- RAM: 5 GB
- HDD: 40 GB
- Network Mode in VBox: Adapter 1: NAT Adapter 2: Host Only Network -> Virtualbox network.
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/wait.h> | |
void my_system(char **); | |
int my_builtins(char *); | |
int main(void) | |
{ |
Host: Windows 10 Hypervisor: Oracle VBox Guest: CentOS 7
Some pointers from my side:
ACM ICPC
Concentrate on your Regional: It helps having a fixed goal to focus on. This means acquainting yourself with past years' problems etc. And hopefully, there's a steady or gradual trend in problem style, and its not the case that one year you have amazing problems, the next you have weak test data etc.
Geolocation | |
# show hosts | |
# show domains | |
# add hosts | |
github.com | |
# use hosts-hosts/resolve | |
# show hosts | |
# run 1 | |
# show hosts | |
# use freegeoip |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
It's an automation language, engine and orchestration tool developed by Red hat written in Python using YAML format for writing instructional scripts, affectionately known as "Ansible playbook".
It has an automation engine that runs Ansible playbooks. Cloud provider is present in the ecosystem (AWS, Azure, Google, DigitalOcean, OVH, etc…).
Pros
Lists, strings, and tuples are ordered collections that are very similar in general structure but have specific differences that must be understood for them to be used properly.
Sets and dictionaries are unordered collections.
To make sets and dict ordered, we need to use: Frozensets and Ordered Dictionary.
The possible state values for a boolean object are True and False with standard boolean operators,and, or, and not.
# to open multiple files in vi | |
vi {f1,f2,f3} | |
# when opening first file | |
# press INS button | |
# save file with `:wn` | |
# when you are done with last file `:wa` | |
# now to save and quit `:wq` |
General Questions: | |
What function does DNS play on a network? | |
DNS, or Domain Name System, associates domain names to entities in the system. The widest used example is translating domain names to IP addresses, in order to locate devices. For example, when asked what www.exmaple.org is, DNS will respond with 93.184.216.119, the IP of that domain. | |
Further Reading: https://en.wikipedia.org/wiki/Dns | |
What is HTTP? | |
HTTP, or Hypertext Transfer Protocol, is "an application protocol for distributed, collaborative, hypermedia information systems (Wikipedia)", and is the foundation of the World Wide Web (distinct from the Internet as a whole). In the context of System Administration, HTTP is related to the applications or services that handle that protocol, most notably web servers like Apache or Nginx (among others). |