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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@85degree
85degree / OrangEntity.java
Last active July 28, 2022 11:11
Latihan Rest API sederhana untuk teman2 UPJ
package id.ac.upj.entity;
import javax.persistence.Entity;
import javax.persistence.Table;
import io.quarkus.hibernate.orm.panache.PanacheEntity;
@Entity
@Table(name = "orang")
public class OrangEntity extends PanacheEntity {
@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 / .block
Created February 22, 2020 21:50
Employees Hierarchy Chart using d3.js
license: mit
#!/bin/sh
### BEGIN INIT INFO
# Provides: softether-vpnserver
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Should-Start: network-manager
# Should-Stop: network-manager
# X-Start-Before: $x-display-manager gdm kdm xdm wdm ldm sdm nodm
# X-Interactive: true
# Default-Start: 2 3 4 5
@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();