Skip to content

Instantly share code, notes, and snippets.

View MartinBucko's full-sized avatar
💚
200 OK

Martin Bučko MartinBucko

💚
200 OK
View GitHub Profile
# MAYBE OUTDATED !!!
sudo apt-get install gcc python-dev libkrb5-dev -y
sudo apt-get install python3-pip -y
sudo pip3 install --upgrade pip
sudo pip3 install --upgrade virtualenv
pip3 install pywinrm
sudo apt install krb5-user -y
sudo apt-get install python3-kerberos -y
sudo pip3 install ansible
@MartinBucko
MartinBucko / data-markdown.user.js
Created October 11, 2023 08:25 — forked from paulirish/data-markdown.user.js
*[data-markdown] - use markdown, sometimes, in your HTML
// ==UserScript==
// @name Use Markdown, sometimes, in your HTML.
// @author Paul Irish <http://paulirish.com/>
// @link http://git.io/data-markdown
// @match *
// ==/UserScript==
// If you're not using this as a userscript just delete from this line up. It's cool, homey.
@MartinBucko
MartinBucko / cloud-config
Created April 15, 2023 03:29
fv-ckoud-config
#cloud-config
users:
- name: ${username}
groups: ${username}, users, admin
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
ssh_authorized_keys:
- ${user-ssh-key}
packages:
- ca-certificates
@MartinBucko
MartinBucko / disable-xss-auditor.sh
Created January 22, 2023 02:45 — forked from mbijon/disable-xss-auditor.sh
CLI command to start Chrome with XSS Auditor disabled. Use for XSS/security testing
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' --disable-xss-auditor --enable-devtools-experiments --disable-features=enable-automatic-password-saving
@MartinBucko
MartinBucko / tmux_local_install.sh
Created January 22, 2023 02:43 — forked from posva/tmux_local_install.sh
Install tmux without root rights. Fixed from https://gist.github.com/ryin/3106801
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.9
@MartinBucko
MartinBucko / pdfcat.fish
Created October 20, 2022 21:48 — forked from foonathan/pdfcat.fish
Small fish script that cats pdf files while preserving bookmarks
#!/bin/fish
#
# Copyright (C) 2022 Jonathan Müller
# SPDX-License-Identifier: BSL-1.0
#
# Usage: pdfcat input1 input2 ... inputN output
function print_usage
echo "Usage:" (basename (status -f)) "input1 input2 ... inputN output"
end
@MartinBucko
MartinBucko / transcode-install.sh
Created October 20, 2022 21:48 — forked from mmstick/transcode-install.sh
Ubuntu 10-bit HEVC Transcoding Tools -- Contains a script to install x265-10bit-git, libass-git, ffmpeg-git and bomi-git; another for updating everything; as well as scripts for transcoding videos with ffmpeg. Transcoding scripts require the fish shell to be installed.
#!/bin/bash
sourcedir="$HOME/.local/src/"
mkdir "$sourcedir"
export CFLAGS='-march=native -O3 -pipe -fstack-protector -Wall'
export CXXFLAGS='-march=native -O3 -pipe -fstack-protector -Wall'
function install-dependencies() {
# Install build tools and Mesa VDPAU support.
sudo apt-fast install -y cmake yasm autoconf build-essential mesa-vdpau-drivers \
libvdpau-va-gl1
/* GitHub mutations observer library script v0.4.4
* Detect changes to various elements and trigger an event
* This script is meant to be used as a library for GitHub-based userscripts
* Copyright © 2021 Rob Garrison
* License: MIT
*/
(() => {
"use strict";
// prefix for event & document body class name, e.g. "ghmo:container"
@MartinBucko
MartinBucko / keybase.md
Last active June 23, 2022 23:03
keybase public key

Keybase proof

I hereby claim:

  • I am martinbucko on github.
  • I am martinbuco (https://keybase.io/martinbuco) on keybase.
  • I have a public key ASBqoefXJV8chUxZcnffMhv_M7rpS217rqOgYsYtM03nIwo

To claim this, I am signing this object:

@MartinBucko
MartinBucko / HTML5VIDEOBROADCASTING
Created December 20, 2021 01:59 — forked from Manishfoodtechs/HTML5VIDEOBROADCASTING
live-broadcast-on-html-page-with-html5-video-injust-30-minutes
https://dev.to/manishfoodtechs/live-broadcast-on-html-page-with-html5-video-injust-30-minutes-3pp6
===========================================================================================
# 1: Install Nginx + RTMP module.
sudo apt install -y nginx
sudo apt install -y libnginx-mod-rtmp
# 2: Installing required & additional software.