kogelvis[deep-freeze-node]$ npm link
up to date in 0.678s
Unhandled rejection TypeError: pkg.man.reduce is not a function
at linkMans (/usr/local/lib/node_modules/bin-links/index.js:159:21)
at /usr/local/lib/node_modules/bin-links/index.js:37:7
at /usr/local/lib/node_modules/slide/lib/async-map.js:52:35
at Array.forEach (<anonymous>)
at /usr/local/lib/node_modules/slide/lib/async-map.js:52:11
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
export PS1="$(printf "\033[1;32m%s\033[;37m@\033[1;33m%s\033[0m$ " $(logname) $(hostname -s))" |
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
tar -cvf ../standalone/mybackup.tar $(ls /var/postgresql/data | grep -v -e 'pg_xlog') |
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
UUID=700e8051-4707-4ad4-b8c9-cee9ca8fbd7c / ext4 rw,relatime,data=ordered 0 0 | |
UUID=2eb35135-0ce4-42ff-bbe6-aa9c1ce1234c /boot ext4 rw,relatime,data=ordered 0 0 | |
UUID=2a912f13-7e3b-4a15-935d-e9710f8d2c9e swap swap defaults 0 0 | |
UUID=2fc3aff6-5a80-4ef7-809b-33de8a3ceb17 /data ext4 rw,relatime,user 0 0 | |
/dev/cdrom /media/cdrom iso9660 noauto,ro 0 0 | |
/dev/fd0 /media/floppy vfat noauto 0 0 | |
/dev/usbdisk /media/usb vfat noauto 0 0 |
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
# $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $ | |
# This is the smtpd server system-wide configuration file. | |
# See smtpd.conf(5) for more information. | |
table aliases file:/etc/mail/aliases | |
table secrets file:/etc/mail/secrets | |
# To accept external mail, replace with: listen on all | |
# |
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/sh | |
curl -s \ | |
-H "Accept:application/json" \ | |
-G "http://amrvwp000002474:17000/rest/searchApi/simpleCgi" \ | |
--data-urlencode "workflows=search" \ | |
--data-urlencode "q=*:*" \ | |
--data-urlencode "q.type=simple" \ | |
--data-urlencode "hits=0" \ | |
--data-urlencode "facet=table(maxnumbuckets=100)" \ |
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
# ___ ___ __ __ | |
# / | __ ______/ (_) /_____/ / | |
# / /| |/ / / / __ / / __/ __ / | |
# / ___ / /_/ / /_/ / / /_/ /_/ / | |
# /_/ |_\__,_/\__,_/_/\__/\__,_/ | |
# | |
# Linux Audit Daemon - Best Practice Configuration | |
# /etc/audit/audit.rules | |
# | |
# Compiled by Florian Roth |
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
// Copyright 2019 Dave Voutila <dave@sisu.io> | |
// Under no circumstances should you consider this safe/correct code. | |
// Use at your own risk. | |
// | |
// Consider it under ISC license. | |
#include <stdio.h> | |
#include <fcntl.h> | |
#include <err.h> | |
#include <netdb.h> |
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
// Run this first on an empty Neo4j database. | |
// Note: the "type" properties are only added to make JSON | |
// results read better and aren't needed. The "at" property | |
// is used to create unique Views. | |
MERGE (u1:User {name:'dave'}) | |
MERGE (u2:User {name:'not dave'}) | |
MERGE (p1:Page {page:'/page1.html'}) | |
MERGE (p2:Page {page:'/page2.html'}) | |
MERGE (p3:Page {page:'/page3.html'}) |
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
$ppt = new-object -com powerpoint.application | |
$opt = [Microsoft.Office.Interop.PowerPoint.PpSaveAsFileType]::ppSaveAsPDF | |
foreach($ifile in $(Get-ChildItem '.' -Filter '*.pptx')) { | |
$ifile = $ifile.FullName | |
$pres = $ppt.Presentations.Open($ifile) | |
$pathname = split-path $ifile | |
$filename = split-path $ifile -leaf | |
$file = $filename.split(".")[0] | |
$ofile = $pathname + "\\" + $file + ".pdf" |