Skip to content

Instantly share code, notes, and snippets.

View junioryauricasa's full-sized avatar
:octocat:
Focusing

elShunior junioryauricasa

:octocat:
Focusing
View GitHub Profile
@junioryauricasa
junioryauricasa / LICENCE SUBLIME TEXT
Created January 7, 2019 06:59 — forked from cprakashagr/LICENCE SUBLIME TEXT
Sublime Text 3 Serial key build is 3143
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
@junioryauricasa
junioryauricasa / index.html
Created January 9, 2018 19:36
TinyMCE Full Featured
<textarea><p style="text-align: center; font-size: 15px;"><img title="TinyMCE Logo" src="//www.tinymce.com/images/glyph-tinymce@2x.png" alt="TinyMCE Logo" width="110" height="97" />
</p>
<h1 style="text-align: center;">Welcome to the TinyMCE Cloud demo!</h1>
<h5 style="text-align: center;">Note, this includes some "enterprise/premium" features.<br>Visit the <a href="https://www.tinymce.com/pricing/#demo-enterprise">pricing page</a> to learn more about our premium plugins.</h5>
<p>Please try out the features provided in this full featured example.</p>
<h2>Got questions or need help?</h2>
<ul>
<li>Our <a href="//www.tinymce.com/docs/">documentation</a> is a great resource for learning how to configure TinyMCE.</li>
<li>Have a specific question? Visit the <a href="https://community.tinymce.com/forum/">Community Forum</a>.</li>
@junioryauricasa
junioryauricasa / PHPExcel_Basics.md
Created December 12, 2017 16:48 — forked from r-sal/PHPExcel_Basics.md
PHPExcel Notes and code snippets

Basics

Creating a new PHPExcel Object.

    $this->PHPExcel = new PHPExcel();

Working with sheets

Creating a new sheet:

@junioryauricasa
junioryauricasa / index.html
Created December 9, 2017 19:14
table style css - Tablas estilo EXCEL
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="excel-2000.css"/>
<link rel="stylesheet" type="text/css" href="excel-xp.css"/>
<link rel="stylesheet" type="text/css" href="excel-2003.css"/>
<link rel="stylesheet" type="text/css" href="excel-2007.css"/>
<script lang="javascript">
<?php
$username="root"; $password=""; $database="exam_codes";
$con = mysql_connect("localhost",$username,$password) or die( "Unable to Connect database");
mysql_select_db($database,$con) or die( "Unable to select database");
// Table Name that you want
// to export in csv
$ShowTable = "blogs";
$FileName = "_export.csv";
$file = fopen($FileName,"w");
@junioryauricasa
junioryauricasa / .htaccess-mod_headers
Created October 12, 2017 00:35 — forked from hans2103/.htaccess-mod_headers
.htaccess rules to set cache control.
<IfModule mod_headers.c>
Header set Connection keep-alive
# Cache-control headers
# 2 HOURS
#<filesMatch "*">
Header set Cache-Control "max-age=7200, must-revalidate"
#</filesMatch>
# 480 weeks - 290304000
<?php
$user_agent = $_SERVER['HTTP_USER_AGENT'];
echo $user_agent;
function getBrowser($user_agent){
if(strpos($user_agent, 'Maxthon') !== FALSE)
return "Maxthon";
elseif(strpos($user_agent, 'SeaMonkey') !== FALSE)
return "SeaMonkey";
elseif(strpos($user_agent, 'Vivaldi') !== FALSE)
return "Vivaldi";
@junioryauricasa
junioryauricasa / index.html
Created April 10, 2017 07:37
UI to Code #1: Juuce App
<div class="wrapper">
<div class="sidebar">
<div class="brand">JUUCE</div>
<div class="menu">
<ul>
<li><i class="glyph-icon flaticon-user"></i> Profile</li>
<li><i class="glyph-icon flaticon-like"></i> Wish list</li>
<li><i class="glyph-icon flaticon-like-1"></i> Why buy juuce?</li>
<li><i class="glyph-icon flaticon-vision"></i> About us</li>
<li><i class="glyph-icon flaticon-mail"></i> Contact us</li>
@junioryauricasa
junioryauricasa / index.html
Created April 10, 2017 07:33
shopping cart
<div id="container">
<div class="box">
<img src="http://chenyiya.com/codepen/product-1.jpg" alt="pic1">
<i class="fa fa-plus"></i>
<h3 id="item-one">Beer Bottle</h3>
<p>12.99</p>
</div>
<div class="box">
<img src="http://chenyiya.com/codepen/product-2.jpg" alt="pic2">
<i class="fa fa-plus"></i>