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
{ | |
"type": "root", | |
"id": "root", | |
"linkId": "", | |
"color": "auto", | |
"css": "", | |
"default": "", | |
"value": "", | |
"precision": 2, | |
"address": "/root", |
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
""" | |
Description: | |
Analyzes a path containing Kontakt libraries (nicnt files), and adds corresponding .plist files to the /Library/Preferences folder. | |
Usage: | |
python3 add_kontakt_libraries_macos.py [path to libraries] | |
""" | |
import sys |
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 | |
# On first boot: | |
# fdisk /dev/sdb # n, p, w | |
# reboot now | |
cryptsetup -vy luksFormat /dev/sdb3 | |
cryptsetup luksOpen /dev/sdb3 my_usb | |
mkfs.ext4 -L persistence /dev/mapper/my_usb | |
e2label /dev/mapper/my_usb persistence | |
mkdir -p /mnt/my_usb |
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 | |
CWDIR=$1 | |
echo 'Restoring $CWDIR' | |
cd $CWDIR | |
mkdir current_sys.bak | |
cp /etc/passwd /etc/shadow /etc/group /etc/gshadow current_sys.bak | |
cat passwd.mig >> /etc/passwd | |
cat group.mig >> /etc/group |
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 | |
CWDIR=$1 | |
mkdir $CWDIR | |
echo 'Backing up to $CWDIR' | |
cd $CWDIR | |
export UGIDLIMIT=500 | |
awk -v LIMIT=$UGIDLIMIT -F: '($3>=LIMIT) && ($3!=65534)' /etc/passwd > $CWDIR/passwd.mig | |
awk -v LIMIT=$UGIDLIMIT -F: '($3>=LIMIT) && ($3!=65534)' /etc/group > $CWDIR/group.mig |
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 | |
#SBATCH --job-name=pytorch_1 | |
#SBATCH --ntasks=1 | |
#SBATCH --cpus-per-task=3 | |
#SBATCH --ntasks-per-node=1 | |
#SBATCH --time=1:00:00 | |
#SBATCH --mem=60000M | |
#SBATCH --partition=gpu_shared_course | |
#SBATCH --gres=gpu:1 |
This file has been truncated, but you can view the full file.
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
0 0 Q 8 0 7 103 51 92 43 12 73 69 27 105 | |
0 36 Q 174 0 1625 1627 1623 1626 1624 1622 1619 1621 1620 1618 | |
0 50 Q 227 0 2094 2091 2087 2089 2093 2088 2090 2092 2095 2086 | |
0 515 Q 174 0 1625 1627 1623 1626 1624 1622 1619 1621 1620 1618 | |
0 524 Q 1974 0 17562 1627 1626 1623 2091 17559 17563 17558 17561 17560 | |
0 527 C 17562 | |
0 528 C 1627 | |
0 529 C 1626 | |
1 0 Q 9 0 13 70 66 94 50 104 29 21 89 85 | |
1 20 C 104 |
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
# This file describes the standard way to build Docker, using docker | |
# | |
# Usage: | |
# | |
# # Assemble the full dev environment. This is slow the first time. | |
# docker build -t docker . | |
# | |
# # Mount your source in an interactive container for quick testing: | |
# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash | |
# |
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
Desired=Unknown/Install/Remove/Purge/Hold | |
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
||/ Name Version Architecture Description | |
+++-===========================================================-===========================================================-============-============================================================================================================================================================================================================================================================================= | |
ii a11y-profile-manager-indicator 0.1.10-0ubuntu3 amd64 Accessibility Profile Manager - Unity desktop indicator | |
ii account-plugin-facebook 0.12+16.04.20160126-0ubuntu1 |
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
% Janne Spijkervet, Prolog knowledge base. | |
% Latitude / Longitudes of all cities in The Netherlands. Multiple entries per city are postal code areas. | |
longlat(amsterdam,52.3362429,4.8694444). | |
longlat(amsterdam,52.36424,4.883358). | |
longlat(amsterdam,52.36424,4.883358). | |
longlat(amsterdam,52.36424,4.883358). | |
longlat(amsterdam,52.36424,4.883358). | |
longlat(amsterdam,52.36424,4.883358). | |
longlat(amsterdam,52.36424,4.883358). | |
longlat(amsterdam,52.36424,4.883358). |