Skip to content

Instantly share code, notes, and snippets.

View JPGITHUB1519's full-sized avatar
😉
Learning

Jean Pierre Ureña (JP) JPGITHUB1519

😉
Learning
View GitHub Profile
@JPGITHUB1519
JPGITHUB1519 / setup-postgresql-vagrant.md
Created April 15, 2022 01:15 — forked from carymrobbins/setup-postgresql-vagrant.md
Configure PostgreSQL in a Vagrant guest to allow connections from the host.

Configure Postgres

  • Update pg_hba.conf (most likely in /etc/postgresql/9.4/main) with -
    • host all all 0.0.0.0/0 trust
  • Update postgresql.conf to use listen_addresses = '*'
  • Be sure to sudo service postgresql restart

Configure Vagrant

@JPGITHUB1519
JPGITHUB1519 / gist:00d2c7607f5767d824ff554ab2d19cad
Created March 23, 2021 18:17 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@JPGITHUB1519
JPGITHUB1519 / publish-ghpages.md
Created March 17, 2021 16:27 — forked from tduarte/publish-ghpages.md
If you need to force push an subtree
git checkout master # you can avoid this line if you are in master...
git subtree split --prefix dist -b gh-pages # create a local gh-pages branch containing the splitted output folder
git push -f origin gh-pages:gh-pages # force the push of the gh-pages branch to the remote gh-pages branch at origin
git branch -D gh-pages # delete the local gh-pages because you will need it: ref
@JPGITHUB1519
JPGITHUB1519 / exercise.js
Created January 29, 2019 20:42
Introduction to JavaScript Programming Course from Front-End Master. https://frontendmasters.com/courses/javascript-basics/
/* Exercise from https://github.com/getify/You-Dont-Know-JS/blob/master/up%20&%20going/ch1.md#practice */
(function() {
const TAX_RATE = 0.08;
const PHONE_PRICE = 99.99;
const ACCESORY_PRICE = 9.99;
const SPENDING_THRESHOLD = 200;
var accountBalance = 303.91;
var amount = 0;
import pygame,sys
from pygame.locals import *
pygame.init()
Ventana = pygame.display.set_mode((560,560))
pygame.display.set_caption("Ajedrez")
Negro = (0,0,0)
Blanco = (255,255,255)
@JPGITHUB1519
JPGITHUB1519 / README-Template.md
Created April 30, 2017 21:24 — 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

@JPGITHUB1519
JPGITHUB1519 / python_qa_automation.md
Created February 10, 2017 20:26 — forked from diyan/python_qa_automation.md
Learning Python for QA automation tasks

Hello all,

In this gist you may find resources in Russian/English which could be useful for writing Python script for test automation tasks.

What Python runtime I should use?

While Python 3.x (>=3.3) is reccomended for new project development it much better and easier to go with a bit older but rock-solid Python 2.x (>=2.7) for test automation.

Some Python packages comes with binary modules and it much easier to use 32-bit Python under Windows due to this reason.

@JPGITHUB1519
JPGITHUB1519 / DBHelper.cs
Created January 30, 2017 03:47 — forked from crystianwendel/DBHelper.cs
DB Helper Class in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace Helpers