Skip to content

Instantly share code, notes, and snippets.

View hmarcelodn's full-sized avatar

Hugo Marcelo Del Negro hmarcelodn

  • Melon Technologies
  • Argentina
View GitHub Profile
@hmarcelodn
hmarcelodn / generator.sh
Created November 5, 2020 18:22
P12 Generator
#!/bin/bash
USERNAME=marcelo.delnegro
NAME=cert.staging.na01.northcountryfire.demandware.net
DAYS=36500
# 0 - Navigate to P12
cd ./STG-2FA-northcountryfire-00457696/
# 1 - Generate Request
@hmarcelodn
hmarcelodn / Dockerfile
Created January 8, 2019 04:00
Docker CircleCI Custom
FROM debian
# Environment Variables
ENV VER=17.03.0-ce
# Installing Utilities
RUN apt-get clean
RUN apt-get update
RUN apt-get install curl -y
RUN apt-get install gnupg2 -y
@hmarcelodn
hmarcelodn / yml
Last active January 8, 2019 03:57
CircleCI Sample Workflow
---
version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.1
working_directory: ~/repo
steps:
- checkout
- restore_cache:
#!/bin/bash
echo "============================================="
echo "== HELM RELEASE TOOL =="
echo "============================================="
echo ""
# Globals
DD_SERIES_URL="https://api.datadoghq.com/api/v1/series?api_key=${DD_API_KEY}"
DD_STREAM_URL="https://api.datadoghq.com/api/v1/events?api_key=${DD_API_KEY}"
#!/bin/bash
echo "============================================="
echo "== HELM BUILD TOOL =="
echo "============================================="
echo ""
# Globals
DD_SERIES_URL="https://api.datadoghq.com/api/v1/series?api_key=${DD_API_KEY}"
DD_STREAM_URL="https://api.datadoghq.com/api/v1/events?api_key=${DD_API_KEY}"
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const { AureliaPlugin, ModuleDependenciesPlugin } = require('aurelia-webpack-plugin');
const { optimize: { CommonsChunkPlugin }, ProvidePlugin } = require('webpack')
const { TsConfigPathsPlugin, CheckerPlugin } = require('awesome-typescript-loader');
// config helpers:
const ensureArray = (config) => config && (Array.isArray(config) ? config : [config]) || []
import { PLATFORM } from 'aurelia-pal';
export { NavBar } from './bar/nav-bar';
export function configure(config) {
config.globalResources([
/*PLATFORM.moduleName('./bar/nav-bar'),
PLATFORM.moduleName('./text-editor'),
PLATFORM.moduleName('./search-bar'),
PLATFORM.moduleName('./controls/check-box'),
PLATFORM.moduleName('./controls/tabs'),
import { Aurelia } from 'aurelia-framework';
import { PLATFORM } from 'aurelia-pal';
import { AuthService } from 'aurelia-auth';
import * as Bluebird from 'bluebird';
import * as AureliaAuth from 'aurelia-auth'
import * as authConfig from './authConfig';
Bluebird.config({ warnings: { wForgottenReturn: false } });
export async function configure(aurelia: Aurelia) {
{
"name": "skeleton-typescript-webpack",
"version": "1.0.0",
"description": "A starter kit for building a standard navigation-style app with Aurelia and Webpack.",
"main": "dist/app.bundle.js",
"repository": {
"url": "git+ssh://[email protected]/aurelia/skeleton-navigation.git",
"type": "git"
},
"author": "Bazyli Brzóska <[email protected]> (https://invent.life/)",
@hmarcelodn
hmarcelodn / Gruntfile.js
Created September 2, 2015 11:59
Gruntfile.js Template for having LiveReload
module.exports = function(grunt){
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
connect: {
all:{
options:{
port: 9000,
hostname:"0.0.0.0",