I hereby claim:
- I am robertbenjamin on github.
- I am robertbenjamin (https://keybase.io/robertbenjamin) on keybase.
- I have a public key whose fingerprint is CFB5 F420 B793 0729 49C1 CF84 B71A 25F8 3B39 7139
To claim this, I am signing this object:
Title: Pictures | |
---- | |
Text: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. | |
## Lorem Ipsum | |
In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a. | |
(image: l |
1. Turn on | |
Run boot loader | |
Enable kernel | |
Scan I/O ports, access hardware | |
Run init | |
Start daemon processes | |
Scan HD for "pbj.script" | |
Run pbj.script | |
2. Find your own location | |
Scan in a 360 degree with LIDAR and video sensors |
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( 15 ); | |
// It'll return "number", because it's a number not in quotes. | |
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( "hello" ); | |
// It'll return "string", because it's text in a set of parentheses. | |
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( 15 ); | |
// It'll return "number", because it's a number not in quotes. | |
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( "hello" ); | |
// It'll return "string", because it's text in a set of parentheses. | |
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( 15 ); | |
// It'll return "number", because it's a number not in quotes. | |
// What is the return value of the below code sample? Provide a sentence or two of explanation. | |
typeof( "hello" ); | |
// It'll return "string", because it's text in a set of parentheses. | |
whichTemp = "c"; | |
switch (whichTemp) { | |
case whichTemp = "f": | |
var fahrenheit = 32; | |
var fahrenheitToCelsius = (fahrenheit - 32) / 1.8; | |
var fahrenheitToKelvin = (fahrenheit + 459.67) / 1.8; | |
var fahrenheitTemps = [fahrenheit, fahrenheitToCelsius, fahrenheitToKelvin]; |
function convert(temp) { | |
// This takes the number you gave it (temp), converts it to celcius, then stores it in the celsius variable | |
celsius = (temp - 32) / 1.8; | |
// This prints the fahrenheit degree you gave it, and what the same degree is in celsius | |
console.log(temp + " degrees Fahrenheit is " + celsius + " degrees in Celsius!") | |
return celsius | |
} | |
// Now, I run the function above and put in the fahrenheit degress I want to convert |
// requiring just allows me to use functionality or code from an external source | |
// bitbar is a JavaScript module I'm using to make the menubar | |
// i just structure an array properly and pass it to bitbar and it makes the application | |
const bitbar = require('bitbar'); | |
// superagent is a http request library | |
// basically it allows me to easily make a call to the OneBusAway API | |
// im setting it equal to "request", and you can see it later | |
const request = require('superagent'); | |
// moment is a small library that parses crazy time formats into human readable ones | |
// eg: 1467317117000 (unix epoch time in milliseconds) to '15 minutes away' |
I hereby claim:
To claim this, I am signing this object:
import java.util.*; | |
public class removeZeros { | |
public static void main(String[] args) { | |
int[] list = {7, 2, 3, 0, 4, 6, 0, 0, 13, 0, 78, 0, 0, 19, 14}; | |
removeZeroes(list); | |
System.out.println(Arrays.toString(list)); | |
} | |
public static void removeZeroes(int[] list) { |