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
| <script type="text/javascript" | |
| src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> | |
| </script> |
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 flash.external.*; | |
| var JSvalue:String; | |
| JSvalue = ExternalInterface.call('JsTestFunction','The_String'); |
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
| JsTestFunction(myFlashValue) { | |
| return (myFlashValue + '_ACK'); | |
| } |
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 org.osflash.thunderbolt.Logger; | |
| Logger.error (JSvalue); // outputs _ACK |
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
| var methodName: String = "callFlash"; | |
| var method: Function = JS_Phonebooth; | |
| ExternalInterface.addCallback (methodName, method); | |
| function JS_Phonebooth (myObj: Object):void { | |
| Logger.error (myObj); // outputs value passed on by JavaScript | |
| } |
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
| window.onload = function() { | |
| // Instance variables | |
| var parentDiv; | |
| var theIframe; | |
| var contentDoc; | |
| var newScrollHeight; | |
| parentDiv = parent.document.getElementById('DivID'); |
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
| <html> | |
| <head> | |
| <style> | |
| #mask { | |
| background-image:url('mask.jpg'); | |
| z-index:1; | |
| } | |
| </style> | |
| </head> |
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
| rpm -qa | grep ssh | |
| yum -y install gcc automake autoconf libtool make openssl-devel pam-devel rpm-build | |
| wget http://ftp.halifax.rwth-aachen.de/openbsd/OpenSSH/portable/openssh-5.6p1.tar.gz | |
| wget http://ftp.halifax.rwth-aachen.de/openbsd/OpenSSH/portable/openssh-5.6p1.tar.gz.asc | |
| wget -O- http://ftp.halifax.rwth-aachen.de/openbsd/OpenSSH/portable/DJM-GPG-KEY.asc | gpg --import | |
| gpg openssh-5.6p1.tar.gz.asc | |
| tar zxvf openssh-5.6p1.tar.gz | |
| cp openssh-5.6p1/contrib/redhat/openssh.spec /usr/src/redhat/SPECS/ | |
| cp openssh-5.6p1.tar.gz /usr/src/redhat/SOURCES/ | |
| cd /usr/src/redhat/SPECS/ |
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
| #Subsystem sftp /usr/lib64/misc/sftp-server | |
| Subsystem sftp internal-sftp | |
| AllowGroups fullssh sftponly | |
| Match Group sftponly | |
| ChrootDirectory /var/www/html/petes-website | |
| ForceCommand internal-sftp | |
| X11Forwarding no | |
| AllowTcpForwarding no |
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
| def odds_checker(value) | |
| if value < 50: | |
| print('odds are against') | |
| elif value > 50: | |
| print('odds are in favor') |
OlderNewer