-
Raw Materials–Data, Variables, & Data Types–Notes…
Raw Materials Data, Variables, & Data Types The ‘materials‘ we use in programming are the data that we can manipulate. Data is the “stuff“, the raw information, that our program manipulates. Programs manipulate data in many ways, often depending on the type of data. Data comes in the form of many types, and each data type has a number of operations–things that we can do to it. So, the things that we can do, or perform on the data, depends on what type of data we have at our disposal. Variables refer to data and (depending on the programming language) may need to be declared before being defined, or used.…
-
Protected: Expanse Notes…
There is no excerpt because this is a protected post.
-
What is a program?–Notes…
What is a program? A program is a sequence of instructions that specifies how to perform a computation. A few basic instructions appear in just about every language: input–get data from a keyboard, a file, or some other device. output–display data on the screen or send data to a file or other device. maths–perform basic mathematical operations like addition & multiplication. conditional execution–check for certain conditions and execute the appropriate sequence of statements. repetition–perform some action repeatedly, usually with some variation. That’s pretty much all there is to it! Every program is made up of instructions that look more or less like these! We can describe programming as the process…
-
Phonetic Alphabet
A–> Alpha B–> Bravo C–> Charlie D–> Delta E–> Echo F–> Foxtrot G–> Golf H–> Hotel I–> India J–> Juliett K–> Kilo L–> Lima M–> Mike N–> November O–> Oscar P–> Papa Q–> Quebec R–> Romeo S–> Sierra T–> Tango U–> Uniform V–> Victor W–> Whiskey Y–> Yankee Z–> Zulu
-
Notes to Self 11/05/2020
Notes to Self 11/05/2020 “Hack everything but harm none.” OSSTMM (www.osstmm.org); Pronounced “aw-stem”. Open Source Security Testing Methodology Manual Interactions–Trust interactions are between people & things that are familiar with each other. Access interactions happen between unknown people or systems. (You can use an ‘access‘ to take what you want yourself, or you can trick someone who has a ‘trust’ with the target to take what you want for you and give it to you.) Visibility interaction– ‘opportunity’; knowing if there’s something to interact with or not. “Privacy is the opposite of ‘Visibility’ and it’s a powerful way to avoid being a target. Whether its on dangerous streets, in the…
-
HTML & CSS Notes
HTML HTML is the way a webpage is STRUCTURED! It is the markup language that contains all the actual stuff that a web page has. For example, all the text on a page lives inside HTML tags that tell the browser how to order (structure) the content on the page. Note: you can right-click any element on a web page & choose “Inspect Element” to open up your browsers Developer Tools, & it will show you the structure of the page. CSS CSS is the way a webpage LOOKS visually. CSS tells the browser if you want to display any of those tags a particular way, for example, turning a…
-
What is GIT? GIT–Version Control System
What is GIT? Git is a popular Version Control System. The aim of Git is to manage software development projects, and its files, as they are changing over time. Git stores this information in a data structure called a repository! A git repository is a central place where developers store, share, test and collaborate on web projects. A repository is kind of like an enhanced Unix directory, or folder, but with the additional ability to track changes to every file and subdirectory. The way to create a new repository with Git is with the “init” command (short for “initialize”_, which creates a special hidden directory called “.git”, where Git stores…
-
Moving Around (pushd & popd): Notes: List of Terminal Commands
Moving Around (pushd & popd) pushd (push directory) & popd (pop directory) let you temporarily go to a different-directory, and then come back, easily switching between the two!! pushd–lets you save your current location and go to a new location. The “pushd” command takes your current directory and “pushes” it into a list for later, then it ‘changes’ to another directory. It’s like saying, “Save where I am, then go here.” popd–lets you return to the saved location. The “popd” command takes the last directory you pushed and “pops” it off, taking you back there. Note: On Unix-machines “pushd“, if you run it by itself with no arguments, will switch…
-
Understanding Permissions: Notes: List of Terminal Commands
ls -l -pulls up ‘long-listing’ of info –Once we pull up the ‘long-listing’ of info, the first column gives us specific info on the directory or file. It tells us what you are, or are not allowed to do with that directory or file. (i.e.–permissions). Ex. sample permission string: d rwx rwx rwx The ‘d‘ tell us it’s a directory. A hyphen (–) would denote a file. “User“–The first set of ‘rwx‘ refers to the “User“, or the person that “owns” that resource (as listed in Column 3 of the ‘long listing’). “Group“–The second set of ‘rwx‘ refers to the “Group” and designates what the “group” is able to do.…
-
More Notes!!! [Ruby Programming Language Notes]
Global Variables–Variable References Lecture $–Use this sign to create a global variable in Ruby. Ex: def say_hello $message = “hello globe” end say_hello p $message # => “hello globe” More Methods! object_id can be used to see what memory location a particular variable points to . ex: variable.object_id => 7018903, or whatever number the computer assigned. Initializing an Array! *(Variable References Lecture) So we know that ‘arr = [ ]‘ will create a new empty array. We can use ‘arr = Array.new()‘ to initialize an array of a certain length by passing the length we want into the parameter (argument). ex: Array.new(3) #a new array with 3 elements => [nil,…