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
.offsetX (@index) when (@index > 0) { | |
(~".offset@{index}") { .offset(@index); } | |
.offsetX(@index - 1); | |
} | |
.offsetX (0) {} | |
.offsetX (12); |
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
<h1>First</h1> | |
<p>Salvia pop-up synth raw denim lomo kogi. Food truck viral ethical, lo-fi skateboard swag mumblecore PBR chillwave trust fund scenester. Vegan swag fanny pack aesthetic. High life hella messenger bag sustainable. Sriracha whatever flexitarian farm-to-table raw denim, brooklyn godard messenger bag fixie keffiyeh occupy lomo. Lo-fi dreamcatcher mumblecore fingerstache, aesthetic 8-bit craft beer ethical DIY. Swag pop-up ennui vinyl, next level letterpress tumblr fixie dreamcatcher forage marfa.</p> |
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
<h1>Second</h1> | |
<p>Polaroid craft beer stumptown, ethical lo-fi jean shorts squid pickled. Squid beard pinterest gluten-free tofu, marfa organic whatever photo booth. Letterpress kogi williamsburg you probably haven't heard of them. Cred seitan pitchfork brunch, hella american apparel synth portland flexitarian you probably haven't heard of them. Fanny pack vice umami VHS. Raw denim mixtape craft beer banh mi four loko, mustache irony PBR banksy whatever lomo lo-fi. Art party photo booth shoreditch keffiyeh.</p> |
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
<h1>Contacts</h1> | |
<ul> | |
<li>Alize</li> | |
<li>Bertrand</li> | |
<li>Cadence</li> | |
<li>Dominic</li> | |
<li>Eluvia</li> | |
</ul> |
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
<h1>Friends</h1> | |
<ul> | |
<li>Franz</li> | |
<li>Gertrude</li> | |
<li>Henrietta</li> | |
<li>Isaac</li> | |
<li>Jicama</li> | |
</ul> |
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
<h1>Requests</h1> | |
<p>You don't have any requests. Either you're really on top of things, or you seriously need to get out more!</p> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Bootstrap, from Twitter</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- Le styles --> |
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 javax.sound.midi._ | |
import com.sun.media.sound.AudioFileSoundbankReader | |
object SampleInstrument extends App { | |
// AudioFileSoundbankReader allows an individual .wav file to be interpreted as an instrument | |
val sbr = new AudioFileSoundbankReader(); | |
val sb = | |
sbr.getSoundbank(new java.io.File("./resources/bassoon-g4.wav")) | |
//sbr.getSoundbank(new java.io.File("./resources/sin256.wav")) |
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
#!/bin/bash | |
## How to install ascp, in a gist. | |
## The URI below is not persistent! | |
## Check for latest link: https://www.ibm.com/aspera/connect/ | |
wget -qO- https://ak-delivery04-mul.dhe.ibm.com/sar/CMA/OSA/0a07f/0/ibm-aspera-connect_4.1.0.46-linux_x86_64.tar.gz | tar xvz | |
## run it | |
chmod +x ibm-aspera-connect_4.1.0.46-linux_x86_64.sh |
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
#!/bin/bash | |
# download SRR from NCBI SRA via Aspera Connect | |
# | |
# > get-srr SRR304976 | |
get-srr () { | |
SRR=${1} | |
SRR_6=$(echo $SRR | cut -c1-6) | |
ascp -i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh \ |
OlderNewer