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
#!/usr/bin/env bash | |
# Time-stamp: <2017-04-27 09:57:21 kmodi> | |
# Time-stamp: <2018-03-20 12:58:02 bobpaul> | |
# derived from kmodi's gist: https://gist.github.com/kaushalmodi/74e9875d5ab0a2bc1010447f1bee5d0a | |
# | |
# Example of using getopt to parse command line options | |
# http://stackoverflow.com/a/29754866/1219634 Limitation: All the options | |
# starting with - have to be listed in --options/--longoptions, else getopt will | |
# error out. | |
# The downside is that if you intend to use this as a wrapper to some other program, |
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
import arff | |
import os | |
import pandas as pd | |
def main(input_file, output_folder): | |
""" | |
Original data have been downloaded here ("Leukemia" section): http://eps.upo.es/bigs/datasets.html | |
Convert Golub arff dataset into N (where N is the numbers of samples) csv files. |
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
#!/usr/bin/sh | |
# original script by: WebReflection (https://bbs.archlinux.org/viewtopic.php?pid=1526537#p1526537) | |
if [ "$IMAGE" = "" ]; then | |
IMAGE=$( | |
dbus-launch gsettings get org.gnome.desktop.screensaver picture-uri | | |
sed -e "s/'//g" | | |
sed -e "s/^file:\/\///g" | |
) |
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
# meld a mettre dans le path | |
[diff] | |
tool = meld | |
keepBackup = false | |
prompt = false | |
[merge] | |
tool = meld | |
keepBackup = false | |
prompt = false |