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
void ft_putchar(char c) | |
{ | |
write(1, &c, 1); | |
} | |
void ft_putstr(char *str) | |
{ | |
int i = 0; | |
while (str[i] != '\0') |
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
// Reference: https://developers.google.com/maps/documentation/javascript/style-reference | |
let map = new google.maps.Map(document.getElementById('map-canvas'), { | |
disableDefaultUI: true, | |
styles: [ | |
{ | |
featureType: "poi", | |
elementType: "labels", | |
stylers: [ | |
{ visibility: "off" } |
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
SampleGroups = new Meteor.Collection("sample_groups"); | |
var filterOptionsSchemas = { | |
include_sample_list: new SimpleSchema({ | |
sample_labels: { type: [String] }, | |
sample_count: { type: Number }, | |
}), | |
exclude_sample_list: new SimpleSchema({ | |
sample_labels: { type: [String] }, | |
sample_count: { type: Number }, |
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
// publish users that are in the specified collaborations | |
Meteor.publish("usersInCollaborations", function (collaborations) { | |
// grab the associated collaborators (personal and otherwise) for all collaborations | |
let combinedCollabs = _.reduce(collaborations, (memo, name) => { | |
// grab the collaboration | |
let collab = Collaborations.findOne({ name }); | |
// get the collaborators and add them to the working list | |
memo.concat(concat.getAssociatedCollaborators()); | |
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
| Command | Description | | |
|---------|-------------| | |
| `w` | Shows currently logged in user | | |
| `write username TTYport` | Write to another person's terminal | |
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
SampleGroups = new Meteor.Collection("sample_groups"); | |
var sampleSchema = new SimpleSchema({ | |
study_label: { type: String }, | |
sample_label: { type: String }, | |
patient_label: { type: String, optional: true }, | |
}); | |
SampleGroups.attachSchema(new SimpleSchema({ | |
user_id: { type: String }, |
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
IsoformExpression = new Meteor.Collection("isoform_expression"); | |
// ExpressionIsoform = new Meteor.Collection("expression_isoform"); | |
var normalValue = { | |
type: Number, | |
decimal: true, | |
optional: true, | |
min: 0, | |
}; |
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
GeneExpression = new Meteor.Collection("gene_expression"); | |
Expression2 = new Meteor.Collection("expression2"); | |
var normalValue = { | |
type: Number, | |
decimal: true, | |
optional: true, | |
}; | |
GeneExpression.attachSchema(new SimpleSchema({ |
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
# show all jobs with command | |
ps -ef | |
# create symbolic link | |
ln -s /path/somewhere name_in_this_folder |
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
{ | |
"type" : "mutation", | |
"algorithm" : "wekamine", | |
"signature_slug": "LUAD_KEAP1_NonSilent", | |
"label" : "KEAP1 non-silent mutation", | |
"gene_label" : "KEAP1", | |
"input_data_normalization": "quantile_normalized_counts", | |
"input_data_type": "microarray", | |
"training_set": "TCGA LUAD expression non-silent tumors vs. silent tumors", | |
"sample_values" : [ |
NewerOlder