-
Open the Terminal
-
Use
mysqldump
to backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql
-
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
######################## nginx.conf ######################## | |
include /Users/ankitthakur/nginx/sites-available/*; | |
######################## nginx.conf ######################## | |
######################## node config ######################## | |
# The upstream module is the link between Node.js and Nginx. | |
# Upstream is used for proxying requests to other servers. | |
# All requests for / get distributed between any of the servers listed. | |
upstream nodeserver { |
#import "NetworkParams.h" | |
@interface Network : NSObject <NSURLConnectionDelegate, NSURLConnectionDataDelegate> | |
- (void) initWithRequest:(NSURLRequest*)request onCompletion:(CompletionBlock)success onError:(ErrorBlock)error; | |
@end |
npm global path prefix: | |
Extending your PATH with | |
$ export PATH=/usr/local/share/npm/bin:$PATH | |
Run this: | |
$ npm config get prefix |
// | |
// AppleHomeKitUtilities.swift | |
// AppleHomeKit | |
// | |
// Created by Ankit Thakur on 2/7/15. | |
// Copyright (c) 2015 Ankit Thakur. All rights reserved. | |
// | |
import UIKit | |
import HomeKit |
// | |
// GeofenceViewController.swift | |
// AppleHomeKit | |
// | |
// Created by Ankit Thakur on 2/23/15. | |
// Copyright (c) 2015 Ankit Thakur. All rights reserved. | |
// | |
import UIKit | |
import CoreLocation; |
// | |
// AppleHealthKitUtilities.swift | |
// AppleHealthKitPOC | |
// | |
// Created by Ankit Thakur on 09/01/15. | |
// Copyright (c) 2015 Ankit Thakur. All rights reserved | |
// | |
import UIKit | |
import HealthKit |
// | |
// GCDUtils.h | |
// GCD | |
// | |
// Created by Ankit Thakur on 6/23/15. | |
// Copyright (c) 2015 GCD. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
buildscript { | |
ext { | |
kotlinVersion = '1.2.51' | |
springBootVersion = '2.0.4.RELEASE' | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") |