Skip to content

Instantly share code, notes, and snippets.

View PintoGideon's full-sized avatar
🎯
Focusing

Gideon Pinto PintoGideon

🎯
Focusing
View GitHub Profile
@PintoGideon
PintoGideon / Digging into Node.js.md
Last active August 28, 2022 03:47
Node.js - Understanding the hard Parts

Each Node.js process has a set of built-in functionality, accessible through the global process module. The process module need not to be required - it is somewhat literally a wrapper around the currently executing process, and many of the methods it exposes are actually wrappers around calls into some of Nodejs core C libraries.

process.stdout.write("hello world")

The simplest way of retrieving arguments in Nodejs is via the process.argv array. This is a global object that you can use without importing any additional libraries to use it. You simply need to pass arguments to a Node.js application, just like we showed earlier, and these arguments can be accessed within the application via the process.argv array.

@PintoGideon
PintoGideon / Typescript.md
Last active June 6, 2019 17:42
Typescript Basics

As application grow in size, it becomes harder and harder to reason about and any additional information we can codify in our syntax when we author our program is hugely valuable. Any extra info in the syntax will be hugely useful

Abstract Syntax Tree

The typescript compiler is made up of a couple of different parts or phases and of of one of these parts is the parser. Parser is responsible for looking at our code and transforming it into a data structure which other parts of the typescript compiler will use and understand.

@PintoGideon
PintoGideon / front-end.md
Last active June 6, 2019 17:40
Full Stack for Front End Engineers

Domains are just high level wrappers on IP addresses. Because we are humans, we can't remember most IP addresses.

DNS

domains

IP address-127.0.0.1 IP - Internet Protocol

Internet Protocols

@PintoGideon
PintoGideon / Hoisting.md
Last active June 6, 2019 17:39
Js Foundations

Hoisting

console.log(teddy)
var teddy='bear;
sing();
function sing(){
console.log('Oh hey hi')
}
@PintoGideon
PintoGideon / react.md
Last active June 6, 2019 17:39
Dave Ceddia's Pure React.

How React really works?

import React from 'react';
import ReactDOM from 'react-dom'

function HelloWorld(){
return(
Hello World!
@PintoGideon
PintoGideon / ChRIS.md
Last active July 17, 2019 17:47
Basic Understanding

Basic Understanding

Distributed apps are applications or software that runs on multiple computers within a network at the same time and can be stored on server or with cloud computing. Unlike traditional applications, distributed applications run on multiple systems simulataneously for a single task or a job.

The client software accesses the data from the server or cloud environment, while the server or cloud processes the data. ChRIS is designed to manage the execution of data needs of a specific class of computational applications often used in Research. These are applications that require no user interface once started, have runtime specifications passed in command line arguments and collect all output in files.

While ChRIS itself has a web based user interface, the applications that perform the computations are containerized, Linux based applications. Linux containers are technologies that allow you to package and isolate application with their entire run time environment- all of the files necessar

@PintoGideon
PintoGideon / AddNode.md
Last active August 20, 2019 04:08
Breaking the ChRIS UI (Add a Node)

Some helper functions to think about the Node graph

const daughter={name:'Kisha'}

const son={name:'Gideon'}
const daughter={name:'Alex'}

const mother={
name:'Asheleigh',
@PintoGideon
PintoGideon / ProblemSolving.md
Created August 21, 2019 18:24
BCH Admin tasks

Over the last few days there has not been an area to input a MRN number for pacs_pull, or any other plugin for that matter. I would really appreciate help in resolving this matter as there are very limited things for me to do without ChRIS.