Setting up RhodeCode on Ubuntu Server 12.04
Preparation
- Install Ubuntu Server.
- Update Ubuntu with the commands:
/* | |
* ExtJS Grid plugin that triggers CellEditing on F2 in addition to clicks and Enter | |
* | |
* License: GPL | |
* Author: Ivan Kurnosov | |
*/ | |
Ext.define('Ext.grid.plugin.CellEditingF2', { | |
alias: 'plugin.celleditingf2', | |
extend: 'Ext.grid.plugin.CellEditing', | |
requires: ['Ext.grid.plugin.CellEditing'], |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: skeleton | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
<!-- | |
Copyright 2004 ThoughtWorks, Inc | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
### Keybase proof | |
I hereby claim: | |
* I am zerkms on github. | |
* I am zerkms (https://keybase.io/zerkms) on keybase. | |
* I have a public key whose fingerprint is 5BE7 0772 7FBC 3C36 D140 0C6B A120 FC53 F90E AC2A | |
To claim this, I am signing this object: |
mkdir -p ~/src/
cd ~/src/
git clone https://github.com/zerkms/ipfrag
cd ipfrag
sudo apt install make virtualenv python-minimal
make
source ./venv/bin/activate
FROM php:7.2.19-cli | |
RUN set -eux; \ | |
apt update; \ | |
apt install --no-install-recommends unzip; \ | |
rm -rf /var/lib/apt/lists/*; \ | |
cd /usr/src; \ | |
curl -o sqlite.zip https://www.sqlite.org/2017/sqlite-preprocessed-3200100.zip; \ | |
unzip sqlite.zip; \ | |
rm sqlite.zip; \ |
<?php | |
/* | |
* This file is part of the webmozart/assert package. | |
* | |
* (c) Bernhard Schussek <bschussek@gmail.com> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
package bb | |
import ( | |
"strings" | |
"testing" | |
) | |
var str = `well they might wear classic reeboks | |
or knackered converse | |
or tracky bottoms tucked in socks |
Install using the full disk encryption: https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
Configure hibernation:
# vi /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/<swap-partition>
# vi /etc/default/grub