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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
| i = 0; | |
| f = function() { | |
| i += 1; | |
| document.getElementById('remote').innerHTML = '<iframe src="https://iatw.cnaf.infn.it/eee/monitor/dqm2/datatransfer/eventdisplay/FERM-01last.html?i='+i+'" style="position:absolute; top:0px; left:0px; width:100%; height:100%; border: none;"></iframe>'; | |
| setTimeout(f, 50000); | |
| } |
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
| #include <iostream> | |
| #include <numeric> | |
| #include <array> | |
| auto first_of(auto x) { | |
| auto tmp = x / 10; | |
| while (tmp != 0) { | |
| x = tmp; | |
| tmp /= 10; |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <readline/readline.h> | |
| #include <readline/history.h> | |
| int main() | |
| { | |
| while (1) { | |
| char* const x = readline("prompt> "); |
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
| #include <iostream> | |
| #include <math.h> | |
| #include <vector> | |
| #include <fstream> | |
| #include <algorithm> | |
| #include <stdint.h> | |
| #include <cassert> | |
| struct point { | |
| double dist; |
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
| %define major 0 | |
| %define major1 1 | |
| %define libname %mklibname %{name} %{major} | |
| %define libnamellvm %mklibname %{name}llvm %{major} | |
| %define libname1 %mklibname %{name} 2.0 %{major1} | |
| %define libnamedev %mklibname -d %{name} | |
| %define bootstrap 0 | |
| %{?_with_bootstrap: %{expand: %%global bootstrap 1}} | |
| %define monodir %_prefix/lib/mono |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| if (argc == 2) { | |
| int const n = atoi(argv[1]); | |
| printf("Signal %d corresponds to %s\n", n, strsignal(n)); | |
| } |
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
| #include <geany/geanyplugin.h> | |
| GeanyData *geany_data; | |
| GeanyPlugin *geany_plugin; | |
| GeanyFunctions *geany_functions; | |
| PLUGIN_VERSION_CHECK(211); | |
| PLUGIN_SET_INFO("Tab Sort", | |
| "Automatically keeps document tabs sorted", |