<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
# vim: set ai expandtab: | |
cmake_minimum_required(VERSION 3.2 FATAL_ERROR) | |
# The following must be set BEFORE doing project() or eanble_language(). | |
# ::-------------------------------------------------------------------------:: | |
if (NOT CMAKE_BUILD_TYPE) | |
message(STATUS "No build type defined; defaulting to 'Debug'") | |
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING | |
"The type of build. Possible values are: Debug, Release, RelWithDebInfo and MinSizeRel.") |
# copied only the scripts from http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/ | |
sudo apt-get install openssh-server denyhosts | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo adduser --system --home=/opt/openerp --group openerp | |
sudo apt-get install postgresql | |
sudo su - postgres | |
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp | |
#Enter password for new role: ******** |
#!/bin/bash | |
# | |
# Backup a Postgresql database into a daily file. | |
# | |
BACKUP_DIR=/pg_backup | |
DAYS_TO_KEEP=14 | |
FILE_SUFFIX=_pg_backup.sql | |
DATABASE= | |
USER=postgres |
-- show running queries (pre 9.2) | |
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(query_start, clock_timestamp()), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
#msgs_scroller_div::-webkit-scrollbar-track, #client_body::before, .client_container, | |
#search_terms, #client_body, #footer, ts-message, .channel_header, ts-jumper ts-jumper-container, | |
ts-jumper input[type="text"] { | |
background: #002B36 !important; | |
} | |
#client_body::before { | |
border-bottom: 1px solid #268BD2 !important; | |
} |
# | |
# Acts as a nginx HTTPS proxy server | |
# enabling CORS only to domains matched by regex | |
# /https?://.*\.mckinsey\.com(:[0-9]+)?)/ | |
# | |
# Based on: | |
# * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html | |
# * http://enable-cors.org/server_nginx.html | |
# | |
server { |
docker-compose up -d | |
docker attach myapp_web_1 |
As configured in my dotfiles.
start new:
tmux
start new with session name: