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
<table cellpadding="0" cellspacing="0" style="MARGIN-LEFT: 9px"> | |
<tbody> | |
<tr background="/templates/naruto/images/homepage.png"> | |
<td width="537" height="37"> | |
<center> | |
<a style="color: yellow; font-size: 12px; text-shadow: #3d2e05 ;"> <b>Top 10</b> </a> | |
</center></td> | |
</tr> | |
</tbody> | |
</table> |
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
<!DOCTYPE html> | |
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
$("a[rel=modal]").click(function(ev) { | |
ev.preventDefault(); | |
var id = $(this).attr("href"); | |
var alturaTela = $(document).height(); |
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 backup_db($host, $user, $pass, $db) { | |
mysql_connect($host,$user,$pass) or die(mysql_error()); | |
mysql_select_db($db) or die(mysql_error()); | |
$back = fopen("backup.sql","w"); | |
$res = mysql_list_tables($db) or die(mysql_error()); | |
while ($row = mysql_fetch_row($res)) { | |
$table = $row[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
<center> | |
<table height="600" background="images/character/bg.png" border="0" width="500"> | |
<tbody> | |
<tr> | |
<td colspan="5" height="68"> | |
<center> | |
<table height="42" background="images/character/name.png" width="201"> | |
<tbody> | |
<tr> | |
<td><font color="white" size="2"><b> |
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
REASSIGN OWNED BY old_owner TO new_owner; |
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 | |
$video = "https://www.youtube.com/watch?v=1tnYpkt5G2g"; // $video recebe o valor da url do youtube (link) | |
preg_match('/(v\/|\?v=)([^&?\/]{5,15})/', $video, $x); // Faz o preg_match para retirar caracters | |
?> | |
<!-- Exibe o video --> | |
<object width="560" height="315"> | |
<param name="movie" value="//www.youtube.com/v/<?php print end($x); ?>?hl=pt_BR&version=3&rel=0"></param> | |
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param> | |
<embed src="//www.youtube.com/v/<?php print end($x); ?>?hl=pt_BR&version=3&rel=0" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed> | |
</object> |
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
Entrando no mundo GitHub - Windows | |
1 - Caso não tenha uma conta no github crie uma aqui: https://github.com/join para seguir com o tutorial | |
2 - Baixar o aplicativo: https://windows.github.com/ e instalar | |
3 - Fazer o login com a sua conta do GitHub, Configure o aplicativo e desmarque qualquer coisa que o aplicativo marcar na parte de repositories. | |
4 - Clique no "+", e selecione Clone. |
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
regsvr32 "filename".dll |
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
var coords = document.querySelectorAll('[data-coordenada]'); | |
var length = coords.length; | |
for (var i = 0; i < length; i++) { | |
coords[i].addEventListener('keyup', function(event) { | |
var value = this.value.replace(/[^\d-\.]/g, ""); | |
this.value = value; | |
}) | |
} |
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
Symlinks, short for symbolic links, are basically shortcuts to individual files or folders. One of the advantages of a symlink is that it can cross filesystems, as it references abstract filenames/directories and not physical locations. | |
There is a number of ways to create a symlink | |
1) Remove storage folder in public_html/public/storage | |
2) Create a php file for example symlink.php in public_html folder | |
3) Add codes to symlink.php file |
OlderNewer