Skip to content

Instantly share code, notes, and snippets.

View JSONOrona's full-sized avatar

Jason Orona JSONOrona

View GitHub Profile
@JSONOrona
JSONOrona / knife cheat
Created October 4, 2018 17:51 — forked from ipedrazas/knife cheat
Hello!
# knife cheat
## Search Examples
knife search "name:ip*"
knife search "platform:ubuntu*"
knife search "platform:*" -a macaddress
knife search "platform:ubuntu*" -a uptime
knife search "platform:ubuntu*" -a virtualization.system
knife search "platform:ubuntu*" -a network.default_gateway
@JSONOrona
JSONOrona / multi_env_knife_config
Created May 9, 2019 16:08 — forked from kevinkarwaski/multi_env_knife_config
Knife config for Multiple Chef Environments
#
# This is an example of a knife.rb configuration that uses yml and a
# simple env var (CHEF_ENV) to manage multiple hosted Chef environments.
#
# Example usage:
# export CHEF_ENV=evnironment_01
# knife status
#
# Based on: http://blog.blankpad.net/2010/09/28/multiple-knife-environments---the-return/
#
@JSONOrona
JSONOrona / remove.sh
Created June 17, 2024 21:09 — forked from HonbraDev/remove.sh
Ubuntu Server 20.04 LTS Firefox kiosk
# Stop the kiosk service
sudo systemctl stop kiosk
# Remove the kiosk service from startup
sudo systemctl disable kiosk
# Remove the kiosk service
sudo rm -f /etc/systemd/system/kiosk.service
# Reload systemctl daemons