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 type="text/javascript"> | |
$(function () { | |
$('form').on('submit', function (e) { | |
e.preventDefault(); | |
//added comment to show usage | |
$.ajax({ | |
type: 'post', | |
url: 'src/secure_function.php', | |
data: $('form').serialize(), | |
success: function (data) { |
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
<?php | |
class person | |
{ | |
private $name; | |
private $address; | |
private $dob; | |
private $id; | |
public function __construct($_name,$_address,$_dob) | |
{ | |
$this->name=$_name; |
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
තොරතුරු තාක්ෂණය කියන්නේ අතිශයින්ම වෙනස්වන විශයක්. ඊයේ තිබුන දේ අද වෙද්දී යාවත්කාලීන වෙලා තියෙන්න පුළුවන්. අවුරුදු ගණනාවකට කලින් අයින් කරපු දෙයක් ආයෙත් අද වෙද්දී භාවිතයට අරගෙන වෙන්නත් පුළුවන්. | |
පාසල් විශය නිර්දේශයටම කොටුවෙලා තොරතුරු තාක්ෂණය ඉගෙන ගන්න බැහැ. මොකද කියනවානම් ලෝකේ දැනට තියෙන අති විශාලම ක්ෂේත්රය තමයි තොරතුරු තාක්ෂණය කියන්නේ. | |
තත්පරයෙන් තත්පරය බිටුවෙන් බිටුව මේ තොරතුරු සාගරය විශාල වෙනවා. මේ විශාල වෙන තොරතුරු සාගරයේ යාත්රා කරන්න නම් තමන්ටම කියලා බ්රෑන්ඩ් එකක් හදාගන්න ඕනේ. තමන්වම මාකට් වෙන්න ඕනේ. | |
තනියම HTML කෝඩ් එකක් ලියනවා වගේ නෙමෙයි ආයතනයක රැකියාවකට ගිහින් වෙබ් අඩවියක් නිර්මාණය කරන එක. කැමති අයත් එක්ක වගේම අකමැති අයත් එක්කත් වැඩ කරන්න වෙනවා. | |
තොරතුරු තාක්ෂණය විතරක් ඉගනගෙන මදි, අනාගතය ජය ගන්න නිසි වෘත්තීමය දැනීමක් තිබීම අත්යාවශ්යයි. නැතිනම් උපාධි සහතිකයකට පමණක් සීමා වෙන්න වෙනවා තමන්ගේ අසීමිත බුද්ධි හැකියාව. |
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
<html> | |
<body> | |
<form method="post" enctype="multipart/form-data" id="upload_form"> | |
<input type="button" value="Add" onclick="addUploader()"> | |
<div id="upload_div"> | |
<input type="file" accept="image/*" name="upload[]"> | |
</div> | |
<input type="submit" value="Upload files"> | |
</form> | |
<script> |
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="col-4"> | |
<div class="item-collection-item"> | |
<h3>Item name</h3> | |
<img src="http://placehold.it/150x100"> | |
<p>This item dsc, rare item. Expensive</p> | |
</div><br> | |
<a class="btn btn-add-cart" href="/cart.php?item=x">Add to cart</a> | |
</div> |
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
.item-collection{ | |
text-align:center; | |
} | |
.item-collection-item{ | |
padding:4px 10px; | |
border: solid 1px rgba(204, 204, 204, 0.2); | |
transition:all .3s ease-in-out;} | |
.item-collection-item:hover{ |
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
<?php | |
file_put_contents("filename.ext", fopen("https://filehost.tld/file.ext", 'r')); |
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
public class AnimatedActivity extends Activity | |
{ | |
@Override | |
protected void onCreate(Bundle savedInstanceState) | |
{ | |
super.onCreate(savedInstanceState); | |
//opening transition animations | |
overridePendingTransition(R.anim.activity_open_translate,R.anim.activity_close_scale); | |
} |
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
<?php | |
function bbpRev($bbtInput){ | |
return $bbtInput = bindec(strrev(decbin($bbtInput))); | |
} | |
echo bbpRev(654654567); | |
?> |
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
Tracing route to speedtest-blr1.digitalocean.com [139.59.0.49] | |
over a maximum of 30 hops: | |
1 * * * Request timed out. | |
2 58 ms 42 ms 58 ms 172.27.28.46 | |
3 61 ms 45 ms 73 ms 125.214.161.233 | |
4 63 ms 55 ms 40 ms 125.214.164.57 | |
5 238 ms 236 ms 252 ms 80.249.211.191 | |
6 342 ms 334 ms 342 ms 182.79.203.229 | |
7 340 ms 362 ms 349 ms 202.56.198.58 |
OlderNewer