Skip to content

Instantly share code, notes, and snippets.

View jhesgodi's full-sized avatar

Jhonatan Gonzalez jhesgodi

  • THE ICONIC
  • Sydney, Australia
View GitHub Profile
<div class="timeline-header">
<span class="date">{{ $publicacion->updated_at->toDayDateTimeString() }}</span>
</div>
@jhesgodi
jhesgodi / GIF-Screencast-OSX.md
Created October 27, 2017 15:53 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@jhesgodi
jhesgodi / install_jenkins.sh
Created October 30, 2017 18:35 — forked from yilmazerhakan/install_jenkins.sh
Installing Jenkins on Homestead / Laravel
# Installing Jenkins for PHP Continious Integration of laravel/homestead
# 8 Must Have PHP Quality Assurance Tools
composer global require "phpunit/phpunit=4.1.*"
composer global require behat/behat='~3.0.6'
composer global require 'phploc/phploc=*'
composer global require 'phpmd/phpmd=*'
composer global require 'squizlabs/php_codesniffer=*'
composer global require 'sebastian/phpcpd=*'
composer global require 'sebastian/phpdcd=*'
function replaceObjectKey(data, from, to) {
const { [from]: value, ...rest } = data
return {
...rest,
[to]: value,
}
}
const data = { name: 'Jhesg', age: 27 }
replaceObjectKey(data, 'name', 'username')
const data = { foo: 'bar', bar: 'foo' }
Object.entries(data).forEach(([key, value]) => {
console.log(key, value)
})
// foo bar
// bar foo
// https://github.com/Jakobud/poly-fluid-sizing
// @import 'node_modules/poly-fluid-sizing/poly-fluid-sizing';
@import 'poly-fluid-sizing'
@mixin fluid-font-size($from: 16px, $to: 16px) {
@include poly-fluid-sizing('font-size', (
320px: $from,
1800px: $to,
@jhesgodi
jhesgodi / post.html
Created May 10, 2018 21:51
This HTML snippet
<h1>This HTML snippet is now rendered with native components !</h1>
<h2>Enjoy a webview-free and blazing fast application</h2>
<img src="https://i.imgur.com/dHLmxfO.jpg?2" />
<em style="textAlign: center;">Look at how happy this native cat is</em>
@jhesgodi
jhesgodi / books.org
Created May 10, 2018 22:15
Human Evolution, Tome I by Alexander Markov

DESCRIPTION

The contents of this file pretty much copy the data that can be obtained from http://goodreads.com/manpages Though I’ll certainly post some reviews here that I won’t post to the goodreads, so feel free to follow this gist if you are interested in the aggregated information on what I read. I have started that log at April 20th and plan to continue writing it for as long as I read books. No spoilers.

@jhesgodi
jhesgodi / README-Template.md
Created May 10, 2018 22:16 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@jhesgodi
jhesgodi / Android Home.md
Last active June 5, 2018 23:24 — forked from ericaroy/Android Home
Setting Android Home on Mac

Note for me to remember how to set Android Home on Mac

Open Terminal and type in..

nano ~/.bash_profile

Add the below paths The path should be where your android installation is located