This plot shows NO2 levels over the day in Munich in June and December 2016.
München-Landshuter-Allee on the left has about the highest NO2 levels
in all Germany,
and a lot of traffic — 120,000 to 150,000 cars and light trucks per day.
Surprise: high traffic => high NO2.
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
package main | |
import ( | |
"fmt" | |
"image" | |
"os" | |
_ "image/jpeg" | |
_ "image/png" | |
) |
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
import ( | |
"crypto/md5" | |
"encoding/hex" | |
) | |
func GetMD5Hash(text string) string { | |
hasher := md5.New() | |
hasher.Write([]byte(text)) | |
return hex.EncodeToString(hasher.Sum(nil)) | |
} |
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
package main | |
import "fmt" | |
func main() { | |
i := 1 | |
for i <= 100 { | |
if (i % 3 == 0 && i % 5 == 0) { | |
fmt.Println("Fizzbuzz") | |
} else if (i % 3 == 0) { |
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
source 'https://rubygems.org' | |
ruby '2.0.0' | |
gem 'rails', '4.0.0' | |
gem 'sass-rails', '~> 4.0.0' | |
gem 'uglifier', '>= 1.3.0' | |
gem 'coffee-rails', '~> 4.0.0' | |
gem 'jquery-rails' | |
gem 'jbuilder', '~> 1.2' |
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
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
development: | |
adapter: postgresql | |
encoding: unicode | |
host: localhost | |
database: smitecamp_db |
rails _3.2.13_ new smitecamp
bundle install
rails g scaffold champion name:string title:string hp:integer release_date:date
rake db:migrate
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
int cantidadTotalDePanes = 20; | |
int panesPorCliente = 3; | |
while (cantidadTotalDePanes > 0) { | |
if (cantidadTotalDePanes > panesPorCliente) { | |
Console.WriteLine("Entrego a cliente " + panesPorCliente + " panes."); | |
cantidadTotalDePanes -= panesPorCliente; | |
} else { | |
// Ya no tiene suficientes panes. | |
} |
Nombre de Plugin: dialogue
URL: https://moodle.org/plugins/view.php?plugin=mod_dialogue
Documentacion de Plugin Oficial: http://docs.moodle.org/dev/Dialogue_2.0_specificatino
===========================================================================================
#Base de Datos
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
Nombre de Plugin: **dialogue** | |
URL: [https://moodle.org/plugins/view.php?plugin=mod_dialogue](https://moodle.org/plugins/view.php?plugin=mod_dialogue) | |
Documentacion de Plugin Oficial: [http://docs.moodle.org/dev/Dialogue_2.0_specificatino](http://docs.moodle.org/dev/Dialogue_2.0_specificatino) | |
=========================================================================================== | |
#Base de Datos |
NewerOlder