This script was written during a holiday in Rovaniemi. On one of the nights the immediate aurora forecast was not good, but fearing to miss anything while sleeping I quickly wrote this script. The script keeps an eye on the forecast Kp value (Aurora activity) and will play a sound if it looks good. Unfortunately the alarm did not go off, because there was no aurora activity. Luckily the following evening the alarm was not needed because we got an amazing show, see the
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
// Added by Arne | |
jQuery( document ).ready( | |
function() { | |
setTimeout( | |
function() { | |
// Verberg minuten, alleen lesuren | |
jQuery("[name='time_minutes']").parent().parent().hide(); | |
jQuery("[name='end_time_mm']").parent().parent().hide(); | |
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
# Unfortunately '--output_align=false' seem not to be working. | |
biber --tool --output_fieldcase=lower --output_indent=4 *.bib |
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> | |
<head> | |
<style> | |
html { | |
font: 12px/1.2em sans-serif; | |
} | |
ul { | |
list-style: none; | |
} |
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 station_info; | |
var coincidences; | |
var c_idx = 0; | |
var map = L.map('map'); | |
var svg = d3.select(map.getPanes().overlayPane).append("svg"), | |
g = svg.append("g").attr("class", "leaflet-zoom-hide"); | |
function x(coord) { return map.latLngToLayerPoint(coord).x }; | |
function y(coord) { return map.latLngToLayerPoint(coord).y }; |
Escape twice, once using quotes and once using backslashes
Use:
scp [user]@[server]:"[filepath]" [destination]
Example:
scp [email protected]:"/Volumes/disk/file\ with\ space\ (and\ specials)" Here_please/
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 tables | |
data = tables.openFile('2013_8_1.h5', 'r') | |
c_index = data.root.coincidences.c_index | |
s_index = data.root.coincidences.s_index | |
clusters = [s_group.split('/')[2][8:] for s_group in s_index[:]] | |
stations = [s_group.split('/')[3][8:] for s_group in s_index[:]] |
Name | Language |
---|---|
Al-Qahira | Arabic, Indonesian, Malay |
Ares | Greek |
Auqakuh | Quechua (Inca) |
Bahram | Persian |
Harmakhis | Ancient Egyptian |
Her Desher | Egyptian |
Hrad | Armenian |
Huo Hsing | Chinese |
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 tables | |
from sapphire.simulations.base import BaseSimulation | |
from sapphire.clusters import ScienceParkCluster | |
datafile = tables.openFile('/tmp/test_base_simulation.h5', 'w') | |
cluster = ScienceParkCluster() | |
sim = BaseSimulation(cluster, datafile, '/simulations/this_run', 10) | |
sim.run() |
NewerOlder