Skip to content

Instantly share code, notes, and snippets.

View rxbynerd's full-sized avatar

@rubynerd rxbynerd

View GitHub Profile

12 Jan 2012

Answers

  1. "Standing data"
  2. "the rest of the data"
  3. a) Depends on the size of the bakery, if it's Hovis they should probably be careful, but if it's a corner bakery (a la boutique-city-style), they should probably jump to computerized b) Pilot, don't stick all your hens in one basket c) Direct, computerize the records overnight d) Direct, don't try to fragment two halves of the hospital with different records, although staggering the rollover times may ease system load. Make sure the application can be executed in a virtual machine, and can be configured to sit behind a reverse proxy/load balancer, then it is possible to dynamically scale the system by adding more boxes e) Direct, transition in the summer holidays before new timetables are issued, and early in the summer holidays to allow the system to fail f) Depends on the production state of the factory: if its 277365, do a phased conversion to prevent having everyone from having to down tools. If the factory is shut d
@rxbynerd
rxbynerd / gist:1493517
Created December 18, 2011 14:11
Insert in WorldGenDungeons.java after "world.setBlockWithNotify(i, j, k, Block.mobSpawner.blockID);"
for (int iFuckingHateJava = j + 1; iFuckingHateJava < 128; iFuckingHateJava++) {
world.setBlockWithNotify(i, iFuckingHateJava, k, Block.glass.blockID);
}
@rxbynerd
rxbynerd / _gradients.css.scss
Created November 8, 2011 23:41 — forked from thbar/_gradients.css.scss
SCSS mixing for CSS3 gradients
@mixin gradient($from, $to) {
/* fallback/image non-cover color */
background-color: $from;
/* Firefox 3.6+ */
background-image: -moz-linear-gradient($from, $to);
/* Safari 4+, Chrome 1+ */
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from($from), to($to));
class Feelings
def bad
@bad
end
def bad=(bad)
@bad = bad
end
end
class Problems
@rxbynerd
rxbynerd / twenty.markdown
Created October 23, 2011 22:30
Twenty Reasons

Twenty Reasons why I should buy an iPhone 4S

  1. Reminders provide an easy way to quickly note down one-off tasks
  2. The calendar provides me with a a way to keep up with my mess of a timetable
  3. The calender is flexible enough to allow for throwing the entire thing in the toilet if I want to
  4. Having emails in my pocket means I don't take breaks out of my day to go and check them
  5. It provides me with a way to keep a track of physiotherapy appointments
  6. It provides me with a way to keep up with ortho appointments, and allows me to control them
  7. It gives me a fast way to liaise with parents as to meetings
  8. It can link into my college email system, meaning asking a teacher what I missed is not such a struggle
namespace :db do
desc "do active_record migrations"
task :migrate do
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Migration.verbose = true
ActiveRecord::Migrator.migrate("migrations")
end
end

This is a heading

This is a smaller heading

This is an even smaller heading

This is some normal text.

this is some empathized text

http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main (int argc, char* argv[]) {
if (argc < 2) {
printf("Needs an argument\n");
exit(1);
}

sections

  • statement of the problem
  • prospective users
  • interview/questions
  • Existing system
  • Problems with the existing system
  • Requirements for the new system
  • Example documents
  • DFD