Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
set heading off | |
set linesize 1000 | |
rem set pagesize 50000 | |
set echo off | |
set serveroutput on | |
SET FEEDBACK OFF | |
SPOOL out.sql | |
DECLARE | |
cur SYS_REFCURSOR; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/usr/bin/env python | |
""" load modules """ | |
import os | |
import sys | |
""" What dir are we listing? """ | |
target_dir = sys.argv[1] | |
""" Build dict """ |
require 'net/http' | |
require 'json' | |
require_relative 'response' | |
class Request | |
AlreadyComplete = Class.new(StandardError) | |
VERBS = { | |
head: Net::HTTP::Head, | |
get: Net::HTTP::Get, |
if (process.argv.length < 3) { | |
throw `Usage: ${process.argv[1]} path_prefix` | |
} | |
const PATH_PREFIX = process.argv[2] | |
const path = require('path') | |
const AWS = require('aws-sdk') | |
const ssm = new AWS.SSM() | |
function getParametersByPath(nextToken, callback) { |