Skip to content

Instantly share code, notes, and snippets.

@magbicaleman
magbicaleman / Configuration_adv.h
Created November 28, 2017 02:29
Untouched Anet A8 Configuration_adv.h
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@magbicaleman
magbicaleman / Configuration.h
Created November 28, 2017 02:27
Anet A8 Configuration.h without AutoLevel Sensor
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@magbicaleman
magbicaleman / index.js
Last active May 6, 2020 19:21
Crude Dynamic Import Example on Create React App index.js scaffold
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import registerServiceWorker from './registerServiceWorker';
class Dynamic extends Component {
constructor(props) {
super(props);
this.state = { module: null };
}
@magbicaleman
magbicaleman / php-shorthand-func-hhvm.php
Last active September 15, 2016 16:11
Just an example of php shorthand functions, when using hhvm as your fast-cgi
<?php
$x = $args ==> {
extract($args);
return 'multi-line '. $b . $s;
};
echo $x(['b' => 'sample ', 's' => 'dog']);
// multi parameter syntax does not seem to be supported in .php but it is in .hh files
@magbicaleman
magbicaleman / README.md
Last active November 14, 2016 07:38
Docker container instructions on getting SOLEMARTYR d3stripes php script running