Skip to content

Instantly share code, notes, and snippets.

View pgrosu's full-sized avatar

Paul Grosu pgrosu

  • Northeastern University
  • Boston, MA
View GitHub Profile
@pgrosu
pgrosu / CentOS 7
Created August 23, 2017 18:53
PR-60 UAT for Ubuntu and Centos
--------------------------------------------------
Starting the Acceptance Tests...
--------------------------------------------------
Feature: Running an end-to-end acceptance test # tests/bdd/features/moc-0.5-release/end-to-end-acceptance-test.feature:1
Scenario: Importing/Removing Image, DB/Ceph consistency # tests/bdd/features/moc-0.5-release/end-to-end-acceptance-test.feature:3
Given RBD will create an image # tests/bdd/steps/rbd_create.py:8
| image_name |
@pgrosu
pgrosu / logger_tested_1000.py
Created July 31, 2017 19:30
logger_tested_1000
import inspect
import logging
import logging.handlers
import traceback
import os
loggers = {}
_base_path = "./"
_debug = True
_verbose = True
@pgrosu
pgrosu / Installation Test Results
Created June 26, 2017 00:04
PR 60 Installation Test
[centos@bmi-pgrosu ~]$ sudo yum group install "Development Tools"
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/4): base/7/x86_64/group_gz | 155 kB 00:00:05
(2/4): extras/7/x86_64/primary_db | 168 kB 00:00:05
(3/4): updates/7/x86_64/primary_db | 6.4 MB 00:00:05
@pgrosu
pgrosu / Python_client_secrets.py
Created August 18, 2016 02:30
Python and R code examples (with results) using Google Genomics API and a client_secrets.json file
from __future__ import print_function
import httplib2
import os
from apiclient import discovery
import oauth2client
from oauth2client import client
from oauth2client import tools
@pgrosu
pgrosu / gdb_Function_Calls_of_Google_Genomics_gRPC_Client.txt
Created June 29, 2016 21:48
gdb Function Calls of GoogleGenomics gRPC Client
This file has been truncated, but you can view the full file.
Breakpoint 1 at 0x40a9f8
<function, no debug info> _init;
Breakpoint 2 at 0x40aa20
<function, no debug info> google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(google::protobuf::Descriptor const*, google::protobuf::Message const*, int const*, int, int, int, void const*, int, int, int, int);
Breakpoint 3 at 0x40aa20
<function, no debug info> _ZN6google8protobuf8internal26GeneratedMessageReflection29NewGeneratedMessageReflectionEPKNS0_10DescriptorEPKNS0_7MessageEPKiiiiPKviiii@plt;
Breakpoint 4 at 0x40aa30
<function, no debug info> operator new[](unsigned long);
Breakpoint 5 at 0x40aa30
tarfile:
class: File
path: hello.tar
tarfile:
class: File
path: hello.tar
@pgrosu
pgrosu / CommandLineToolDemo2YamlOutput.java
Created April 28, 2016 16:59
Yaml Output of the CommandLineTool object
// Compile: ./compile-demo2yaml.sh
//
// Run: ./run-demo2yaml.sh wc-tool.cwl wc-job.json > CommandLineTool_YamlOutput.txt
import java.util.*;
import org.commonwl.lang.*;
import org.commonwl.util.*;
import org.yaml.snakeyaml.*;