- Pack some chairs up - we're gonna need some floor space!
- Physically move everything in the broomcupboard into the rest of the room
- Rename /southampton/broomcupboard to /southampton/floor
- (Things that are unwieldy can be left in there, so long as we are sure that the inventory exactly matches real life at the end of this step)
- Move small loose items into RUBs, and move things between RUBs if necessary
- Re-inventorise each RUB / other container
- Update the inventory as this is done
- Determine an optimal packing strategy for the cupboard (could discuss this while eating?)
- Try to keep things used that are used regularly on the left-hand side of the cupboard
- Try to put heavy, less regularly used stuff (read: old kits) at the bottom of the stacks
This file contains hidden or 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
# define and initialise a set | |
var states: set[char] = {} | |
# iterate over each character of each string in 'chains' | |
for s in chains: | |
for c in s: | |
states.incl(c) # add character to the set |
This file contains hidden or 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
type | |
MyObject = object | |
case kind: int # This defines a new field called 'kind' of type 'int'. Additionally, the value of this field determines what other fields are present in the object. | |
of 1: | |
field1: Type1 | |
of 2: | |
field2: Type2 | |
of 3, 4: | |
field3: Type3 | |
field4: Type4 |
This file contains hidden or 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
NORTH WALL | |
---- Team #1 ---- Team #2 ----- | |
| | | |
| (T) (T) (T) | | |
| | | |
| (T) (T) (T) | | |
Receptacle(W) | | Receptacle(E) | |
| (T) (T) (T) | | |
| | | |
| | |
This file contains hidden or 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
// All possible types of packet. Packet types are 8-bit integers. | |
typedef enum { | |
// Packet type 0x00 is reserved in case we need some form of "null packet"/"absence of a packet" | |
// Move the cursor position to new coordinates. | |
// Payload is two 16-bit integers, which are the x and y coordinates to move to. | |
PACKET_TYPE_MOVE_TO = 0x01; | |
// Draw a line from the cursor position to the given coordinates, then update | |
// the cursor position to these new coordinates. |
This file contains hidden or 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
[vagrant@sr-vm ~]$ systemctl status gerrit.service | |
● gerrit.service - LSB: Start/stop Gerrit Code Review | |
Loaded: loaded (/etc/rc.d/init.d/gerrit) | |
Active: failed (Result: exit-code) since Thu 2016-02-18 01:06:33 UTC; 14min ago | |
Docs: man:systemd-sysv-generator(8) | |
Process: 18588 ExecStart=/etc/rc.d/init.d/gerrit start (code=exited, status=1/FAILURE) | |
[vagrant@sr-vm ~]$ sudo journalctl -x --no-pager | |
... snip ... | |
Feb 18 01:06:58 sr-vm audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' | |
Feb 18 01:06:58 sr-vm audit[1]: <audit-1131> pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' |
This file contains hidden or 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
... snip ... | |
==> default: Error: Could not set 'directory' on ensure: Could not find user fritter at 55:/tmp/vagrant-puppet/modules-990ca820a2fa81304dc996d48d788636/sr_site/manifests/fritter.pp | |
==> default: Error: Could not set 'directory' on ensure: Could not find user fritter at 55:/tmp/vagrant-puppet/modules-990ca820a2fa81304dc996d48d788636/sr_site/manifests/fritter.pp | |
==> default: Wrapped exception: | |
==> default: Could not find user fritter | |
==> default: Error: /Stage[main]/Sr_site::Fritter/File[/home/fritter]/ensure: change from absent to directory failed: Could not set 'directory' on ensure: Could not find user fritter at 55:/tmp/vagrant-puppet/modules-990ca820a2fa81304dc996d48d788636/sr_site/manifests/fritter.pp | |
==> default: Notice: /Stage[main]/Sr_site::Fritter/Vcsrepo[/home/fritter/fritter]: Dependency File[/home/fritter] has failures: true | |
==> default: Warning: /Stage[main]/Sr_site::Fritter/Vcsrepo[/home/fritter/fritter]: Skipping because of failed dependencies | |
==> default: Notice: /Stage[main]/Sr_si |
This file contains hidden or 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
kier@maigre:~/srobo/git/server/puppet [master] $ vagrant up --provision | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'box-cutter/fedora22'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'box-cutter/fedora22' is up to date... | |
==> default: A newer version of the box 'box-cutter/fedora22' is available! You currently | |
==> default: have version '2.0.2'. The latest is version '3.0.3'. Run | |
==> default: `vagrant box update` to update. | |
==> default: Setting the name of the VM: puppet_default_1455756380334_19504 | |
==> default: Clearing any previously set network interfaces... |
This file contains hidden or 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
Funding Application | |
Pot: Capital | |
Title of Application | |
Systems for eSports Society - Project | |
What do you need and why? | |
The core of the eSports society is to encourage and facilitate the growth of electronic sports within the university. This constitutes around developing a welcoming environment that allows new and experienced players to participate in both social and competitive activities. In order to achieve this goal, the society requires systems capable of running software at a satisfactory level, in particular; League of Legends, Counter Strike Global Offensive, Hearthstone, Defense of the Ancients 2, Open Broadcasting Software, Video Editing, etc. | |
We have sought these systems through alternative channels, but have been unable to, due to our requirement of fitting a discrete graphics processing unit. We were, however, able to obtain monitors, mice, keyboards, Ethernet cables and other essential peripherals. Using the expertise of the committee members, whom have built systems of this calibre and above in |
This file contains hidden or 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
import random | |
text = """Paste input text here""" | |
voters = [] | |
for line in text.split(): | |
voters.append(map(int, line)) | |
gerry = [[0]*100 for i in range(100)] |