Skip to content

Instantly share code, notes, and snippets.

View marcbizal's full-sized avatar
💣
Breaking things.

Marcus Bizal marcbizal

💣
Breaking things.
View GitHub Profile
@marcbizal
marcbizal / end.gcode
Last active May 15, 2021 22:14
Artillery Sidewinder X1 w/ Mesh Leveling
M400 ; wait for in-progress moves
M220 S100 ; reset speed factor override percentage
M221 S100 ; reset extrude factor override percentage
G91 ; set positioning to relative
G1 F2400 E-3 ; retract to prevent stringing
G0 F3000 Z20 ; move z axis up
G90 ; set positioning to absolute
G1 X0 Y{machine_dim_y} F3000 ; present print
M106 S0 ; turn off fan
M104 S0 ; turn off hotend
@marcbizal
marcbizal / get.js
Created April 2, 2019 02:25
lodash get/set drop-in replacements w/ tests
import { toPath } from './toPath';
/**
* This is a drop-in replacement for _lodash/get_:
*
* Gets the value at _path_ of _object_.
* If the resolved value is _undefined_, the _defaultValue_ is returned in its place.
*
* @param {Object} object: The object to query.
* @param {Array|string} path: The path of the property to get.
@marcbizal
marcbizal / SQLFinalExamMB.sql
Last active August 29, 2015 14:26
SQL Final Exam
/*
-- FILE: SQLFinalExamMB.sql
-- AUTHOR: Marcus Bizal
-- DATE: 2015-07-29
--
-- NOTE: These queries use the Northwind sample database.
*/
-- BEGIN SETUP --
USE master;
@marcbizal
marcbizal / SQLAssignment6MB.sql
Created July 22, 2015 21:35
SQL Assignment 6
/*
-- FILE: SQLAssignment6MB.sql
-- AUTHOR: Marcus Bizal
-- DATE: 2015-07-22
*/
-- SETUP
USE master;
GO
@marcbizal
marcbizal / SQLAssignment5MB.sql
Created July 15, 2015 03:41
SQL Assignment 5
/*
-- FILE: SQLAssignment5MB.sql
-- AUTHOR: Marcus Bizal
-- DATE: 2015-07-14
--
-- NOTE: These queries use the Northwind sample database.
*/
-- 1.
-- Find out how many orders were shipped late. An order is shipped late if the shipped date is later than the required date. Call the expression Shipped Late.
@marcbizal
marcbizal / SQLAssignment4MB.sql
Last active August 29, 2015 14:24
SQL Assignment 4
/*
-- FILE: SQLAssignment4MB.sql
-- AUTHOR: Marcus Bizal
-- DATE: 2015-07-09
--
-- NOTE: These queries use the Northwind sample database.
*/
-- 1.
-- Show the average price, lowest price and highest price for all products. Name the columns to match the function being used.