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
! Tested Oct 2024 with gfortran. | |
module nvtx_mod | |
use iso_c_binding | |
implicit none | |
integer,private :: col(7) = [ int(Z'0000ff00'), int(Z'000000ff'), int(Z'00ffff00'), int(Z'00ff00ff'),& | |
int(Z'0000ffff'), int(Z'00ff0000'), int(Z'00ffffff') ] | |
!character(len=256), private :: tempName | |
character, private, target :: tempName(256) |
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
/* | |
* Copyright (c) 2010 Tobias Schneider | |
* This script is freely distributable under the terms of the MIT license. | |
*/ | |
(function(){ | |
var UPC_SET = { | |
"3211": '0', | |
"2221": '1', | |
"2122": '2', |
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
// include this in your tumblr theme | |
$(function() { | |
var gist_injectors = $.map($('p.embed_gist').get(), (function(p){ | |
return function(){ | |
gist_injectors.shift(); | |
var gist_id = $(p).find('a:first').attr('href').replace(/.*gist.github.com\//g,''); | |
document.write = function(gist_style_link){ | |
$('head').append(gist_style_link); | |
document.write = function(gist_html){ |