Skip to content

Instantly share code, notes, and snippets.

View erral's full-sized avatar

Mikel Larreategi erral

View GitHub Profile
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser">
<browser:page
for="*"
name="copy-content-to"
class=".copier.CopyContentToLanguage"
permission="cmf.ManagePortal"
/>
@erral
erral / plone_patch_20161129.yml
Last active November 28, 2016 15:59
Ansible playbook to install Plone patch tomorrow. It makes several assumptions, such as: 1. Your buildout is named plone.buildout and it is hosted on 'plone' user's $HOME/plone.buildout 2. The tar file PloneHotfix20161129.tgz exists on the same path as this playbook and can be untarred to a ${buildout:directory}/products folder as an 'old-style-…
---
# README:
# This playbook uploads a tarball to the $HOME/plone.buildout/products directory
# of each server and restarts the Supervisor process
#
# This playbook can be used to install Plone Hotfixes.
#
# The playbook searches for folders with names starting with 'plone.buildout'
# at the home folder. It uploads the tarfile stated in the vars that must
# be prepared beforehand, and then reloads the supervisor
@erral
erral / publish an atom package
Last active March 24, 2016 16:45
Publish an atom package
Commit your changes.
Inspect your package.json file to check your current version number, and decide (if your package.json shows version 2.1.0):
- Register your package on atom.io
> apm login
1- You want to make a patch version release
### Keybase proof
I hereby claim:
* I am erral on github.
* I am erral (https://keybase.io/erral) on keybase.
* I have a public key whose fingerprint is 32FE 5C37 FB57 2AC2 5BD8 8C8F 70CB 6CC9 3F6E F7A3
To claim this, I am signing this object:
@erral
erral / gist:3083720
Last active September 14, 2023 12:52
python eta garapen ingurunearen prestaketa

Hauexek dira gure garapen ingurunea instalatzeko behar ditugunak (Ubuntu 23.04 bertsioan probatuta):

SSH

Exekutatu komando hauek:

sudo apt-get install openssh-client openssh-server
ssh-keygen