Skip to content

Instantly share code, notes, and snippets.

Avatar

Sophie Tagar SophieDePaula

View GitHub Profile
View Call the GitHub API - Failure
curl "https://api.GitHub.com/repos/<GitHubUserName>/<REPO_NAME>/statuses/$GIT_COMMIT?access_token=<YOUR_GITHUB_TOKEN>" \
-H "Content-Type: application/json" \
-X POST \
-d "{\"state\": \"failure\",\"context\": \"continuous-integration/jenkins\", \"description\": \"Jenkins\", \"target_url\": \"<YOUR_JENKINS_URL>/job/<JenkinsProjectName>/$BUILD_NUMBER/console\"}"
View Call the GitHub API - Success
curl "https://api.GitHub.com/repos/<GitHubUserName>/<REPO_NAME>/statuses/$GIT_COMMIT?access_token=<YOUR_GITHUB_TOKEN>" \
-H "Content-Type: application/json" \
-X POST \
-d "{\"state\": \"success\",\"context\": \"continuous-integration/jenkins\", \"description\": \"Jenkins\", \"target_url\": \"<YOUR_JENKINS_URL>/job/<JenkinsProjectName>/$BUILD_NUMBER/console\"}"
@SophieDePaula
SophieDePaula / RobotProblemSophieTagar.cs
Last active Jun 26, 2017
Code Challenge for Horoscope
View RobotProblemSophieTagar.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Robot
{
class Program
{
@SophieDePaula
SophieDePaula / Scripts
Last active Jun 10, 2017
FinalProject Bachelor degree - Purl
View Scripts
#Script #1 appendix A
#this script unites 3 tables from UCSC, in order to add the type of alternative #splicing and the location of exon start and exon end to each gene
#***********************- pseudo code -*************************
# 1. foreach row in table REFALT
# 1.1. extract location data of alt splicing variant
# 1.2. find according to this location the matching row in table ALTEV
# 1.2.1. if exists
# 1.2.1.1 print to TOUT the variant + the alt splicing type column from table ALTEV
# 2. foreach row in table TOUT