Skip to content

Instantly share code, notes, and snippets.

<?php
/*
* pgBackupRestore v2
* Date: 30th November 2007
* Author: Michele Brodoloni <[email protected]>
*
* Changelog:
* - Fixed issue with bytea fields
* - Fixed issue with empty values in NOT NULL fields
* - Added custom header
<?php
require_once('zeusafk.database.lib.php');
$host = 'localhost';
$user = 'root';
$password = 'root';
$database = 'test_db';
// El puerto es opcional, por defecto 3306
$port = 3306;
//#include <Servo.h>
/* Servo */
//int servo_pin = A0;
/* H-Bridge configuration */
int HB_IN1 = 3;
int HB_IN2 = 5;
int HB_IN3 = 11; // 11
int HB_IN4 = 10;
#define STBY 9
#define AIN1 3
#define AIN2 4
#define PWMB 5
#define PWMA 6
#define BIN1 8
#define BIN2 7
#define ENGINE_LEFT 1
#define ENGINE_RIGHT 2
<!-- INICIO -->
<script type="text/javascript" src="/images/portada/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/images/portada/js/jquery.nivo.slider.js"></script>
<div id="pPresent" style="display: none;">
<div id="pFondo"> </div>
<!-- <div id="pLogo"> </div> --><a id="pLink" style="height: 277px; position: absolute; left: 203px; z-index: 3; top: 123px; width: 672px;"></a>
<div id="pSupIzq"><a id="uSupIzq" href="/index.php/tasas-interes" target="_self"> </a></div>
<div id="pInfDer"><a id="uInDer" href="/index.php/agencias-cajeros" target="_self"> </a></div>
<div id="pInfo">
<!-- IMAGENES DESDE AQUI -->
<?php
/****************************************************************************************
* MySQL Database library by ZeusAFK Technologies
Changelog:
* Version 0.2b | 2019-11-28
- If not params are specified then mysqli query is used instead of mysqli prepare.
- Removed fetch param.
- Query method now saves current query string into a private variable with getter
method, helpful for implementing an error handler.
<?php
require_once('zeusafk.lib.php');
echo ZeusAFK\Database::GetInstance()->CreateConnection('localhost', 'root', 'root', 'database')->Query('SELECT VERSION()')->GetResults();
int a1 = 4;
int b1 = 5;
int c1 = A1;
int d1 = A2;
int e1 = A3;
int f1 = 3;
int g1 = 2;
int dp1 = A0;
int a2 = 8;
img with code
http://i.imgur.com/3WLhX5Z.png
hex img content
http://i.imgur.com/WqRoTYK.png
img file in notepad
http://i.imgur.com/MaYHSAw.png
bmp file in desktop
<div>
<ul class="images">
<li><img src="picture.jpg" alt="Picture"></li>
<li><img src="picture-2.jpg" alt="Picture 2"></li>
<li><img src="picture-3.jpg" alt="Picture 3"></li>
</ul>
</div>
<script type='text/javascript'>
// View some images