Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of countries
<?php | |
if (!function_exists('interface_exists')) { | |
die('PHP version too old'); | |
} | |
$throwables = listThrowableClasses(); | |
$throwablesPerParent = splitInParents($throwables); | |
printTree($throwablesPerParent); | |
if (count($throwablesPerParent) !== 0) { | |
die('ERROR!!!'); |
<!-- AXES IN COLUMN CHART --> | |
<html> | |
<head> | |
<link href="/css/w3.css" rel="stylesheet" /> | |
<link href="/css/print.min.css" rel="stylesheet" /> | |
<script> | |
//Declaring Global Variables | |
var GV, CHT, DT, OPT; | |
function drawChart(){ | |
GV = google.visualization; |
$ git clone git@github.com:xxxxx/xxxx.git my-awesome-proj | |
Cloning into 'my-awesome-proj'... | |
ssh: connect to host github.com port 22: Connection timed out | |
fatal: Could not read from remote repository. | |
$ # This should also timeout | |
$ ssh -T git@github.com | |
ssh: connect to host github.com port 22: Connection timed out | |
$ # but this might work |
If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.
Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.
If in doubt about what git is doing when you run these commands, just
[ | |
{ | |
"name": "Baringo", | |
"capital": "Kabarnet", | |
"code": 30, | |
"sub_counties": [ | |
"Baringo central", | |
"Baringo north", | |
"Baringo south", | |
"Eldama ravine", |