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
Me: | |
Why are they burning the Böögg? | |
AI: | |
The burning of the Böögg is a traditional part of the annual Swiss carnival known as Fasnacht or Fastnacht. It takes place in the city of Zürich and other parts of Switzerland, and is a way of marking the end of winter and the arrival of spring. | |
The Böögg is a straw effigy that is filled with fireworks and placed on top of a bonfire. The burning of the Böögg is accompanied by music, dancing, and other festivities. The tradition is thought to have roots in ancient pagan celebrations of the changing of the seasons. | |
The burning of the Böögg is meant to be a fun and lighthearted event, and is not intended to be taken seriously. It is a way for people to come together and celebrate the end of winter and the start of a new season. |
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
Me: | |
Please write french that is nonsense in french but means something when heard by an english speaker. | |
Bot: | |
Il y a un chat dans la sac à main de ma tante. | |
This phrase is nonsensical in French, as it literally translates to "There is a cat in my aunt's handbag." However, when spoken with an English accent, it could potentially sound like "There is a hat in the son of my aunt," which makes more sense in English. It is important to note that this is not a proper translation and does not convey a coherent message in either language. |
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
Please write french that is nonsense in french but means something when heard by an english speaker. | |
Il y a un chat dans la sac à main de ma tante. | |
This phrase is nonsensical in French, as it literally translates to "There is a cat in my aunt's handbag." However, when spoken with an English accent, it could potentially sound like "There is a hat in the son of my aunt," which makes more sense in English. It is important to note that this is not a proper translation and does not convey a coherent message in either language. |
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
Device | kWh/year | CO2 peak hour use | CO2 low/use | Sources | |
---|---|---|---|---|---|
Electric Tumble Drier | 556kWh | 167kg | 83kg | [1] | |
Gas Tumble Drier | 15kWh | 122kg | 119kg | [2] | |
Dishwasher | 1 | 1 | 1 | ||
Tesla Model 3 50 | 1 | 1 | 1 | 50 miles/day [4] | |
Chevy Bolt | 1 | 1 | 1 | ||
Chevy Volt | 1 | 1 | 1 | ||
Toyota Plug in Prius | 1 | 1 | 1 | ||
Toyota Tundra Pickup | 1 | 1 | 1 | ||
VW Bug | 1 | 1 | 1 | 1 |
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
# ~/.config/pianobar/config | |
user = [email protected] | |
password = very_secret | |
event_command = /Users/username/.config/pianobar/tabname.sh | |
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
require 'rubygems' | |
require 'json' | |
gem 'beeminder', "0.2.2" | |
require 'beeminder' | |
require 'open-uri' | |
require 'uri' | |
require 'ruby-debug' | |
# Pulls data from Rescuetime and sends it to Beeminder. | |
# Maybe run it in an hourly cron job. | |
# Enter your keys and tokens below. |
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
require 'rubygems' | |
gem "beeminder", "= 0.2.2" | |
require 'fitgem' | |
require 'json' | |
require 'beeminder' | |
consumer_key = 'FITBIT_KEY' | |
consumer_secret = 'FITBIT_SECRET' | |
token = 'FITBIT_TOKEN' | |
secret = '' |
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
#!/opt/local/bin/ruby | |
require "ruby-debug" | |
filename = 'ex_dataset.csv' | |
file = File.new(filename, 'r') | |
line_count = -1 | |
col_headers = {} | |
results = Hash.new(0) | |
file.each_line do |row| | |
line_count = line_count + 1 |
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
# Gnu R code to generate histogram for lab | |
length_of_pinky = c(6,5.5,5.5,6.5,5.5, 5,5.5,6.5,5.5,6, 5.5,6,5.5,5,6, 5,6.5,6,5.5,5, 5.5,7.5,6,5.5,5.5, 6,5.5,6,6.5,7) | |
hist(length_of_pinky, seq(4.75, 7.75, 0.5), prob=TRUE, main="Histogram of students pinky length [cm]", xlab="Length of pinky [cm]") | |
lines(density(length_of_pinky, bw=0.25), col="blue") | |
curve(dnorm(x,mean=mean(length_of_pinky), sd=sd(length_of_pinky)), add=TRUE, col="green") |
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
RSpec.configure do |config| | |
config.mock_with :mocha | |
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures | |
# config.fixture_path = "#{::Rails.root}/spec/fixtures" | |
# If you're not using ActiveRecord, or you'd prefer not to run each of your | |
# examples within a transaction, remove the following line or assign false | |
# instead of true. | |
# use_transactional_fixtures config option was removed by Mongoid |
NewerOlder