Skip to content

Instantly share code, notes, and snippets.

View outcoldman's full-sized avatar

Denis Gladkikh outcoldman

View GitHub Profile
@outcoldman
outcoldman / dbhist.sh
Created July 19, 2017 21:53
DBHist: bash history in sqlite
# The MIT License
# SPDX short identifier: MIT
# Further resources on the MIT License
# Copyright 2017 Denis Gladkikh (https://www.outcoldman.com/en/archive/2017/07/19/dbhist/)
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@outcoldman
outcoldman / splunk.server.plist
Created April 9, 2014 06:12
splunk.server.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>splunk.server</string>
<key>ProgramArguments</key>
<array>
<string>bin/splunk</string>
<string>start</string>
@outcoldman
outcoldman / subl.cmd
Last active January 2, 2016 09:59
Place this file under %WINDIR% (or any other folder defined in Windows PATH variable).
@echo off
SET Sublime_Executable=
IF DEFINED ProgramFiles(x86) (
set Sublime_Executable="%ProgramW6432%\Sublime Text 3\sublime_text.exe"
) ELSE (
set Sublime_Executable="%ProgramFiles%\Sublime Text 3\sublime_text.exe"
)