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
html, body { | |
height: 100%; | |
} | |
body { | |
margin: 0; | |
color: white; | |
} | |
.container { |
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
body { | |
margin: 0; | |
color: #fff; | |
} | |
.container { | |
display: flex; | |
overflow: hidden; | |
height: 100vh; | |
} |
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
#!/usr/bin/env ruby | |
# | |
# This script is an astonishing feat of top notch | |
# rockstar craftsmanship. It totally uses artificial | |
# intelligence to extract colors out of tmTheme and | |
# build an itermcolors scheme file for iTerm2. | |
# | |
# I know this sounds crazy, but it actually knows | |
# approximately what colors should be used in the | |
# ANSI list, and tries to find nearest colors from |
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 columnSort = function() { | |
// Column counting wrapping thing | |
var itemCount = $('css declaration to find parent views-row').length; | |
var column1 = $('<div></div>').appendTo('put it somewhere'); | |
$('css declaration to find parent views-row').each(function(index) { | |
if (soething to fingure out which column) { | |
$(this).appendTo(column1); or | |
$(this).remove().appendTo(column1); or |
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
$view = views_get_view('plays'); | |
$view->init_display('ctools_context_1'); | |
$plays = $view->execute_display('ctools_context_1', array($generative_artist)); | |
foreach($plays['view']->result as $each_play) { | |
// do stuff | |
} |
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
$view2 = views_get_view('events'); | |
$view2->set_display('panel_pane_3'); | |
$view2->set_arguments(array($all_plays_arg)); | |
$events = $view2->preview(); | |
$output = $events; |