Skip to content

Instantly share code, notes, and snippets.

@sura2k
sura2k / compile-redis-portable.sh
Created December 8, 2019 09:02 — forked from mitjafelicijan/compile-redis-portable.sh
Creates portable version of Redis (Linux)
#!/bin/sh
# http://download.redis.io/releases/
# Usage: sh compile-redis-portable.sh
VERSION="4.0.6"
INIT_PATH=`dirname "$0"`
INIT_PATH=`( cd "$INIT_PATH" && pwd )`
@sura2k
sura2k / AddMyWindowsAccountAsSqlServerSysAdmin.cmd
Last active March 4, 2016 11:51
Add current logged in windows user as a sysadmin in SQL server - Enable full database access via Windows authentication
@echo off
rem
rem ****************************************************************************
rem
rem Copyright (c) Microsoft Corporation. All rights reserved.
rem This code is licensed under the Microsoft Public License.
rem THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
rem ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
rem IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
rem PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.