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
package jackson.test; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | |
import com.fasterxml.jackson.annotation.JsonTypeInfo; | |
import com.fasterxml.jackson.annotation.JsonTypeName; | |
import com.fasterxml.jackson.annotation.JsonValue; | |
import com.fasterxml.jackson.databind.AnnotationIntrospector; | |
import com.fasterxml.jackson.databind.ObjectMapper; |
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
from java.nio.file import Files, Paths, SimpleFileVisitor, FileVisitResult | |
class visitor(SimpleFileVisitor): | |
def __init__(self): | |
pass | |
def preVisitDirectory(self, dir, attrs): | |
print(dir) | |
return FileVisitResult.CONTINUE | |
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/python | |
import json | |
import sys | |
import os | |
import datetime | |
import codecs | |
import sqlite3 | |
import re | |
import struct |
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 java.lang.annotation.Annotation; | |
import javax.ws.rs.*; | |
import javax.ws.rs.core.*; | |
import javax.ws.rs.ext.*; | |
import com.fasterxml.jackson.core.*; | |
import com.fasterxml.jackson.databind.*; | |
import com.fasterxml.jackson.databind.cfg.PackageVersion; |
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 gevent | |
import gevent.monkey | |
gevent.monkey.patch_socket() | |
from gevent.queue import Queue | |
import requests | |
from datacat import client_from_config_file | |
from jinja2 import Template | |
""" |
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 python | |
from __future__ import with_statement | |
import os | |
import sys | |
import errno | |
import requests | |
import json |
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
from setuptools import setup | |
requires = [ | |
'flask' | |
] | |
setup( | |
name='webcommon', | |
namespace_packages = ["lsst"], | |
version='0.1', |
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" | |
void initBuffer(char *buffer){ | |
if (buffer==NULL) exit (1); | |
for (int n=0; n<16000; n++){ | |
buffer[n]=rand()%26+'a'; | |
} | |
} |
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" | |
void initBuffer(char *buffer, int bufSize){ | |
if (buffer==NULL) exit (1); | |
for (int n=0; n<bufSize; n++){ | |
buffer[n]=rand()%26+'a'; | |
} | |
} |
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
from datacat import client_from_config_file | |
client = client_from_config_file() | |
walker = Walker(client) | |
def doWalk(site): | |
dscount = 0 | |
path = "/LSST/mirror/BNL-test/test/ITL-CCD/ITL-113-10-360Khz-g2/read_noise/v0" |
OlderNewer