~myCanon
.canon //we extract the canon from the data structure that is returned
.collect(~instrument.([\dist,\dist,\dist3], amp: 1, repeat: 1)) // we pass each voice into our ~instrument. At this point ~instrument is returning a MakePbind
, because it has been partially applied with ([Symbol], Amp, Repeat)
. This line will return: [Pbind, Pbind, Pbind, Pbind]
.do({|pbind| pbind.play});// finally we play each voice
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
( | |
p = ProxySpace.push(s); | |
p[\unProxy] = { WhiteNoise.ar * 0.1 }; | |
Tdef(\secuencia, { | |
inf.do {|i| |
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
Ejercicio js | |
- Explicar Qué es AJAX -> cargado dinamico | |
- menu scrollspy autoscroll | |
- Calculadora: Closure | |
calc = (func(){ | |
// privada |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
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
[ | |
{ | |
"title": "Elit et sint eu velit laboris ut culpa irure.", | |
"image": "http://unsplash.it/400/300?random=0", | |
"excerpt": "Aliqua irure est magna in do aliquip aliqua. Labore aliqua adipisicing labore ea mollit incididunt nostrud eiusmod incididunt Lorem incididunt consequat. Mollit cupidatat irure culpa adipisicing sunt aute excepteur quis pariatur irure. Ad deserunt dolor fugiat excepteur pariatur anim tempor officia dolor sint eu irure cupidatat. Sit et proident cupidatat mollit consequat reprehenderit commodo exercitation velit. Aliqua occaecat proident excepteur anim id irure labore eiusmod nostrud sint." | |
}, | |
{ | |
"title": "Officia sint mollit tempor ea enim quis dolore velit id.", | |
"image": "http://unsplash.it/400/300?random=1", | |
"excerpt": "Excepteur nulla aliquip sint est laborum commodo duis qui qui sunt. Qui proident minim non sunt. Sint tempor eiusmod occaecat elit cupidatat ad anim consectetur Lorem ad sint dolor dolor ea. Exercitation et aute n |
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
var fetchHeaders = new Headers(); | |
fetchHeaders.append('pragma', 'no-cache'); | |
fetchHeaders.append('cache-control', 'no-cache'); | |
var fetchInit = { | |
method: 'GET', | |
headers: fetchHeaders, | |
}; | |
fetch('maquetas/article.html', fetchInit) |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>LocalStorage</title> | |
<style> | |
.tasks ul { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Ejemplo History</title> | |
<link rel="stylesheet" href="css/styles.css"> | |
</head> |
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 {Pipe, PipeTransform, NgZone, ChangeDetectorRef, OnDestroy} from "@angular/core"; | |
@Pipe({ | |
name:'dateText', | |
pure:false | |
}) | |
export class DateTextPipe implements PipeTransform, OnDestroy { | |
private timer: number; | |
constructor(private changeDetectorRef: ChangeDetectorRef, private ngZone: NgZone) {} | |
transform(value:string) { | |
this.removeTimer(); |
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
.event { | |
border: 1px solid black; | |
background-color: #eee; | |
} | |
.events-list { | |
display: flex; | |
} |