Skip to content

Instantly share code, notes, and snippets.

View attiss's full-sized avatar

Attila Fabian attiss

  • Budapest, Hungary
View GitHub Profile
@JohnStarich
JohnStarich / unroll-github-comments-bookmarklet.js
Last active October 3, 2023 12:09
Load all collapsed GitHub comments
javascript:(function() {
/*
To use this bookmarklet, create a new bookmark in your browser and paste
the entire contents of this file into the URL address box.
*/
let emptyMillis = 0;
const delayMillis = 250;
const interval = setInterval(() => {
const elems = document.querySelectorAll('.pagination-loader-container button[type="submit"]');
@jasmas
jasmas / umbrellactl
Last active April 30, 2024 11:03
umbrellactl: Bash script to check status, enable or disable Cisco Umbrella Roaming Security Module for AnyConnect on MacOS
#!/usr/bin/env bash
PLUGIN_BASE='/opt/cisco/secureclient/bin/plugins'
read -r -d '' USAGE << EGASU
Usage: `basename $0` [-s|-e|-d|-h]
-s, --status Print Umbrella Roaming Security module status
-e, --enable Enable Umbrella Roaming Security module
-d, --disable Disable Umbrella Roaming Security module
@efeldhusen
efeldhusen / vmware-template.centos7.sh
Last active May 23, 2023 04:02
Bash script for Centos 7.x VMware Template Images
#!/bin/bash
#Paths are for Centos 7.x
# Install optional packages
/usr/bin/yum install -y epel-release
/usr/bin/yum install -y bash-completion htop yum-utils dkms open-vm-tools
#stop logging services
/sbin/service rsyslog stop
/sbin/service auditd stop