Skip to content

Instantly share code, notes, and snippets.

View jrab66's full-sized avatar
🎣

Jose Barahona jrab66

🎣
View GitHub Profile
@jrab66
jrab66 / LFCS_study
Created November 8, 2016 23:13 — forked from gojun077/LFCS_study
LFCS Study Outline 2015.02.28
* LFCS Domains 2015.02
Note - the domains will change somewhat in March 2015. SW RAID
with mdadm will be removed
** The Command Line
*** Editing text files on the CLI
Covers the use of the basic text editors nano and gedit as well
as the advanced editors _vi_ and _emacs_
- nano
simple CLI-based text editor
@jrab66
jrab66 / ranking.js
Created October 2, 2018 17:13
ranking and averages
const AverageRanking = arr => {
const reducer = (total,currentValue) => total + currentValue
const sum = arr.reduce(reducer);
return sum;
}
const RankingAscending = arr => {
for(let i =0;i<arr.length;i++){
for(let j =0;i<arr.length;j++){
### Keybase proof
I hereby claim:
* I am jrab66 on github.
* I am jbarahona (https://keybase.io/jbarahona) on keybase.
* I have a public key ASAc4VdBOemra-D2m9uuUAIotFvUUqXCD3e1KfyveHNuoQo
To claim this, I am signing this object:
https://accounts.google.com/o/oauth2/v2/auth/oauthchooseaccount?access_type=offline&login_hint&prompt=consent&include_granted_scopes=true&scope=openid%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.events%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar.settings.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcontacts%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcontacts.other.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdirectory.readonly&state=popup%3Dtrue%26provider%3Dgoogle%26client%3Dweb%26userId%3D420a9f5b-9c2c-45bc-833b-1d053d0f1f8b%26nonce%3D87159660-70d3-4eaf-a382-e6320187efc8&response_type=code&client_id=31377706731-1hgv51kj0e16m8jqubi4nlvq07ebnusa.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fcalendar.notion.so%2Fauth&service=lso&o2v=2&ddm=0&flowName=GeneralOAuthFlow