- currently part of the O'Reilly user group programme.
- have hosted events such as our own version of the CharityHack, where we built a project to track module deadlines, and donate money to charity if we missed our own deadlines.
- want to host similar events, here in Plymouth
- in the past we have gone on trips to for talks in London, such as the Open Rights Group talk by Bruce Schneier, or BarCamps.
This file contains 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
public string Import() | |
{ | |
/* | |
* This is an example of how to import the MealDeliveries.txt file provided with SOFT130 | |
* | |
* It loads the text file into an SQLite Database | |
* | |
*/ | |
// define variables we'll use |
This file contains 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
// 6.1 calculateHeuristic2 function for Open^Computer - Open^Player | |
function calculateHeuristic2(possiblerow, possiblecolumn):void { | |
// heurist function 2 = OpenX - OpenO | |
// the computer (player X) looks for the max value | |
// extra check for choices with 2 Os | |
// when 2 Os are found, chosen move will stop it | |
// results saved into optimalmove[] | |
var row:int, column:int; | |
var you:int, computer:int; |
This file contains 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
class MyClass: | |
def f(self): | |
print 'hello world' | |
x = MyClass() | |
x.f() |
This file contains 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
A Quick Introduction to Linux & A Few TermiSoc Specifics | |
- [ ] Philosophies | |
- [ ] Open Source | |
- [ ] Distributions | |
- [ ] But first, login (SSH) | |
You can connect to the server using ssh. Or "secure shell". | |
If you've ever heard of telnet, it's like that, but doesn't | |
send everything in plain text. | |
If you're already using Linux or a Mac, you already have ssh |
This file contains 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
21:30 <termibot> Traceback (most recent call last): | |
21:30 <termibot> File "./plugins/url_filter", line 113, in <module> | |
21:30 <termibot> print(channel + " " + lookup(url, nick)) | |
21:30 <termibot> File "./plugins/url_filter", line 106, in lookup | |
21:30 <termibot> return "[ %s -- %s ]" % (short, gettitle(url)) | |
21:31 <termibot> File "./plugins/url_filter", line 79, in gettitle | |
21:31 <termibot> parser.feed(data.read().decode(charset)) | |
21:31 <termibot> File "/usr/local/lib/python3.2/html/parser.py", line 133, in feed | |
21:31 <termibot> self.goahead(0) | |
21:31 <termibot> File "/usr/local/lib/python3.2/html/parser.py", line 181, in goahead |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include "mt64.h" | |
int n,i; //Define n and i as integers | |
double *array; //Dynamic array as a double | |
FILE *myfile; | |
int main() | |
{ |
This file contains 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
#!/bin/ruby | |
# | |
# Parses a given CSV file, and writes it back out. | |
# The CSV library handles types nicer. | |
# | |
# Author: Nick Charlton | |
# Date: 6/1/12 | |
# License: MIT | |
# |
This file contains 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
# accept arguments | |
on open these_items | |
# loop through them | |
repeat with i from 1 to the count of these_items | |
set this_item to (item i of these_items) | |
# parse the input, to ensure it'll open okay in the terminal | |
set posix_path to POSIX path of this_item | |
set safe_path to quoted form of posix_path | |
# open up iTerm |
This file contains 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
# | |
# Less to CSS converter for Jekyll. | |
# In your less file, add two lines of --- at the top. | |
# | |
module Jekyll | |
class LessConverter < Converter | |
safe true | |
priority :high | |
def setup |