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 language="javascript"> | |
$('html, body').animate({scrollTop:0}, 'slow'); | |
$('html, body').animate({ scrollTop: $("#text").offset().top }, 1300); | |
</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
<html> | |
<head> | |
<style type="text/css"> | |
p.neat { | |
display: none; | |
clear: both; | |
margin: 1em 0; | |
padding: 1em 15px; | |
width:100px; | |
background: #0F67A1; |
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
package br.com.aplicacao.app; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.Button; | |
public class MainActivity extends Activity { |
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 no($var) { | |
$array = Array("'", "\\", "-", "SELECT", "select", "INSERT", "UPDATE", "*", "DELETE", "&", ",", ".", "/", ":", "]", "[", "%", "$", "!", "@", "#", "¹", "²", "³", "£", "¢", "¬", "{", "[", "]", "}", "-", "§"); | |
$var = str_replace($array, "", $var); | |
$var = preg_replace("/[^0-9]/","", $var); | |
return $var; | |
} | |
function number($var) { | |
// Só passa números e nada mais | |
$array = Array("'", "\\", "-", "SELECT", "select", "INSERT", "UPDATE", "*", "DELETE", "&", ",", ".", "/", ":", "]", "[", "%", "$", "!", "@", "#", "¹", "²", "³", "£", "¢", "¬", "{", "[", "]", "}", "-", "§"); |
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 | |
// Variables | |
$to = $_REQUEST['to']; | |
$message = $_REQUEST['message']; | |
$subject = $_REQUEST['subjet']; | |
$from = $_REQUEST['from']; | |
// Headers | |
$headers = "From: ".$from."\r\n"; | |
$headers .= "Content-type: text/plain; charset=utf-8\r\n"; |
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
package br.com.aplicativo.app; | |
package view; | |
import android.app.Activity; | |
public class MainActivity extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
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 | |
/** | |
* BarcodeQR - Code QR Barcode Image Generator (PNG) | |
* | |
* @package BarcodeQR | |
* @category BarcodeQR | |
* @name BarcodeQR | |
* @version 1.0 | |
* @author Shay Anderson 05.11 | |
* @link http://www.shayanderson.com/php/php-qr-code-generator-class.htm |
NewerOlder