class A {
private:
int pri;
protected:
int pro;
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
def capitalizar(cadena): | |
return cadena[0].upper() + cadena[1:] |
Node puede servir de "glue" para diversos inputs y outputs:
- Robtótica: [nodebots]
- Audio
- [web-audio-analyser]: Analiza audio en tiempo real (por ejemplo, desde un micrófono)
- [lopp-drop-app]: MIDI looper, modular synth and sampler app
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
import csv | |
cuentas_twitter = [("@YouTube", 64341900, 17755), ("@KingJames", 33284155, 5096), ("@rushtheband", 224345100, 1329)] | |
with open('notas.csv', 'w') as arch_salida: | |
writer = csv.writer(arch_salida) | |
writer.writerow(['alias', 'seguidores', 'tweets']) | |
for cuenta in cuentas_twitter: | |
alias = cuenta[0] | |
seguidores = cuenta[1] | |
tweets = cuenta[2] |
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
struct PokemonTableViewConfiguration { | |
var items: [Pokemon] | |
var configuration: TableViewConfiguration<Pokemon, PokemonTableViewCell> { | |
return TableViewConfiguration<Pokemon, PokemonTableViewCell>(title: "Pokemons", items: items, style: .Plain, estimatedRowHeight: 160.0, cellSpacingStyle: .WithSpacing(size: 8), selectableRows: false) { (cell, item) -> Void in | |
cell.lblName = item.name | |
cell.lblHitPoints = item.hitPoints | |
let btnCatch = UIButton(frame: CGRectZero) | |
btnCatch.addTarget(nil, action: #selector(<something_here>), forControlEvents: .UITouchUpInside) | |
} | |
} |
NewerOlder