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
document.write('I am writing this message today to show you how some people don\'t know how to strip javascript from certain elements of a page, app, or tweet. Odds are if you\'re reading this you are using Osfoora or another Twitter Application that doesn\'t take security seriously... Now most will say... "oh what can you do with JS". Well the answer to that is many things. For instance get you\'re current location\, redirect you to an advertising site, Crash what ever app you\'re using right now. And maybe even get information from you\'re current app like API keys, passwords ,etc... Now I\'m not going to do any of that, because I\'m a nice person, but come on app writers! Take security a bit more seriously!!'); |
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
background: #fefffe; /* Old browsers */ | |
background: -moz-linear-gradient(top, #fefffe 0%, #c1c1c1 100%); /* FF3.6+ */ | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefffe), color-stop(100%,#c1c1c1)); /* Chrome,Safari4+ */ | |
background: -webkit-linear-gradient(top, #fefffe 0%,#c1c1c1 100%); /* Chrome10+,Safari5.1+ */ | |
background: -o-linear-gradient(top, #fefffe 0%,#c1c1c1 100%); /* Opera11.10+ */ | |
background: -ms-linear-gradient(top, #fefffe 0%,#c1c1c1 100%); /* IE10+ */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefffe', endColorstr='#c1c1c1',GradientType=0 ); /* IE6-9 */ | |
background: linear-gradient(top, #fefffe 0%,#c1c1c1 100%); /* W3C */ |
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
#title { | |
position: relative; | |
right: 0; | |
top: -110px; | |
visibility: visible; | |
z-index: 0; | |
text-align: right; | |
font-weight: bold; | |
font-size: 50px; | |
font-family: Helvetica, Arial; |
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 <stdlib.h> | |
+ (NSNumber *)randomFourDigitNumber | |
{ | |
int randomNumber = rand()%9999 + 1000; | |
NSArray *badNumbers = [NSArray arrayWithObjects:@"69",@"666",@"0",@"11",@"22",@"33",@"44",@"55",@"66",@"77",@"88",@"99", nil]; | |
for (NSString *badNumber in badNumbers) { |
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
<?php | |
$bestServices = array("Google", "Github", "Twitter", "Gmail"); | |
foreach($bestServices as $bestService) { | |
echo $bestService."\n"; | |
} | |
?> |
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 | |
%title My Page | |
%script{:src => "myscript.js"} | |
%body | |
#myDiv | |
%h1 Howdy! | |
%p Hello this is my page! |
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 crash_it | |
puts "thread_started" | |
# The lower this number the more heat your cpu will generate | |
count_to = 1 | |
i = 1 | |
count = 0 | |
while i do | |
i = (i * (34634523 * 23) / 235 * 12359829835) ^ 8799889 |
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
#header | |
width 100% | |
height 50px | |
box-shadow 0 0 14px 5px rgba(0,0,0,0.35) | |
background-color: rgba(254, 254, 254, 0.8); | |
color #444 | |
position fixed | |
text-shadow 0 1px 0 #FFF |
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
if currentPlace in placeWords | |
starters = ["The time is ", "#{nick} the time's ", "The time's ", "The time is currently ",""] | |
t = Time.nowp | |
theTime = t.strftime("%I:%M%p") | |
"#{starters.sample}#{theTime}in#{currentPlace}" | |
else | |
uhohReturns = ["Valid place please!", "Somewhere legit please."] | |
uhohReturns.sample | |
end |
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
/** | |
* | |
* Base64 encode / decode | |
* http://www.webtoolkit.info/ | |
* | |
**/ | |
var Base64 = { | |
// private property |