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
; acceleration_enabled = {acceleration_enabled} | |
; acceleration_infill = {acceleration_infill} | |
; acceleration_ironing = {acceleration_ironing} | |
; acceleration_layer_0 = {acceleration_layer_0} | |
; acceleration_prime_tower = {acceleration_prime_tower} | |
; acceleration_print = {acceleration_print} | |
; acceleration_print_layer_0 = {acceleration_print_layer_0} | |
; acceleration_roofing = {acceleration_roofing} | |
; acceleration_skirt_brim = {acceleration_skirt_brim} | |
; acceleration_support = {acceleration_support} |
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
// 1. Even or odd | |
function isEven(value){ | |
if (value % 2 == 0){ | |
return true; | |
} | |
else | |
return false; | |
} |
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 | |
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264 | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi | |
cat > /etc/yum.repos.d/centos.repo<<EOF |