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
cslug@poppycock:~$ mysql -u root -p | |
Enter password: | |
Welcome to the MySQL monitor. Commands end with ; or \g. | |
Your MySQL connection id is 37 | |
Server version: 5.1.49-3 (Debian) | |
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. | |
This software comes with ABSOLUTELY NO WARRANTY. This is free software, | |
and you are welcome to modify and redistribute it under the GPL v2 license |
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
#!/usr/bin/python | |
# ============================================================================= | |
# | |
# Poole - A damn simple static website generator. | |
# Copyright (C) 2009 Oben Sonne <[email protected]> | |
# | |
# This file is part of Poole. | |
# | |
# Poole is free software: you can redistribute it and/or modify |
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
def fib(x) | |
a,b = 0,1 | |
x.times do | |
b,a=a,b+a | |
puts b | |
end | |
end |
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
I plan on using my free student micro plan for various student projects. I'm currently a Junior of Computer Science attending California State University, Chico. My current school project involves AI algorithm research and studying using Panda3D to visualize different locomotive behavior patterns. |
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 <sstream> | |
#include <string> | |
stringstream ss; | |
string tobeconverted; | |
int converted; | |
ss << tobeconverted; | |
ss >> converted; |
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
config/database.yml | |
config/*.sphinx.conf | |
config/s3_credentials.yml | |
*~ | |
*.cache | |
*.log | |
*.pid | |
tmp/**/* | |
.DS_Store | |
db/cstore/** |
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 Settings | |
@conf_file = "My_Settings_String" | |
class << self | |
attr_accessor :conf_file | |
end | |
end |
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
def man(V,B,c): #Z, C, iter | |
if abs(V)>=6: #Escape bound. 6 instead of 4 to give smoother fade | |
return (2+c-4*abs(V)**-0.4)/255 #(0..1] | |
elif c: | |
return man(V*V+B,B, c-1) #Reiterate Z=Z*Z+C | |
else: | |
return 0 #In set | |
v=1500 #width | |
x=1000 #height | |
from struct import pack |
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
# An example configuration file for MPD | |
# See the mpd.conf man page for a more detailed description of each parameter. | |
# Files and directories ####################################################### | |
# | |
# This setting controls the top directory which MPD will search to discover the | |
# available audio files and add them to the daemon's online database. This | |
# setting defaults to the XDG directory, otherwise the music directory will be | |
# be disabled and audio files will only be accepted over ipc socket (using |
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
Feature: Manage Blog Posts | |
In order to make a blog | |
I want to create and manage articles | |
Scenario: Posts List | |
Given I have posts titled Foo, Bar | |
When I visit posts | |
Then I should see Foo, Bar | |
Scenario: Create a Post |
OlderNewer