Skip to content

Instantly share code, notes, and snippets.

View bennythejudge's full-sized avatar

Benedetto Lo Giudice bennythejudge

  • Luxembourg
  • 07:59 (UTC +02:00)
View GitHub Profile
@bennythejudge
bennythejudge / PRIVACY.md
Created July 30, 2026 14:51
Ben's Tab Sorter — Privacy Policy

Privacy Policy — Ben's Tab Sorter

Last updated: 2026-07-29

Ben's Tab Sorter is a Chrome extension that sorts, groups, and manages the tabs in your own browser. This policy covers what it does and does not do with your data.

What data the extension accesses

@bennythejudge
bennythejudge / Remove_PDF_protection.md
Last active May 31, 2025 16:43
Remove PDF protection to allow copy and highlight

Remove PDF protection to any PDF file present in the current directory, overwriting the file.

  • Use at your own risk, no warranty is provided.

  • Allows to copy and to highlight the PDF

Requirements

You need Python installed and pikepdf:

@bennythejudge
bennythejudge / jenkins-dump-credentials.groovy
Created March 30, 2022 11:22 — forked from timja/jenkins-dump-credentials.groovy
Dump jenkins credentials - use in script console
import com.cloudbees.plugins.credentials.*
import com.cloudbees.plugins.credentials.common.*
import com.cloudbees.plugins.credentials.domains.*
import com.cloudbees.plugins.credentials.impl.*
import com.cloudbees.jenkins.plugins.sshcredentials.impl.*
import org.jenkinsci.plugins.plaincredentials.impl.*
// def item = Jenkins.instance.getItem("your-folder")
@bennythejudge
bennythejudge / pipefail_examples.sh
Created March 28, 2019 08:15 — forked from yoramvandevelde/pipefail_examples.sh
Examples of why pipefail is really important to use
#!/bin/bash
# author: Yoram van de Velde ( _@sp2.io )
# Examples of why pipefail is really important to use.
# We enable exit on error functionality
set -o errexit
# These commands will fail but not stop the script because of the pipes
# to succesfull commands. This works because error is output to stderr,

Pytest Introduction

Copyright 2018 - Matt Harrison

@__mharrison__

Activities

Activity 1 - "Hello, World" of Computer Vision

You must change directory to the directory where GoCV has been installed, then you can run the code.

Windows

chdir %GOPATH%\src\gocv.io\x\gocv

go run cmd\hello\main.go

AWSTemplateFormatVersion: '2010-09-09'
Metadata: {}
Parameters:
###########
KeyName:
Description: The EC2 Key Pair to allow SSH access to the instance
Type: 'AWS::EC2::KeyPair::KeyName'
AvailabilityZone:
Description: Availability zone to deploy
@bennythejudge
bennythejudge / readme.MD
Created March 7, 2018 20:56 — forked from davideschiera/readme.MD
Grafana Sysdig datasource

Sysdig Datasource Plugin for Grafana

Plugin to connect Grafana with Sysdig.

grafana-create-sysdig-panel

Getting started!

1. Installation

@bennythejudge
bennythejudge / docker-compose.yml
Created February 15, 2018 21:38 — forked from vaibhavkumar-sf/docker-compose.yml
docker-compose.yml STATIC IP assignment to all containers of a docker
version: "2"
services:
varnish:
#hostname: magento2.docker
image: meanbee/magento2-varnish:latest
environment:
- VIRTUAL_HOST=magento2.docker
- VIRTUAL_PORT=80
- HTTPS_METHOD=noredirect
ports:
@bennythejudge
bennythejudge / Option A
Created November 14, 2017 21:42 — forked from anonymous/Option A
3 options for the layout of an activity for a quiz question
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity">