Skip to content

Instantly share code, notes, and snippets.

View wasimaftab's full-sized avatar
🎯
Focusing

Wasim Aftab wasimaftab

🎯
Focusing
  • Ludwig Maximilian University of Munich
  • Munich, Germany
  • 16:28 (UTC +02:00)
View GitHub Profile
@wasimaftab
wasimaftab / Protein-header.csv
Last active January 12, 2024 17:26
command to import the data into neo4j `bin/neo4j-admin database import full --delimiter=";" --array-delimiter="|" --nodes="Protein-header.csv,Protein-part.*" --relationships="ProteinProteinInteraction-header.csv,ProteinProteinInteraction-part.*" --quote='"' --overwrite-destination neo4j` The input files are attached.
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
:ID;id;description;:LABEL
@wasimaftab
wasimaftab / bundle.js
Created January 30, 2021 16:01
Cytoscape.js-cola layout is not spanning the entire width of a bootstrap card
This file has been truncated, but you can view the full file.
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("webcola"));
else if(typeof define === 'function' && define.amd)
define(["webcola"], factory);
else if(typeof exports === 'object')
exports["cytoscapeCola"] = factory(require("webcola"));
else
root["cytoscapeCola"] = factory(root["webcola"]);
@wasimaftab
wasimaftab / index.html
Created December 2, 2020 13:44
Electron Fiddle Gist
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<title>Test Cytoscape.js</title>
@wasimaftab
wasimaftab / index.html
Last active December 2, 2020 13:43
Electron Fiddle Gist
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
<title>Test Cytoscape.js</title>
@wasimaftab
wasimaftab / index.html
Created September 30, 2020 12:06
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>test_electron</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
</head>
<body>
@wasimaftab
wasimaftab / index.html
Created September 30, 2020 11:55
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>test_electron</title>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';" />
</head>
<body>