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
@provider(IFormFieldProvider) | |
class IRemoteLink(model.Schema): | |
"""Model based Dexterity Type""" | |
remoteUrl = schema.TextLine( | |
title=_(u'URL or email'), | |
description=_(u'The link is used almost verbatim, relative links ' |
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 apt-get install -y pdftk | |
sudo apt-get install -y graphicsmagick | |
sudo apt-get install -y poppler-utils | |
sudo apt-get install -y poppler-data | |
sudo apt-get install -y ghostscript | |
sudo apt-get install -y tesseract-ocr |
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
#!/bin/bash | |
rm dist/* | |
python setup.py sdist bdist_wheel | |
twine upload dist/* |
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
<style type="text/css"> | |
[class*="card"] { | |
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2); | |
transition: 0.3s; | |
margin-bottom: 20px; | |
} | |
[class*="card"]:hover { | |
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); | |
} |
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
['Professor', 'Teacher', 'Actor', 'Clergy', 'Musician', 'Philosopher', 'Visual Artist', 'Writer', 'Audiologist', 'Chiropractor', 'Dentist', 'Dietitian', 'Doctor', 'Medical Laboratory Scientist', 'Midwive', 'Nurse', 'Occupational therapist', 'Optometrist', 'Pathologist', 'Pharmacist', 'Physical therapist', 'Physician', 'Psychologist', 'Speech-language pathologist', 'Accountant', 'Actuarie', 'Agriculturist', 'Architect', 'Economist', 'Engineer', 'Interpreter', 'Attorney at law', 'Advocate', 'Solicitor', 'Librarian', 'Statistician', 'Surveyor', 'Urban planner', 'Human resource', 'Firefighter', 'Judge', 'Military officer', 'Police officer', 'Air traffic controller', 'Aircraft pilot', 'Sea captain', 'Scientist', 'Astronomer', 'Biologist', 'Botanist', 'Ecologist', 'Geneticist', 'Immunologist', 'Pharmacologist', 'Virologist', 'Zoologist', 'Chemist', 'Geologist', 'Meteorologist', 'Oceanographer', 'Physicist', 'Programmer', 'Web developer', 'Designer', 'Graphic designer', 'Web designer', 'Software Developer', 'Entrepr |
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 add-apt-repository ppa:ondrej/php -y | |
sudo apt-get update -y | |
sudo apt-get install php7.0 -y | |
sudo apt-get install php7.0-mysql -y | |
sudo apt-get install php7.0-curl -y | |
sudo apt-get install php7.0-mbstring -y | |
sudo apt-get install php7.0-dom -y |
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
*** Settings *** | |
Documentation A resource file with reusable keywords and variables. | |
... | |
... The system specific keywords created here form our own | |
... domain specific language. They utilize keywords provided | |
... by the imported Selenium2Library. | |
Library Selenium2Library | |
*** Variables *** | |
${BROWSER} phantomjs |
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
#!/bin/bash | |
BASE=$PWD | |
# from https://chromium.woolyss.com/ | |
# and https://gist.github.com/addyosmani/5336747 | |
# and https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md | |
sudo apt-get update | |
sudo apt-get install -y libappindicator1 fonts-liberation | |
cd dumps | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo apt-get -y install dbus-x11 xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic xfonts-scalable |
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
upstream plone { | |
server 127.0.0.1:12030; | |
server 127.0.0.1:12031; | |
} | |
server { | |
server_name <<<Site>>>; | |
access_log /var/log/nginx/<<<Site>>>.access.log; | |
error_log /var/log/nginx/<<<Site>>>.error.log; | |
set $vh_protocol "https"; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rules | |
xmlns="http://namespaces.plone.org/diazo" | |
xmlns:css="http://namespaces.plone.org/diazo/css" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" | |
xmlns:xi="http://www.w3.org/2001/XInclude"> | |
<!-- Transform Mosaic Grid to Bootstrap Grid --> | |
<rules css:content="body.mosaic-grid.template-layout"> | |
<replace css:content=".mosaic-grid-row"> |