Skip to content

Instantly share code, notes, and snippets.

View alphaville's full-sized avatar
:octocat:
(De)coding

Pantelis Sopasakis alphaville

:octocat:
(De)coding
View GitHub Profile
{
"father_compound": 55,
"name": "aspirin",
"smiles": "CC(=O)Oc1ccccc1C(=O)O",
"inchi_key": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N",
"sdf_representation": "http://server.com/compound/2/sdf",
"comment": [
"this is a comment",
"analogue of rdfs:comment"
],
#ifndef MAT_VECTOR_
#define MAT_VECTOR_
#include<cuda_runtime.h>
#include"cublas_v2.h"
#include "helper_cuda.h"
/**
* Definition of the function that perform multiple matrix-vector operations
* @param matrices: Vector of pointers that point to multiple matrix vector operations,
%% Create a LaTeX table for the parameters of an ARIMA Model
clc
disp('\begin{table}[h]\footnotesize');
disp(' \begin{center}');
disp([' \caption{Parameters of model (???) along with their '...
'standard error and t-statistic.}']);
disp(' \vspace{0.2cm}');
disp(' \begin{tabular}{|c|c|c|c|}');
disp('\hline');
public class h2_example {
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
public static void main(String... args){
/*
* Added additional null checks when closing the ResultSet and Statements.
*
* Thanks to pihug12 and Grzegorz Oledzki at stackoverflow.com
* http://stackoverflow.com/questions/5332149/jdbc-scriptrunner-java-lang-nullpointerexception?tab=active#tab-top
*/
/*
* Modified: Use logWriter in print(Object), JavaDoc comments, correct Typo.
*/
/*
/*
author: jbenet
os x, compile with: gcc -o testo test.c
linux, compile with: gcc -o testo test.c -lrt
*/
#include <time.h>
#include <sys/time.h>
#include <stdio.h>