Skip to content

Instantly share code, notes, and snippets.

View orgcontrib's full-sized avatar
:octocat:
contributing

Org Contrib orgcontrib

:octocat:
contributing
View GitHub Profile
@ernestoguimaraes
ernestoguimaraes / gist:e691040b8cbe3b362be19aa45b48fcb2
Created June 24, 2018 12:16
Do you want ASCII Art on your README Files?
ASCI Art - A Great wait to express some beautiful typography on your Console Applications!! I decided to add on my README files
using the site bellow to create the typo
http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20
And them, expressing it as a Code Markdown mark! Give a try.
_ _
___ _ __ _ __ ___ ___| |_ ___ __ _ _ _(_)_ __ ___ __ _ _ __ __ _ ___ ___
/ _ \ '__| '_ \ / _ \/ __| __/ _ \ / _` | | | | | '_ ` _ \ / _` | '__/ _` |/ _ \/ __|
@joerodgers
joerodgers / AutomatedPatchReferenceGuide.md
Last active October 15, 2021 20:47
Automated Patch Reference Guide

Automated Patch Reference Guide

Overview

The installation and configuration of SharePoint 2013 Cumulative Updates, Service Packs and Security Updates are a time intensive and tedious process. In an effort to reduce the installation time, a series of PowerShell scripts was developed to reduce the effort required in patch installation and PSCONFIG execution. Each script described in this guide is independent from one another, allowing a SharePoint administrator to execute any number of scripts to aid with patch installation.

PowerShell Remoting Configuration

The majority of the scripts referenced in this document require PowerShell Remoting to be configured on each of the SharePoint servers in the farm. PowerShell Remoting allows a PowerShell script to execute commands on each of the SharePoint servers, without an administrator having to logon to the SharePoint server and manually execute a script. The following section outlines the steps necessary to configure PowerShell Remoting on the servers in

@krisleech
krisleech / renew-gpgkey.md
Last active October 6, 2025 20:21
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date:

@jaredrummler
jaredrummler / COPYRIGHT_NOTICE_TEMPLATES.md
Last active February 3, 2025 15:19
Copyright templates for Intellij IDEA
@LM1LC3N7
LM1LC3N7 / README.md
Last active August 27, 2024 09:54
SSH PAM module - Telegram Alert on connect and disconnect, with IP exceptions.

SSH Telegram configuration

telegram

Bot creation

  1. Open your app and search for @BotFather, or open this link: https://telegram.me/botfather.
  2. Type /newbot
  3. Name your new bot (this is the contact name, like "Bot My server")
  4. Give it a unique Telegram name, ending with bot(like "my_server_bot")
  5. Now, you should see a token: keep it safe!
@orgcontrib
orgcontrib / pgp-gpg-notes.md
Last active December 5, 2024 20:30 — forked from dacbarbos/pgp-gpg-help.md
PGP & GPG notes
@oseme-techguy
oseme-techguy / Correct_GnuPG_Permission.sh
Last active September 30, 2025 04:22
This fixes the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error while using Gnupg .
#!/usr/bin/env bash
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error
# Make sure that the .gnupg directory and its contents is accessibile by your user.
chown -R $(whoami) ~/.gnupg/
# Also correct the permissions and access rights on the directory
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg
@jc-torresp
jc-torresp / raspberry-pi-plex-server.md
Last active October 3, 2025 21:21
Setup a Raspberry Pi Plex Media Server (Including external storage media and Windows to Raspbian migration)

Raspberry Pi Plex Server

Installation

Ensure our operating system is entirely up to date:

sudo apt-get update
sudo apt-get upgrade
#!/bin/bash
set -eu
# Based on:
# https://gist.githubusercontent.com/bboozzoo/d4b142229b1915ef7cc0cf8593599ad9/raw/367f593d7ef61a3659951f42c699e86820a8db75/reproduce.sh
export LC_ALL=C
LOOPS=40
COUNT="${COUNT-20}"
@edwintorok
edwintorok / rdrand.c
Created January 11, 2021 23:13
gcc rdrand.c -O2 -o rdrand -fopenmp -Wall
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#if defined(__i386__) || defined(__x86_64__)
#include <cpuid.h>
#endif
#include <errno.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>