Skip to content

Instantly share code, notes, and snippets.

View TheRojam's full-sized avatar
🐧
working w/ ♡

Anton Müller TheRojam

🐧
working w/ ♡
View GitHub Profile
@TheRojam
TheRojam / keybase.md
Last active August 29, 2015 14:15
keybase.md

Keybase proof

I hereby claim:

  • I am therojam on github.
  • I am therojam (https://keybase.io/therojam) on keybase.
  • I have a public key whose fingerprint is BFCF BD96 244F D50E C133 1010 E84A C970 083F 58CF

To claim this, I am signing this object:

@TheRojam
TheRojam / ~$: lspci -k
Created June 13, 2015 16:24
~$: lspci -k (therojam@arch)
~$: lspci -k
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
Subsystem: Lenovo Device 20e0
Kernel driver in use: agpgart-intel
lspci: Unable to load libkmod resources: error -12
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Lenovo Device 20e4
Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Lenovo Device 20e4
@TheRojam
TheRojam / .gitconfig
Created September 20, 2016 11:55 — forked from leipert/.gitconfig
Useful git aliases
[alias]
## pulling
# git p: pulls all branches, autostashing and rebasing instead of merging
# this is a similiar behaviour to git-up
p = pull --rebase --autostash --all --verbose --no-recurse-submodules
# git smiu: update all submodules recursively (and init them if necessary)
smiu = submodule update --init --recursive
# git up: update current project
up = "!git p && git smiu"
@TheRojam
TheRojam / keybase_prove
Created September 27, 2016 09:53
prove github identity
### Keybase proof
I hereby claim:
* I am therojam on github.
* I am therojam (https://keybase.io/therojam) on keybase.
* I have a public key whose fingerprint is 943D 2569 2DA0 DAA4 97DF 23BE 47F5 5ECE D035 B287
To claim this, I am signing this object:
# Maintainer: Morten Linderud <[email protected]>
pkgname="molecule"
pkgver=22.10.1
# pkgrel=2 TO CHANGEE
_commit=303337927095ab09957fca03ad145f176d0acb0c
pkgdesc='aids in the development and testing of Ansible roles.'
url='https://github.com/metacloud/molecule/tree/2.10.1'
arch=('any')
license=('MIT')
makedepends=('python' 'python-setuptools')
-- Debian packages nginx-extras, lua-zlib required
ngx.ctx.max_chunk_size = tonumber(ngx.var.max_chunk_size)
ngx.ctx.max_body_size = tonumber(ngx.var.max_body_size)
function create_error_response (code, description)
local message = string.format('{"status":400,"statusReason":"Bad Request","code":%d,"exception":"","description":"%s","message":"HTTP 400 Bad Request"}', code, description)
ngx.status = ngx.HTTP_BAD_REQUEST
ngx.header.content_type = "application/json"
ngx.say(message)
@TheRojam
TheRojam / install-docker.sh
Last active March 10, 2020 18:33 — forked from d1rk/install-docker.sh
install docker on osx
cd
brew update
brew cask install docker
docker version
@TheRojam
TheRojam / telegram_notification.sh
Created February 25, 2021 18:16 — forked from anson-vandoren/telegram_notification.sh
Travis-Telegram notification script
#!/bin/sh
##########################################################################
# Note: you must have set up your Travis CI environment variables for this
# project to include both TELEGRAM_TOKEN and TELEGRAM_CHAT_ID
# For more details, see the Telegram documentation at:
# - https://core.telegram.org/bots/api
# and the blog posts at:
# - https://ansonvandoren.com/posts/telegram-notification-on-deploy/
# - https://ansonvandoren.com/posts/travis-telegram-integration/
@TheRojam
TheRojam / checkdiskspaceall.yml
Created June 1, 2022 14:42 — forked from goodc0re/checkdiskspaceall.yml
Ansible playbook that checks if there is less than 95% free disk space
# checkdiskspaceall.yml
---
- hosts: zcoin_masternodes
vars_files: vault.yml
become: yes
become_method: sudo
gather_facts: yes
tasks:
- name: Collect only facts about hardware
setup: