Skip to content

Instantly share code, notes, and snippets.

View NeuroWinter's full-sized avatar
🎯
Always something to do.

Alex Manson NeuroWinter

🎯
Always something to do.
View GitHub Profile
➜ cmus cat autosave
set aaa_mode=all
set altformat_current= %F
set altformat_playlist= %f%= %d
set altformat_title=%f
set altformat_trackwin= %f%= %d
set auto_expand_albums_follow=true
set auto_expand_albums_search=true
set auto_expand_albums_selcur=true
set auto_reshuffle=true
@NeuroWinter
NeuroWinter / DisplayPdf
Created February 18, 2015 00:27
displayPDF
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
//go full screen.
self.moveTo(0,0);
self.resizeTo(screen.width,screen.height);
</SCRIPT>
<style type="text/css">
for (int i = 0; i < length ; i++ ) {
double ran = Math.random();
if(ran <= 0.25){
seqence[i] = 'a';
}else if( ran < 0.25 && ran<=0.5 ){
seqence[i] = 'c';
}else if( ran < 0.5 && ran <= 0.75 ){
seqence[i] = 'g';
}else{
seqence[i] = 't';