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; | |
| } |
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
| #!/usr/bin/env python | |
| # Joshua J. Drake (@jduck) of ZIMPERIUM zLabs | |
| # Shout outs to our friends at Optiv (formerly Accuvant Labs) | |
| # (C) Joshua J. Drake, ZIMPERIUM Inc, Mobile Threat Protection, 2015 | |
| # www.zimperium.com | |
| # | |
| # Exploit for RCE Vulnerability CVE-2015-1538 #1 | |
| # Integer Overflow in the libstagefright MP4 'stsc' atom handling | |
| # | |
| # Don't forget, the output of "create_mp4" can be delivered many ways! |
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
| ftp://ftp.hq.nasa.gov |
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
| # ~/.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
| //-------------------------------------------// | |
| //INCLUDES // | |
| //-------------------------------------------// | |
| #include <sys/time.h> | |
| #include <gst/gst.h> | |
| #include <glib.h> | |
| #include <sys/param.h> | |
| #include <sys/user.h> | |
| #include <sys/sysctl.h> | |
| #include <unistd.h> |