This file contains hidden or 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 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 |
This file contains hidden or 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 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 |
This file contains hidden or 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 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 |
This file contains hidden or 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 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 |
This file contains hidden or 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 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 |
This file contains hidden or 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 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 |
This file contains hidden or 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 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 |
This file contains hidden or 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
describe "Accuracy of Model" do | |
it "has an accuracy of at least 5%" do | |
assert error < 0.05 | |
end | |
end |
This file contains hidden or 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
(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)) |
This file contains hidden or 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/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 |