I hereby claim:
- I am aaguilera on github.
- I am aaguilera (https://keybase.io/aaguilera) on keybase.
- I have a public key ASD2_Tjsabplz-7fqxYm6ab04jpaq45Or9LNEvF9G0p0pQo
To claim this, I am signing this object:
Found here: https://www.documentsnap.com/reduce-pdf-file-size-ghostscript/ | |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf |
#!/bin/bash | |
# Uncomment the following line to debug the script: | |
#set -x | |
##################################################################################### | |
# fuckForticlient.sh | |
# | |
# Script to authenticate against Fortinet SAML servers using Firefox and | |
# openfortivpn. This replaces Forticlient for GNU/Linux completely. | |
# Because openfortivpn does not support SAML login (yet), this script uses Firefox | |
# to authenticate, grabs SVPNCOOKIE and then calls openfortivpn to setup |
pandoc document.md -o document.pdf \ | |
-V geometry:"top=2cm, bottom=1.5cm, left=2.5cm, right=1.5cm" \ # output PDF margins | |
--highlight-style=tango # syntax highlight theme |
# | |
# Adaptat d'una versió per a MacOS: https://gist.github.com/jhanschoo/bcd6d08d1e0f4b5d52735287f39ca924 | |
# | |
# És de suposar que funcionaria amb tots els fulls de càlcul que suporti LibreOffice, no només amb XLS | |
libreoffice --headless --convert-to "csv:Text - txt - csv (StarCalc):44,34,76,1,1/1:" fitxer.xls |
body { | |
color: #333; | |
font: normal 16px/1.3 Arial, sans-serif; | |
max-width: 6.5in; | |
margin: 0 auto; | |
} | |
a:link, a:visited { | |
color: #1B70D1; | |
text-decoration: none; |
-- | |
-- Sort using catalan rules | |
-- | |
SELECT * | |
FROM software | |
ORDER BY NLSSORT(nom, 'NLS_SORT=catalan'); |
BEGIN MESSAGE. | |
w09MrUtY2L8Kcr8 fLFwQWTbufoW7DN hsJyyrqaGwITOHd 7GwlW4g8MgUWAzd | |
eJzEHwWRvvEc93f OP5aGFqZVY3TCKq 6Xr2MZHgg4efucb vl17KCkvKbCeFIz | |
F0hskKpwVBuI4tC FYfkBfLe8uYYQ0M DcsyJqmGSN7lmNN 526coiMRNQgSEEc | |
XTq5m4rJWF81g1u L12CkaW0J9DqGkD zM9Hc29HFxl. | |
END MESSAGE. |
I hereby claim:
To claim this, I am signing this object:
-- | |
-- Convert string into a suitable CSV field as expected by | |
-- Microsoft Excel. | |
-- See http://stackoverflow.com/a/21749399/1314986. | |
-- | |
FUNCTION field(str IN VARCHAR2) RETURN VARCHAR2 IS | |
C_NEWLINE CONSTANT CHAR(1) := ' | |
'; -- newline is intentional | |
v_aux VARCHAR2(32000); |