- 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
People
: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: |
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
/* 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) |
Hello all,
In this gist you may find resources in Russian/English which could be useful for writing Python script for test automation tasks.
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.
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 |