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> | |
| <head> | |
| <title>Ejercicio</title> | |
| </head> | |
| <body> | |
| <div> | |
| <h1>Capitan</h1> | |
| </div> |
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> | |
| <title>Introduction to Sass</title> | |
| <link href="assets/css/main.css" rel="stylesheet" type="text/css" /> | |
| </head> | |
| <body> | |
| <div id="container"> | |
| <header> | |
| <h1>Sass Sample Document</h1> |
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
| /* | |
| Aqui creamos nuestra propia funcion, que divide '100%' entre 'n' | |
| y nos devuelve el resultado | |
| */ | |
| div { | |
| width: 50%; | |
| background-color: #d2d2d2; } | |
| div h1 { | |
| text-align: center; | |
| font: normal 24px/1.5 "Open Sans", sans-serif; |
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> | |
| <head> | |
| <title>SCSS Example</title> | |
| <link rel="stylesheet" href="sass/test.css"> | |
| </head> | |
| <body> | |
| <div> | |
| <h1>Lenguajes de programacion</h1> | |
| <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
| //Podemos tener diferentes variables | |
| $title-font: normal 24px/1.5 'Open Sans', sans-serif; | |
| $title-red: #F44336; | |
| $item-font: normal 12px/1.5 "Courier New", Courier, monospace; | |
| $item-color: rgb(0,110,255); //rgb es una funcion de SASS | |
| $total-columns: 2; | |
| /* | |
| Aqui creamos nuestra propia funcion, que divide '100%' entre 'n' | |
| y nos devuelve el resultado | |
| */ |
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
| property N : 0 | |
| repeat 200 times | |
| delay 0.05 | |
| set N to N + 1 | |
| set picPath to ((POSIX path of (path to desktop)) & "T" & N & ".png") as string | |
| do shell script "screencapture -bx " & quoted form of picPath | |
| end repeat | |
| -- Borrar las que no tienen nada que ver (Touchbar en el cambio) | |
| -- crear gif DragNDrop por orden |
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
| use_random_seed 365 | |
| i=0 | |
| use_bpm 60 | |
| #---------------------------------------------------------- | |
| phases = [[:D4, :Fs3, :B3, :Fs3], | |
| [:D4, :Gs3, :B3, :Gs3], | |
| [:G4, :B3, :E4, :B3], | |
| [:E4, :A3, :Cs4, :A3], | |
| [:D4, :Fs4, :B3, :Fs4], | |
| [:D4, :Gs4, :B3, :Gs4], |
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
| current_bpm = 140.0 | |
| use_bpm current_bpm | |
| # WOBBLE BASS | |
| define :wob do | |
| use_synth :dsaw | |
| lowcut = note(:E1) # ~ 40Hz | |
| highcut = note(:G8) # ~ 3000Hz | |
| note = [40, 41, 28, 28, 28, 27, 25, 35].choose |
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
| #Se invoca como rename_extensions old_extension new_extension | |
| #EJ rename_extensions jpg jpeg | |
| #Cambiara la extension de los archivos jpg a jpeg | |
| function rename_extensions | |
| set t 0 | |
| if math (count $argv) == 2 #Checar que son 2 | |
| for f in (ls) | |
| set fE (string replace -r ".*\." "" -- $f) #ext | |
| set fN (string replace -r "\..*" "" -- $f) #file |
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> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title></title> | |
| <link rel="stylesheet" href=""> | |
| </head> | |
| <body> |