This file contains 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
; | |
; START Elliot Custom | |
; | |
M155 S5 ; turn on auto temp reporting | |
G21 ;metric values | |
M117 Setting Temps to [extruder0_temperature]/[bed1_temperature]... | |
M104 S[extruder0_temperature] T0; Setting Extruder Temp | |
M145 B[bed1_temperature] H[extruder0_temperature] ; send temps to LCD | |
M117 Waiting for Tip and Bed Temps... | |
M190 S[bed1_temperature]; Wait for bed |
This file contains 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
/** | |
* @@@BUILDINFO@@@ fontList.jsx !Version! Wed Jul 27 2016 14:10:20 GMT-0500 | |
*/ | |
// script.name = fontList.jsx; | |
// script.description = creates a document and makes a list of all fonts seen by Illustrator; | |
// script.requirements = none; // runs on CS4 and newer; | |
// script.parent = CarlosCanto // 02/17/2013; | |
// script.elegant = false; | |
#target illustrator |
This file contains 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
# In Simplify3D go to: | |
# - Edit Process Settings -> Scripts | |
# At the very bottom there is a box titled "Post Processing" | |
# Add the following command line to the box titled "Addidional Terminal Commands for Post Processing" | |
curl -k -H "X-Api-Key: 1111111222222233333444455555" -F "select=false" -F "print=false" -F "file=@[output_filepath]" "http://octopi.local/api/files/local" |
This file contains 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 | |
# jm3.net | |
# uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu. | |
# ======================== | |
## RUN AT YOUR OWN RISK ## | |
# ======================== | |
# if this formats your hard drive or deletes your fonts or changes the sex | |
# of your dog, I'm super sorry, but there's nothing I can do. |
This file contains 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 | |
// Remove duplicates from a php array | |
$array = array_unique($array, SORT_REGULAR); |
This file contains 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
/* I use Stylish (a chome addin) to set these styles | |
* URLs on the domain workflowy | |
*/ | |
.next-row { | |
border: 2px solid #46A546 !important; | |
border-top-left-radius:0.5em; | |
background-color: #CCFFCC !important; | |
} |
This file contains 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
/* I use Stylish (a chome addin) to set these styles | |
* URLs on the domain workflowy | |
*/ | |
.next-row { | |
border: 2px solid #46A546 !important; | |
border-top-left-radius:0.5em; | |
background-color: #CCFFCC !important; | |
} |
This file contains 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 | |
function generateCsv($data, $delimiter = ',', $enclosure = '"') { | |
$handle = fopen('php://temp', 'r+'); | |
foreach ($data as $line) { | |
fputcsv($handle, $line, $delimiter, $enclosure); | |
} | |
rewind($handle); | |
while (!feof($handle)) { | |
$contents .= fread($handle, 8192); | |
} |
This file contains 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 | |
$expected=array('module','act','gal_id','page_id','view','reply','post_id'); | |
foreach($expected as $key){ | |
if(!empty($_GET[$key])){ | |
${key}=$_GET[$key]; | |
} else{ | |
${key}=NULL; | |
} | |
} | |
?> |