I hereby claim:
- I am redlotus on github.
- I am redlotus (https://keybase.io/redlotus) on keybase.
- I have a public key ASBHMSh2wFwBBsVzcYv0LIxma7gp41KPNy7ENlFcPrFCSAo
To claim this, I am signing this object:
# 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.") |
" for windows | |
" Gui | |
GuiTabline 0 | |
GuiPopupmenu 0 | |
GuiLinespace 1 | |
Guifont Fira Code:h10 | |
set termguicolors | |
" enable plugins | |
filetype on | |
syntax enable |
I hereby claim:
To claim this, I am signing this object:
set nocompatible | |
" enable plugins | |
filetype on | |
syntax enable | |
" basic settings | |
set laststatus=2 " Always show the statusline | |
"set term=$TERM | |
set encoding=utf-8 " Necessary to show unicode glyphs | |
" if $TERM!="linux" " if we are not in tty |
Hello, sorry for the delay :(
You could do something like this:
vim /lib/systemd/system/omnidb-server.service
Fill it with:
[Unit]
# 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 |
CREATE OR REPLACE FUNCTION public.get_shift_details_based_on_location (invid INTEGER) | |
RETURNS TABLE (product_sku_id INTEGER, product_name CHAR VARYING, g_code CHAR VARYING, s_code CHAR VARYING, m_code CHAR VARYING [ ], location_id INTEGER, location_name CHAR VARYING, time_finalization TIMESTAMP WITHOUT TIME ZONE, confirmed_quantity INTEGER, finalized_quantity INTEGER, current_quantity INTEGER, inventoried_list TEXT [ ], confirmed_list TEXT [ ]) | |
AS $function$ | |
BEGIN | |
RETURN QUERY | |
SELECT | |
sif.product_sku_id product_sku_id, | |
pt.name product_name, | |
ps.g_code g_code, | |
ps.s_code s_code, |
-- 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; | |
} |