- Go to: 'System Preferences' >> 'MySQL' and stop MySQL
OR,
- sudo /usr/local/mysql/support-files/mysql.server start
- sudo /usr/local/mysql/support-files/mysql.server stop
ZIP,LAT,LNG | |
00601,18.180555, -66.749961 | |
00602,18.361945, -67.175597 | |
00603,18.455183, -67.119887 | |
00606,18.158345, -66.932911 | |
00610,18.295366, -67.125135 | |
00612,18.402253, -66.711397 | |
00616,18.420412, -66.671979 | |
00617,18.445147, -66.559696 |
private Boolean firstTime = null; | |
/** | |
* Checks if the user is opening the app for the first time. | |
* Note that this method should be placed inside an activity and it can be called multiple times. | |
* @return boolean | |
*/ | |
private boolean isFirstTime() { | |
if (firstTime == null) { | |
SharedPreferences mPreferences = this.getSharedPreferences("first_time", Context.MODE_PRIVATE); | |
firstTime = mPreferences.getBoolean("firstTime", true); |
var http = require("http"); | |
var url = require("url"); | |
var multipart = require("./multipart/multipart"); | |
var sys = require("sys"); | |
var fs = require("fs"); | |
var server = http.createServer(function(req, res) { | |
// Simple path-based request dispatcher | |
switch (url.parse(req.url).pathname) { | |
case '/': |
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
# Official framework image. Look for the different tagged releases at: | |
# https://hub.docker.com/r/library/node/tags/ | |
image: node:6 | |
before_script: | |
- npm install | |
# This folder is cached between builds | |
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache | |
cache: |
worker_processes auto; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; |
#!/bin/bash | |
PHANTOM_JS="phantomjs-1.9.8-linux-x86_64" | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must be a root user" 2>&1 | |
exit 1 | |
else | |
apt-get update | |
apt-get install -y build-essential chrpath libssl-dev libxft-dev | |
apt-get install -y libfreetype6 libfreetype6-dev | |
apt-get install -y libfontconfig1 libfontconfig1-dev |
swagger: 2 | |
info: | |
title: The new Uber API | |
description: Move your app forward with the Uber API | |
version: "1.0.0" | |
host: api.uber.com | |
schemes: | |
- https | |
basePath: /v1 | |
produces: |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title></title> | |
<meta name='DC.title' content=''> | |
<meta name='subtitle' content='This is my subtitle'> | |
<meta name='url' content=''> | |
<meta name='identifier-URL' content=''> | |
<meta name='reply-to' content='email@mail.com'> |