Skip to content

Instantly share code, notes, and snippets.

View jeffschulthies's full-sized avatar
🚀
👨🏾‍💻

Jeff Schulthies jeffschulthies

🚀
👨🏾‍💻
View GitHub Profile
git log --oneline
git status -s
Configuration Levels
System
- Multiple users log into the same box. Build box
Global
Local
@jeffschulthies
jeffschulthies / Skeleton Typography
Created August 14, 2017 01:29
aphrodite: React Skeleton Typography Port
import { StyleSheet } from 'aphrodite/no-important'
const TypographyStyle = StyleSheet.create({
h1: {
marginTop: '0',
marginBottom: '2rem',
fontWeight: '300',
fontSize: '4.0rem',
lineHeight: '1.2',
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dev</title>
</head>
<body>
<div id="root">
CREATE TEMPORARY TABLE "EBSM5VR0B" AS (
SELECT "t0"."ProductID" "productid"
FROM
"public"."products" "t0"
) WITH DATA;
SELECT
"t0"."productid" "productid",
"t1"."productid" "inventory_db__mysql_1_productid"
FROM
CREATE TEMPORARY TABLE `@[Inventory DB (MySQL)1]` AS
SELECT `t0`.`product_id` `productid`
FROM
`inventory`.`daily_unit_level` `t0`
@jeffschulthies
jeffschulthies / Base.sql
Last active August 30, 2016 19:55
Vero SQL
-- Inventory DB (MySQL)1
;
CREATE TEMPORARY TABLE `QBCW5ISAJ` AS
SELECT `t0`.`product_id` `productid`
FROM
`inventory`.`daily_unit_level` `t0`
;
-- Engine Block: EBJYF5VRO

Keybase proof

I hereby claim:

  • I am jeffschulthies on github.
  • I am jeffs (https://keybase.io/jeffs) on keybase.
  • I have a public key ASCc_ElpD4B1oH564fcqtnpc9D75e6No-lqI03ZZUHewyAo

To claim this, I am signing this object:

/*import lejos.nxt.*;
public class Line {
public static void main (String[] args) throws Exception {
LightSensor light = new LightSensor(SensorPort.S1);
light.setHigh(420);
light.setLow(270);
while (true) {
LCD.drawInt(light.readValue(), 4, 0, 0);
LCD.drawInt(light.readNormalizedValue(), 4, 0, 1);
LCD.drawInt(light.getLightValue(), 4, 0, 2);
/*import lejos.nxt.*;
public class Line {
public static void main (String[] args) throws Exception {
LightSensor light = new LightSensor(SensorPort.S1);
light.setHigh(420);
light.setLow(270);
while (true) {
LCD.drawInt(light.readValue(), 4, 0, 0);
LCD.drawInt(light.readNormalizedValue(), 4, 0, 1);
LCD.drawInt(light.getLightValue(), 4, 0, 2);
@jeffschulthies
jeffschulthies / gist:8880d24e6687750ca0bd
Created October 16, 2014 20:22
Ultrasonic Avoidance(Go Around)
import lejos.nxt.*;
import lejos.robotics.navigation.*;
public class UltraObstacle {
public static void main(String[] args) throws Exception {
UltrasonicSensor sonic = new UltrasonicSensor(SensorPort.S1);
DifferentialPilot pilot = new DifferentialPilot(2.1f, 4.4f, Motor.A, Motor.B);
while(!Button.ESCAPE.isPressed()) {
if(sonic.getDistance() < 10) {
pilot.setTravelSpeed(8);
//pilot.steer(-90, 90);