Skip to content

Instantly share code, notes, and snippets.

View abr4xas's full-sized avatar
🐧
Focusing

ángel abr4xas

🐧
Focusing
View GitHub Profile
@abr4xas
abr4xas / error.html
Created April 30, 2018 14:27
base template
<!DOCTYPE html><html><head><title>Error</title><style>.background{background:url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRXerUvVEqC5fxY2AxSFiWfGgl55RgwgxvPBsgxwPTtbrxhdKln') no-repeat center bottom fixed;}</style></head><body class="background" style="color:#444;margin:0;font:normal 14px/20px Arial,Helvetica,sans-serif;height:100%;background-color:#fff;"><div style="height:auto;min-height:100%;"><div style="text-align:center;width:900px;margin-left:-400px;position:absolute;top:30%;left:50%;"><h2 style="margin-top:20px;font-size:30px;">The resource requested could not be found on this server!</h2></div></div></body></html>
@abr4xas
abr4xas / mysql_dump_migration.php
Created August 18, 2017 20:57 — forked from scrubmx/mysql_dump_migration.php
Import mysql dump as laravel migration
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostalCodesTable extends Migration {
/**
* Run the migrations.
*
@abr4xas
abr4xas / summernote.js
Last active June 22, 2016 19:00
My custom Summernote w/ summernote-image-attributes
$('#summernote').summernote({
height: 300, // set editor height
minHeight: null, // set minimum height of editor
maxHeight: null, // set maximum height of editor
toolbar: [
['style', ['bold', 'italic', 'underline', 'clear']],
['insert', ['picture', 'link', 'video']],
['fontsize', ['fontsize']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
genius
description: Laptop
product: M2421 (1234567890)
vendor: VIT
version: Not Applicable
serial: 12345678901234567
width: 64 bits
capabilities: smbios-2.6 dmi-2.6 vsyscall32
configuration: boot=normal chassis=laptop sku=1234567890
*-core
@abr4xas
abr4xas / pagination-tumblr.html
Last active November 17, 2015 19:51
Bootstrap tumblr pagination
<nav>
<ul class="pagination">
{block:PreviousPage}
<li>
<a href="{PreviousPage}" aria-label="Previous">
<span aria-hidden="true">&laquo;</span>
</a>
</li>
{/block:PreviousPage}
{block:JumpPagination length="5"}

Keybase proof

I hereby claim:

  • I am abr4xas on github.
  • I am abr4xas (https://keybase.io/abr4xas) on keybase.
  • I have a public key whose fingerprint is 5792 7F0A 80C5 C97B 2443 9653 22DD 7FDD 8AE6 F481

To claim this, I am signing this object: