Skip to content

Instantly share code, notes, and snippets.

View arcanoix's full-sized avatar
:octocat:
Developer Code Now Work

Gustavo Herrera arcanoix

:octocat:
Developer Code Now Work
View GitHub Profile
@arcanoix
arcanoix / index.html
Created May 21, 2017 05:07
Under Construction Parallax Page
<main>
<ul id="scene"
data-friction-x="0.1"
data-friction-y="0.1"
data-scalar-x="25"
data-scalar-y="15"
data-limit-y="50"
class="scene">
<li class="layer" data-depth="0.40">
<div class="content">
@arcanoix
arcanoix / index.html
Created May 21, 2017 05:13
Testing Terminal
<div id="container"><p id="terminal"></p></div>
@arcanoix
arcanoix / index.html
Created May 21, 2017 05:15
Testing Terminal
<div id="container"><p id="terminal"></p></div>
@arcanoix
arcanoix / index.html
Created May 21, 2017 05:21
Text animation
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<div class="content">
<div class="content__container">
<p class="content__container__text">
Hello
</p>
<ul class="content__container__list">
<li class="content__container__list__item">Function !</li>
// how to write content to a file
$content = 'File content ...';
Storage::put( 'myfile.txt', $content );
// how to read content from a file
$content = Storage::get( 'myfile.txt' );
// how to delete a file
Storage::delete( 'myfile.txt' );
//obtenemos el campo file definido en el formulario
$file = $request->file('file');
//obtenemos el nombre del archivo
$nombre = $file->getClientOriginalName();
//indicamos que queremos guardar un nuevo archivo en el disco local
\Storage::disk('local')->put($nombre, \File::get($file));
@arcanoix
arcanoix / template.blade.php
Created June 6, 2017 19:16
Mailgun template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Alerts e.g. approaching your limit</title>
<style type="text/css">
img {
max-width: 100%;
@arcanoix
arcanoix / LICENCE SUBLIME TEXT
Created July 2, 2017 18:13 — forked from RoseySoft/LICENCE SUBLIME TEXT
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
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
@arcanoix
arcanoix / BlogController.php
Created September 7, 2017 16:33 — forked from tobysteward/BlogController.php
Laravel AJAX Pagination with JQuery
<?php
class BlogController extends Controller
{
/**
* Posts
*
* @return void
*/
public function showPosts()