This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the nginx web server | |
# Description: starts nginx using start-stop-daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server | |
{ | |
listen 2662; | |
server_name example.com .example.com; | |
root /home/varunraj/Projects/php-project/; | |
index index.html index.htm index.php; | |
location ~* \.(ico|css|js|gif|jpe?g|png)$ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'dropbox_sdk' | |
require 'fileutils' | |
require 'sinatra' | |
require 'sinatra/reloader' | |
$client = DropboxClient.new("YOUR KEY HERE") | |
$path = "/" | |
$root_path = "/Users/skcripthq/Projects/DropBox" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as firebase from "firebase"; | |
var config = { | |
apiKey: "<YOUR API KEY GOES HERE >", | |
authDomain: "<YOUR APP DOMAIN GOES HERE>", | |
databaseURL: "<YOUR DATABASE URL>", | |
}; | |
firebase.initializeApp(config); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
TouchableHighlight, | |
View, | |
AsyncStorage | |
} from 'react-native'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cycles = [ | |
{ | |
id: 1, | |
name: "Cycle 1", | |
start_date: "01/01/2017", | |
end_date: "02/28/2017", | |
}, | |
{ | |
id: 2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "0.1.0", | |
"title": "SSMS Worker API" | |
}, | |
"host": "34.250.112.30:3001", | |
"paths": { | |
"/api/systemtoken": { | |
"post": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "0.2.0", | |
"title": "SSMS Worker API" | |
}, | |
"host": "18.194.193.140:3001", | |
"paths": { | |
"/api/systemtoken": { | |
"post": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Xamarin.Forms.Platform.iOS; | |
using Xamarin.Forms; | |
using UIKit; | |
using System.Diagnostics; | |
[assembly: ExportRenderer(typeof(SearchBar), typeof(Namespace.iOS.Renderers.ExtendedSearchBarRenderer))] | |
namespace Namespace.iOS.Renderers | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir /opt/oracle | |
sudo chown -R $USER:$USER /opt/oracle | |
cd /opt/oracle | |
wget https://github.com/bumpx/oracle-instantclient/raw/master/instantclient-basiclite-linux.x64-18.3.0.0.0dbru.zip | |
sudo apt-get install unzip | |
sudo apt-get install libaio1 | |
unzip instantclient-basiclite-linux.x64-18.3.0.0.0dbru.zip |
OlderNewer