Skip to content

Instantly share code, notes, and snippets.

A positive attitude, often paired with the feeling that everything is going to work out.
Concentrated on everything at hand.
Excitement towards work, chores, and other tasks.
Feelings of only beginning.
An interest in social activities and being with others.
Healthy habits like exercise diet and regular sleep
Feeling of accomplishment after every day
Never neglecting your own needs
Personal values and beliefs never lose importance
A positive attitude, often paired with the feeling that everything is going to work out.
Concentrated on everything at hand.
Excitement towards work, chores, and other tasks.
Feelings of only beginning.
An interest in social activities and being with others.
Healthy habits like exercise diet and regular sleep
Feeling of accomplishment after every day
Never neglecting your own needs
Personal values and beliefs never lose importance
A positive attitude, often paired with the feeling that everything is going to work out.
Concentrated on everything at hand.
Excitement towards work, chores, and other tasks.
Feelings of only beginning.
An interest in social activities and being with others.
Healthy habits like exercise diet and regular sleep
Feeling of accomplishment after every day
Never neglecting your own needs
Personal values and beliefs never lose importance
A positive attitude, often paired with the feeling that everything is going to work out.
Concentrated on everything at hand.
Excitement towards work, chores, and other tasks.
Feelings of only beginning.
An interest in social activities and being with others.
Healthy habits like exercise diet and regular sleep
Feeling of accomplishment after every day
Never neglecting your own needs
Personal values and beliefs never lose importance
A positive attitude, often paired with the feeling that everything is going to work out.
Concentrated on everything at hand.
Excitement towards work, chores, and other tasks.
Feelings of only beginning.
An interest in social activities and being with others.
Healthy habits like exercise diet and regular sleep
Feeling of accomplishment after every day
Never neglecting your own needs
Personal values and beliefs never lose importance
A positive attitude, often paired with the feeling that everything is going to work out.
Concentrated on everything at hand.
Excitement towards work, chores, and other tasks.
Feelings of only beginning.
An interest in social activities and being with others.
Healthy habits like exercise diet and regular sleep
Feeling of accomplishment after every day
Never neglecting your own needs
Personal values and beliefs never lose importance
A positive attitude, often paired with the feeling that everything is going to work out.
Concentrated on everything at hand.
Excitement towards work, chores, and other tasks.
Feelings of only beginning.
An interest in social activities and being with others.
Healthy habits like exercise diet and regular sleep
Feeling of accomplishment after every day
Never neglecting your own needs
Personal values and beliefs never lose importance
describe "Accuracy of Model" do
it "has an accuracy of at least 5%" do
assert error < 0.05
end
end
(define (runif) (- (* 2 (random)) 1))
(define (rnormish) (+ (runif) (runif) (runif) (runif)))
(define xs0 (build-list 100 (λ _ (rnormish))))
(define ys0 (build-list 100 (λ _ (rnormish))))
(define mags (map (λ (x y) (sqrt (+ (sqr x) (sqr y))))
xs0 ys0))
(define xs (map / xs0 mags))
@hexgnu
hexgnu / gist:7f02a9f6e2a2b13b0f28
Last active August 29, 2015 14:04
memcached-cli
#!/usr/bin/env ruby
require 'dalli'
require 'irb'
ARGV.clear
dc = Dalli::Client.new('localhost:11211')
dc.public_methods(false).each do |meth|
define_method meth do |*args, &block|
dc.public_send(meth, *args, &block)
end