This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h | |
index a935bde..3ca167c 100644 | |
--- a/Marlin/Configuration.h | |
+++ b/Marlin/Configuration.h | |
@@ -8,13 +8,13 @@ | |
// Huxley: http://reprap.org/wiki/RepRapPro_Huxley_maintenance | |
// Uncomment ONE of the next three lines - the one for your RepRap machine | |
-//#define REPRAPPRO_HUXLEY | |
-#define REPRAPPRO_MENDEL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Usage: wget -qO- https://raw.github.com/gist/4195252/ickeinit.sh |sh -s <installdir> | |
DIR="$1" | |
if [ -z "$DIR" ] | |
then | |
echo "Please give install directory as first parameter." | |
exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SSH bookmark creator | |
sbm(){ | |
if [ $# -lt 2 ]; then | |
echo "Usage: sbm <short> [<user>@]<hostname> [-p <port>]" >&2 | |
return 1 | |
fi | |
short=$1 | |
arg=$2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$html = ' | |
<pre style="border: 2px solid #ff0000">test outside list</pre> | |
<ul> | |
<li> | |
a pre<br /> | |
<pre style="border: 2px solid #ff0000">test inside list</pre> | |
</li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$html = '<html><head></head><body> | |
<p><img src="http://php.net/images/php.gif" style="float:left"> this is right to the image</p> | |
<p>Browsers will show this right to the image as well. mpdf does not</p> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$html = ' | |
<p>Here should be one: \\ and here should be two \\\\</p> | |
<pre>Here should be one: \\ and here should be two \\\\</pre> | |
'; | |
include("MPDF53/mpdf.php"); | |
$mpdf=new mPDF(); | |
$mpdf->WriteHTML($html); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A set of shellscripts and and some HTML/JavaScript to create an 16x16 icon browser. | |
The icons need to be placed in folders named <setname>/ico/ | |
The URLs to each set can be found in <setname>/ico/url | |
mkcontactsheet.sh | |
creates the single image montage and the image map. Run it for each set, | |
after you put the icons into the correct folders | |
mkindex.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$OTS = '/usr/bin/ots'; | |
loadurl(); | |
if(!isset($_REQUEST['format']) || $_REQUEST['format'] =! 'text'){ | |
header('Content-Type: text/html; charset=utf-8'); | |
html_header(); | |
form(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.BorderLayout; | |
import java.awt.Frame; | |
import java.awt.GraphicsDevice; | |
import java.awt.GraphicsEnvironment; | |
import java.awt.MouseInfo; | |
import java.awt.Point; | |
import java.awt.event.WindowAdapter; | |
import java.awt.event.WindowEvent; | |
import javax.swing.JOptionPane; |
NewerOlder