-
Install CMake 3.5.2 on CentOS 7
Download Source distributions cmake-3.5.2.tar.gz from https://cmake.org/download/ ./bootstrap gmake sudo gmake install
-
Install libgpuarray on Centos 7
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
# ================================================= | |
# SLURM UTILS | |
# ================================================= | |
# sbatlog: runs sbatch and automatically tail -f slurm-$number.out | |
function sbatlog | |
{ | |
result=$(command sbatch "$@") | |
outputid=$(echo $result | awk -F' ' '{print $NF}') | |
# fileout="slurm-$outputid.out" # assumes default file output name |
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
#!/bin/python3 | |
import os | |
import sys | |
import subprocess | |
import re | |
def run(): | |
arguments = sys.argv[1:] |
Gitlab exports repositories to tar archive which contains .bundle files.
We have repo.bundle file and we want to restore files from it.
- create bare repo from bundle file
git clone --mirror myrepo.bundle my.git
- Initial credit to https://gist.github.com/maxivak/513191447d15c4d30953006d99928658
Gitlab exports a tar.gz file which contains a file called project.bundle. We can convert this file into a normal git repo using the following steps:
$ tar xvfz GitLabExport.gz
OlderNewer