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
" Place in ~/.config/nvim | |
" vim-bootstrap | |
"***************************************************************************** | |
"" Vim-PLug core | |
"***************************************************************************** | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
endif |
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
https://www.ianlewis.org/en/reversing-django-admin-urls | |
https://github.com/jsocol/django-adminplus | |
https://github.com/frankwiles/django-admin-views | |
http://www.pabloleanomartinet.com/adding-custom-admin-pages-django/ |
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
eval "$(ssh-agent -s)" |
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 adduser --system --home=/opt/etherpad --group etherpad |
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
DELETE FROM stock_move; | |
DELETE FROM mrp_production; | |
DELETE FROM stock_picking; | |
DELETE FROM sale_order; | |
DELETE FROM procurement_order; |
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
Español | |
=B1&(REDONDEAR.MAS(((MED(B1,2,1)+MED(B1,4,1)+MED(B1,6,1)+MED(B1,8,1)+MED(B1,10,1)+MED(B1,12,1))*3)+(MED(B1,1,1)+MED(B1,3,1)+MED(B1,5,1)+MED(B1,7,1)+MED(B1,9,1)+MED(B1,11,1)),-1)-(((MED(B1,2,1)+MED(B1,4,1)+MED(B1,6,1)+MED(B1,8,1)+MED(B1,10,1)+MED(B1,12,1))*3)+(MED(B1,1,1)+MED(B1,3,1)+MED(B1,5,1)+MED(B1,7,1)+MED(B1,9,1)+MED(B1,11,1)))) | |
Ingles | |
=C4&(ROUNDUP(((MID(C4,2,1)+MID(C4,4,1)+MID(C4,6,1)+MID(C4,8,1)+MID(C4,10,1)+MID(C4,12,1))*3)+(MID(C4,1,1)+MID(C4,3,1)+MID(C4,5,1)+MID(C4,7,1)+MID(C4,9,1)+MID(C4,11,1)),-1)-(((MID(C4,2,1)+MID(C4,4,1)+MID(C4,6,1)+MID(C4,8,1)+MID(C4,10,1)+MID(C4,12,1))*3)+(MID(C4,1,1)+MID(C4,3,1)+MID(C4,5,1)+MID(C4,7,1)+MID(C4,9,1)+MID(C4,11,1)))) | |
Libre Office | |
Español | |
=B1&(REDONDEAR.MAS(((EXTRAEB(B1,2,1)+EXTRAEB(B1,4,1)+EXTRAEB(B1,6,1)+EXTRAEB(B1,8,1)+EXTRAEB(B1,10,1)+EXTRAEB(B1,12,1))*3)+(EXTRAEB(B1,1,1)+EXTRAEB(B1,3,1)+EXTRAEB(B1,5,1)+EXTRAEB(B1,7,1)+EXTRAEB(B1,9,1)+EXTRAEB(B1,11,1)),-1)-(((EXTRAEB(B1,2,1)+EXTRAEB(B1,4,1)+EXTRAEB(B1,6,1)+EXTRAEB(B1,8,1)+EXTRAEB(B1,10,1)+EXTRAEB(B1, |
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
SELECT | |
row_number() over() as row_number, .. | |
FROM ... |
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
Private Sub Comando17_Click() | |
Dim sTblNm As String | |
Dim sTypExprt As String | |
Dim sCnxnStr As String, vStTime As Variant | |
Dim db As Database, tbldef As DAO.TableDef | |
On Error GoTo ExportTbls_Error | |
sTypExprt = "ODBC Database" | |
sCnxnStr = "ODBC;DSN=PostgreSQL35W;DATABASE=siafu;SERVER=127.0.0.1;PORT=5432;UID=postgres;PWD=postgres;CA=d;A6=;A7=100;A8=4096;B0=255;B1=8190;BI=0;C2=dd_;;CX=1c20502bb;A1=7.4-1" |
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
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys' | |
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
--Tables | |
SELECT 'ALTER TABLE '|| schemaname || '.' || tablename ||' OWNER TO ccaprod;' | |
FROM pg_tables WHERE NOT schemaname IN ('pg_catalog', 'information_schema') | |
ORDER BY schemaname, tablename; | |
--Sequences | |
SELECT 'ALTER SEQUENCE '|| sequence_schema || '.' || sequence_name ||' OWNER TO ccaprod;' | |
FROM information_schema.sequences WHERE NOT sequence_schema IN ('pg_catalog', 'information_schema') | |
ORDER BY sequence_schema, sequence_name; | |
--Views | |
SELECT 'ALTER VIEW '|| table_schema || '.' || table_name ||' OWNER TO ccaprod;' |