This file contains 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
# Caveats | |
# I'm no shell expert | |
# This is in Bash on a Mac running Mojave | |
# You may need to read the whole thing before using | |
# | |
# Explanation | |
# (hopefully intelligible to the advanced beginner or low intermediate Bash user) | |
# | |
# * Slashes at the line ends tell the shell to consider the next line part of the command | |
# |
This file contains 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
# columns to create and populate: | |
# WORDCOUNTS, WEIGHT | |
import unicodecsv as csv # need to install unicodecsv, tho | |
import re | |
import os | |
import sys | |
import glob | |
if len(sys.argv) < 2: |
This file contains 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
# columns to create and populate: | |
# id, doi, title, author, journaltitle, volume, issue, pubdate, | |
# pagerange, publisher, type, reviewed-work, abstract | |
import xml.etree.ElementTree | |
import unicodecsv as csv # need to install unicodecsv, tho | |
import re | |
import os | |
import sys | |
import glob |
This file contains 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
#!/bin/bash | |
# Script to transform Apple iTunes' .itc files into images (JPG or PNG) | |
# | |
# This is a mod of the very useful script by Matthieu Riegler (@kyro38) at | |
# https://github.com/kyro38/MiscStuff/blob/master/Useless/itc/itcToImageV2.sh | |
# | |
# The mods are | |
# * to use `find` rather than `gfind` (I'm on a Mac and find` works just fine | |
# and I don't need to install `coreutils` just for this task) | |
# * to parameterize the source and destination directories for the .itc files |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
function nodeActive(a) { | |
var groupByDirection=false; | |
if (config.informationPanel.groupByEdgeDirection && config.informationPanel.groupByEdgeDirection==true) groupByDirection=true; | |
sigInst.neighbors = {}; | |
sigInst.detail = !0; | |
var b = sigInst._core.graph.nodesIndex[a]; | |
/* ~~~~ HACK PART 1 START ~~~ */ |
This file contains 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
{ | |
"sigma": { | |
"drawingProperties": { | |
"activeFontStyle": "bold", | |
"defaultEdgeType": "curve", | |
"defaultHoverLabelBGColor": "#002147", | |
"defaultLabelColor": "#000", | |
"defaultLabelHoverColor": "#fff", | |
"defaultLabelSizeComment": "Changing 'defaultLabelSize' doesn't change the default label size if 'fontStyle' is at its default, 'bold'. Stripping that value allows for adjustments.", | |
"defaultLabelSize": 16, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.