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
@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=*'
@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

Install npm module

npm install react-native-maps --save

Top-Level build.gradle

add google() and change classpath com.android.tools.build:gradle:3.0.1

// Top-level build file where you can add configuration options common to all sub-projects/modules.
@jhesgodi
jhesgodi / clear.txt
Created June 6, 2018 20:38 — forked from EQuimper/clear.txt
React-Native clear Watchman + Cache
watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache
@jhesgodi
jhesgodi / appEntryPoint.js
Created June 12, 2018 21:09 — forked from markerikson/appEntryPoint.js
Webpack React/Redux Hot Module Reloading (HMR) example
import React from "react";
import ReactDOM from "react-dom";
import configureStore from "./store/configureStore";
const store = configureStore();
const rootEl = document.getElementById("root");
/* ----------------------------------------------------------------------------------------------------
Super Form Reset
A couple of things to watch out for:
- IE8: If a text input doesn't have padding on all sides or none the text won't be centered.
- The default border sizes on text inputs in all UAs seem to be slightly different. You're better off using custom borders.
- You NEED to set the font-size and family on all form elements
- Search inputs need to have their appearance reset and the box-sizing set to content-box to match other UAs
@jhesgodi
jhesgodi / multiple_ssh_setting.md
Created June 29, 2018 21:42 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@jhesgodi
jhesgodi / consoleColors.js
Created August 23, 2019 02:24 — forked from abritinthebay/consoleColors.js
The various escape codes you can use to color output to StdOut from Node JS
// Colors reference
// You can use the following as so:
// console.log(colorCode, data);
// console.log(`${colorCode}some colorful text string${resetCode} rest of string in normal color`);
//
// ... and so on.
export const reset = "\x1b[0m"
export const bright = "\x1b[1m"
export const dim = "\x1b[2m"