Skip to content

Instantly share code, notes, and snippets.

View 85degree's full-sized avatar
🏠
Working from home

Abdul Gaffur A Dama 85degree

🏠
Working from home
View GitHub Profile
@85degree
85degree / Export-SsisPackages.ps1
Last active October 30, 2021 21:25 — forked from bseebacher/Export-SsisPackages.ps1
Exports all SSIS projects and packages from a SQL Server 2012 and above SSISDB catalog.
function Export-SsisPackages
{
[CmdletBinding()]param(
[parameter(ValueFromPipeline)]
[ValidateScript({Test-Path $_})]
[string]$OutputPath,
[string]$DatabaseServerName = ".",
[string]$SsisCatalogDatabaseName = "SSISDB"
)
@85degree
85degree / Install-ISProject.ps1
Created September 20, 2021 04:37 — forked from kulmam92/Install-ISProject.ps1
Deploys an ispsc file to a SSISDB using MOM.
#######################
<#
.SYNOPSIS
Installs an SSIS project to a SSISDB.
.DESCRIPTION
I created this by modifying demo script shared by Bill Fellows through PASS session "Understanding the SSIS 2012 Deployment Model [LT-101]"
The Install-ISProject script installs an ispsc file to a SSISDB using MOM.
Works for 2012 and higher
.EXAMPLE
./Install-ISProject.ps1 -IspacFullName "D:\App_temp\SSIS\Test2\bin\Development\Test2.ispac" -ServerInstance "SpeakSQL\JY2012" -CatalogFolderName "DEV" -ISProjectName "test2"
@85degree
85degree / StepsToSetupArtifactoryWithNpm
Created May 5, 2021 18:17 — forked from m-x-k/StepsToSetupArtifactoryWithNpm
Setting up JFrog artifactory for NPM
docker pull docker.bintray.io/jfrog/artifactory-oss:latest
docker run --name artifactory -d -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss
# In browser open http://localhost:8081 and follow basic steps
# Add new remote repository: http://localhost:8081/artifactory/webapp/#/admin/repositories/remote
# URL: https://registry.npmjs.org
# RepositoryLayout: NPM default
# Add new virtual repository of type "Generic" using remote repository above
@85degree
85degree / SoftEther VPN Server Setup in Raspberry Pi 3
Last active January 26, 2020 20:30 — forked from amanjuman/SoftEther VPN Server Setup in Raspberry Pi 3
SoftEther VPN Server Setup in Raspberry Pi 3
#/bin/sh
softether_version=v4.32-9731-beta
softether_date_build=2020.01.01
softether_release=softether-vpnserver-$softether_version-$softether_date_build-linux-arm_eabi-32bit.tar.gz
softether_release_url=https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/$softether_version/$softether_release
is_user_root () { [ ${EUID:-$(id -u)} -eq 0 ]; }
@85degree
85degree / crontab -e
Created November 13, 2018 17:51 — forked from ImpulseTheFox/crontab -e
CloudFlare v4 API DNS entry updater
*/5 * * * * /usr/local/bin/foxdd 1>/dev/null 2>&1
@85degree
85degree / index.js
Created November 4, 2017 15:32 — forked from martimatix/index.js
Writing data to Dynamodb from Serverless
'use strict';
const doc = require('dynamodb-doc');
const dynamo = new doc.DynamoDB();
const Q = require('kew');
module.exports.handler = (event, context, callback) => {
function putItem() {
const defer = Q.defer();
@85degree
85degree / fix-homebrew-npm.md
Created March 6, 2016 08:46 — forked from DanHerbert/fix-homebrew-npm.md
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

@85degree
85degree / install.md
Created December 7, 2015 02:15 — forked from Micka33/install.md
cassandra on mac OSX

Installing Cassandra on Mac OS X

Install Homebrew

Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
@85degree
85degree / nginx
Last active August 29, 2015 14:23 — forked from vdel26/nginx
#!/bin/sh
#
# chkconfig: 2345 55 25
# Description: Nginx init.d script, put in /etc/init.d, chmod +x /etc/init.d/nginx
# For Debian, run: update-rc.d -f nginx defaults
# For CentOS, run: chkconfig --add nginx
#
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $all