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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # ----------------for giving random commands and what they do------------- | |
| #echo "Did you know that:"; whatis $(ls /bin | shuf -n 1) | |
| #cowsay -f $(ls /usr/share/cowsay/cows | shuf -n 1 | cut -d. -f1) $(whatis $(ls /bin) 2>/dev/null | shuf -n 1) | |
| cowsay "Why be a sailor when you can be a Pirate !! --Steve Jobs" |
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/bash | |
| ## compile Repetier-Firmware without GUI | |
| ## | |
| ## Before you start: | |
| ## Set ADIR to your ArduinoIDE-Directory | |
| ## Set GPP, GCC, AR, OC. These can either be the binaries from the ArduinoIDE or your Distro | |
| ## | |
| ## How to use: | |
| ## Place this file in the Repetier-Directory (besides Repetier.ino) | |
| ## cd to your Repetier-Dir |
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
| #include <stdio.h> | |
| int main() { | |
| int n; | |
| scanf ("%d",&n); | |
| //true = 1 , false = 0 | |
| printf ("%d\n",(n > 0) - (n < 0)); | |
| return 0; | |
| } |