Skip to content

Instantly share code, notes, and snippets.

View agileone's full-sized avatar

Serge Simard agileone

  • Agilitae Services Conseils
  • Montréal
View GitHub Profile
@agileone
agileone / boxstarter.ps1
Created September 20, 2017 04:09 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@agileone
agileone / goebpfhacks.go
Created July 10, 2017 21:06 — forked from supershabam/goebpfhacks.go
ugly hot-off-the-experimentation-press golang to load a noop ebpf program (it just returns zero on a kprobe and isn't even attached to anything)
package main
import (
"bytes"
"encoding/binary"
"fmt"
"strconv"
"syscall"
"unsafe"
pragma solidity ^0.4.0;
import "SafeMath.sol";
import "IERC20Token.sol";
/**
* @dev Implements a capped token sale using a second-price auction.
*
* @author Nick Johnson <arachnid@notdot.net>
*
@agileone
agileone / freeswitch.sql
Created June 12, 2017 05:33 — forked from PBXForums/freeswitch.sql
Postgres Freeswitch DB Schema for 1.6
CREATE TABLE json_store (
name varchar(255) not null,
data text,
name_uuid PRIMARY KEY default gen_random_uuid()
);
ALTER TABLE json_store OWNER TO fusionpbx;
CREATE TABLE agents (
name character varying(255),
@agileone
agileone / five_minutes.yml
Created March 14, 2017 05:28 — forked from ryane/five_minutes.yml
five_minutes.yml
---
- hosts: all
vars:
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx'
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx'
UBUNTU_COMMON_LOGWATCH_EMAIL: user@example.com
ubuntu_common_deploy_user_name: deploy
ubuntu_common_deploy_public_keys:
- ~/.ssh/id_rsa.pub
@agileone
agileone / reclaimWindows10.ps1
Created January 8, 2017 06:40 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@agileone
agileone / microservice.fsh
Created June 16, 2016 00:21 — forked from gastaldi/microservice.fsh
JBoss Forge Script to create a WildFly Swarm Microservice and configuring as a KeyCloak client
#Install the required plugins
addon-install-from-git --url https://github.com/forge/wildfly-swarm-addon.git
addon-install-from-git --url https://github.com/forge/keycloak-addon.git
# Create the project and configure the WildFly Swarm maven plugin
project-new --named demo --stack JAVA_EE_7 --type wildfly-swarm
# Create the JPA entity
jpa-new-entity --named Customer
@agileone
agileone / bulk-neo4j-import.sh
Created May 11, 2016 02:06 — forked from jexp/bulk-neo4j-import-original.sh
Panama Papers Import Scripts for Neo4j and Docker
export NEO4J_HOME=${NEO4J_HOME-~/Downloads/neo4j-community-3.0.1}
if [ ! -f data-csv.zip ]; then
curl -OL https://cloudfront-files-1.publicintegrity.org/offshoreleaks/data-csv.zip
fi
export DATA=${PWD}/import
unzip -o -j data-csv.zip -d $DATA