This is a test to:
- See if this works
- this means http://gist.io
public int SumOfSquares() | |
{ | |
int sum=0; | |
for(int i=1; i<=100; i++) | |
sum += i; | |
return sum; | |
} |
This is a test to:
module PresenceValidator | |
attr_reader :errors | |
def self.included(base) | |
base.extend(ClassMethods) | |
end | |
private | |
def validate | |
@errors = [] | |
options = self.class.options |
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rbenv' # for rbenv support. (http://rbenv.org) | |
# require 'mina/rvm' # for rvm support. (http://rvm.io) | |
# Basic settings: | |
# domain - The hostname to SSH to. | |
# deploy_to - Path to deploy into. | |
# repository - Git repo to clone from. (needed by mina/git) |
require 'dbus' | |
require 'uri' | |
require 'shellwords' | |
bus = DBus::SessionBus.instance | |
service = bus.service('org.gnome.Rhythmbox3') | |
object = service.object("/org/mpris/MediaPlayer2") | |
object.introspect | |
interface = object['org.mpris.MediaPlayer2.Player'] | |
metadata = interface['Metadata'] |
Develop a timelogger. It should allow you to record time spent doing a task and give you a summary of all the tasks you did on a given day/week.
Here's how it will work, you say timelogger <taskname>
. <taskname>
is the task you just did. You should store the current timestamp and the <taskname>
. So, the time you spent on <taskname>
is the difference between times of <taskname>
and previous
task. You won't count the amount of time for the very first task.
E.g.
$ timelogger arrived
$ timelogger coffee
$ timelogger school_one
We decided to give you a small practice assignment about javascript event handlers. You need to create a very simple task manager:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:47) | |
Included patches: 1-52 | |
Modified by pkg-vim-maintainers@lists.alioth.debian.org | |
Compiled by buildd@ | |
Huge version with GTK2-GNOME GUI. Features included (+) or not (-): | |
+acl +farsi +mouse_netterm +syntax | |
+arabic +file_in_path +mouse_sgr +tag_binary | |
+autocmd +find_in_path -mouse_sysmouse +tag_old_static | |
+balloon_eval +float +mouse_urxvt -tag_any_white | |
+browse +folding +mouse_xterm +tcl |
I hereby claim:
To claim this, I am signing this object: