Skip to content

Instantly share code, notes, and snippets.

The year 1866 was marked by a bizarre development, an unexplained and downright inexplicable phenomenon that surely no one has forgotten. Without getting into those rumors that upset civilians in the seaports and deranged the public mind even far inland, it must be said that professional seamen were especially alarmed. Traders, shipowners, captains of vessels, skippers, and master mariners from Europe and America, naval officers from every country, and at their heels the various national governments on these two continents, were all extremely disturbed by the business.
In essence, over a period of time several ships had encountered "an enormous thing" at sea, a long spindle-shaped object, sometimes giving off a phosphorescent glow, infinitely bigger and faster than any whale.
The relevant data on this apparition, as recorded in various logbooks, agreed pretty closely as to the structure of the object or creature in question, its unprecedented speed of movement, its startling locomotive power, and the unique v
<?php
use Rubricate\Fpdf\FileFpdf;
class PDF extends FileFpdf
{
public function Header()
{
global $title;
<?php
use Rubricate\Fpdf\FileFpdf;
class PDF extends FileFpdf
{
public function header()
{
$this->image('logo.png',10,6,30);
$this->setFont('Arial','B',15);
<?php
use Rubricate\Fpdf\FileFpdf;
$pdf = new FileFpdf();
$pdf->addPage();
$pdf->setFont('Arial','B',16);
$pdf->cell(40,10,'Hello World!');
$pdf->output();
@estefanionsantos
estefanionsantos / reset.css
Created April 3, 2024 03:18 — forked from poychang/reset.css
Eric Meyer's Reset CSS 2.0
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@estefanionsantos
estefanionsantos / yui3reset.css
Last active August 21, 2025 23:33 — forked from marharyta/yahoo.css
Yahoo! (YUI 3) Reset CSS
/*
YUI 3.18.1 (build f7e7bcb)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
https://clarle.github.io/yui3/
http://yui.yahooapis.com/3.18.1/build/cssreset/cssreset-min.css
*/
html{
color:#000; background:#FFF
<?php
require 'vendor/autoload.php';
use Rubricate\Paginator\Paginator;
use Rubricate\Paginator\TotalPaginator;
use Rubricate\Paginator\PerPagePaginator;
use Rubricate\Paginator\CurrentNumberPaginator;
use Rubricate\Paginator\LinkNumberPaginator;
@estefanionsantos
estefanionsantos / .htaccess
Created March 2, 2024 17:20
htaccess Rubricate
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
# EOF
<?php
$route['afrodite'] = 'mitologia/afrodite';
$route['journals'] = 'blogs';
$route['blog/joe'] = 'blogs/users/34';
# Wildcards
$route['user/{id}/{name}'] = 'user/:id/:name';
$route['product/{id}'] = 'catalog/product_lookup_by_id/:id';
<?php
$u = new Rubricate\Uri\CoreUri();
# localhost:8080
$u->getController(); # Index
$u->getAction(); # index
# uri: /sports/basketball/lorem/ipsum/dolor
$u->getController(); # Sports