Skip to content

Instantly share code, notes, and snippets.

View clonedagain's full-sized avatar

Lionel Sausin clonedagain

View GitHub Profile
@clonedagain
clonedagain / archive.diff
Created March 20, 2017 10:15
Diff between archive.ubuntu.com and fr.archive.ubuntu.com
--- archive-us 2017-03-20 10:36:06.066488027 +0100
+++ archive-fr 2017-03-20 10:36:34.834579624 +0100
@@ -813,17 +813,17 @@
Package: cloud-init
Priority: extra
Section: admin
-Installed-Size: 1417
+Installed-Size: 1366
Maintainer: Scott Moser <[email protected]>
#! /bin/bash
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get install boinc-client boinctui virtualbox -y
sudo service boinc-client restart
sleep 60
boinccmd --join_acct_mgr http://bam.boincstats.com 155791_83b32536d236bf6be6c5a6aa75879622 dummy_pwd
boinccmd --set_run_mode always
boinccmd --set_network_mode always
@clonedagain
clonedagain / boinc-azure.txt
Last active May 15, 2020 14:30
BOINC on Azure
sudo apt-get install nodejs-legacy ansible
# Download azure CLI
./azure login
./azure config mode asm
# A0 instances seem cheaper per credit
for i in seq $(seq 1 20)
do ./azure vm create -v -l 'East US' -z Basic_A0 -e 22 -t ~/.ssh/id_dsa.pem clonedagain-a0-$i b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-15_10-amd64-server-20151116.1-en-us-30GB io 'password-here'
#!/usr/bin/env ansible-playbook
# Set up the Odoo/OpenERP servers
---
- name: Set up alpha-erp
remote_user: root
hosts: alpha-erp
roles:
# Most of the configuration is taken from https://github.com/osiell/ansible-odoo
- odoo
# Extra role to forward port 80 to 8069