Skip to content

Instantly share code, notes, and snippets.

Arno Moonen itavero

Block or report user

Report or block itavero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cccaternberg
cccaternberg / Jenkinsfile
Created Oct 11, 2017 — forked from abayer/Jenkinsfile
An example Declarative Pipeline Jenkinsfile for Feb 15 2017 demo
View Jenkinsfile
// A Declarative Pipeline is defined within a 'pipeline' block.
pipeline {
// agent defines where the pipeline will run.
agent {
// This also could have been 'agent any' - that has the same meaning.
label ""
// Other possible built-in agent types are 'agent none', for not running the
// top-level on any agent (which results in you needing to specify agents on
// each stage and do explicit checkouts of scm in those stages), 'docker',
View Jenkinsfile1
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Hello from Build'
}
}
stage('Test') {
steps {
@jed-frey
jed-frey / ZZexample
Last active Nov 30, 2019
Enable mdns on a FreeNAS/BSD jail.
View ZZexample
freenas2# jls
JID IP Address Hostname Path
...
5 - etherpad /mnt/basin/jails/etherpad
...
freenas2# ./mdns.sh 5
Updating FreeBSD repository catalogue...
[etherpad] Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
[etherpad] Fetching packagesite.txz: 100% 6 MiB 5.9MB/s 00:01
@s1lvester
s1lvester / rancheros_on_freenas.md
Last active Aug 29, 2017
Installing RancherOS on FreeNAS using iohyve
View rancheros_on_freenas.md

RancherOS on FreeNAS

Date: 2016-10-04 Version: 1.2
Author: s1lvester@bockhacker.me

This is my short documentation on how to install RancherOS on FreeNAS.

Versions used:
- RancherOS v.0.6.1
- FreeNAS 9.10-stable
@mlocati
mlocati / win10colors.cmd
Last active Dec 6, 2019
ANSI Colors in standard Windows 10 shell
View win10colors.cmd
@echo off
cls
echo  STYLES 
echo ^<ESC^>[0m Reset
echo ^<ESC^>[1m Bold
echo ^<ESC^>[4m Underline
echo ^<ESC^>[7m Inverse
echo.
echo  NORMAL FOREGROUND COLORS 
echo ^<ESC^>[30m Black (black)
@mondain
mondain / public-stun-list.txt
Created Feb 15, 2016
Public STUN server list
View public-stun-list.txt
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
@wangkuiyi
wangkuiyi / pre-commit-clang-format
Last active Oct 10, 2019
Git pre-commit hook that invokes clang-format to reformat C/C++/Objective-C source code.
View pre-commit-clang-format
#!/bin/bash
# git pre-commit hook that runs an clang-format stylecheck.
# Features:
# - abort commit when commit does not comply with the style guidelines
# - create a patch of the proposed style changes
# modifications for clang-format by rene.milk@wwu.de
# This file is part of a set of unofficial pre-commit hooks available
# at github.
@fuzzmz
fuzzmz / accurev_wksp_change.md
Created May 16, 2013
Change accurev workspace location on disk
View accurev_wksp_change.md

How to change the location of an AccuRev workspace on disk

Let's say that you moved your workspace from the folder in which you initially created it and now want to make AccuRev aware of the new location for the files.

In order to change the location of a workspace the following command must be used:

accurev chws -w foo_workspace -l .

Notes:

@gdamjan
gdamjan / README.md
Last active Dec 9, 2019
Setup for an easy to use, simple reverse http tunnels with nginx and ssh. It's that simple there's no authentication at all. The end result, a single ssh command invocation gives you a public url for your web app hosted on your laptop.
View README.md

What

A lot of times you are developing a web application on your own laptop or home computer and would like to demo it to the public. Most of those times you are behind a router/firewall and you don't have a public IP address. Instead of configuring routers (often not possible), this solution gives you a public URL that's reverse tunnelled via ssh to your laptop.

Because of the relaxation of the sshd setup, it's best used on a dedicated virtual machine just for this (an Amazon micro instance for example).

Requirements

@fnando
fnando / dev.conf
Created Jul 23, 2011
Nginx configuration for SSH tunnel
View dev.conf
upstream tunnel {
server 127.0.0.1:3000;
}
server {
listen 80;
server_name dev.codeplane.com br.dev.codeplane.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
You can’t perform that action at this time.