Skip to content

Instantly share code, notes, and snippets.

View b23prodtm's full-sized avatar

TiB Rkt Arimana b23prodtm

View GitHub Profile
@b23prodtm
b23prodtm / systemctl-wpa-supplicant.sh
Created April 17, 2019 17:08
Configure and enable wifi client with Ubuntu server LTS
#!/usr/bin/env bash
# Usage: $ scripts/systemctl-wpa-supplicant.sh
# source: https://www.linuxbabe.com/command-line/ubuntu-server-16-04-wifi-wpa-supplicant
#
function cfrm_act () {
def_go=$2
y='y'
n='n'
[ "$def_go" == "$y" ] && y='Y'
[ "$def_go" == "$n" ] && n='N'
[all]
raspberrypib ansible_ssh_host=192.168.0.36 ansible_user=ubuntu ansible_become=yes ansible_host=192.168.0.36 ip=192.168.0.36 etcd_member_name=etcd1
raspberrypia ansible_ssh_host=192.168.0.37 ansible_user=ubuntu ansible_become=yes ansible_host=192.168.0.37 ip=192.168.0.37
# [bastion]
# macrouter
[kube-master]
raspberrypib
#hosts.ini
[all]
raspberrypi ansible_ssh_host=192.168.0.16 ip=192.168.0.16 ansible_host=192.168.0.16 ansible_user=pi
[kube-master]
raspberrypi
[etcd]
raspberrypi
@b23prodtm
b23prodtm / WakeUpDVD
Created October 23, 2018 13:47
Wake Up DVD Drive Unsupported Mac
#!/bin/bash
# Sometimes optical disc cannot load with third-party optical drives.
# They may have fallen to sleep mode, ejected discs, etc.
# That can happen if an unsupported OSX version is installed on your Mac (10.13 on iMac 2009).
# This wakes up any optical drive installed on your Mac from the finder.
# INSTALL
# =======
# Save this script to a desktop file named WekeUpDVD and make it executable
# cd ~/Desktop && chmod a+x WakeUpDVD
# Double-click to run the script, a Terminal Window will open and close itself.
@b23prodtm
b23prodtm / README.md
Created December 25, 2013 23:21 — forked from rikels/README.md

this scripts installs: Flash, PDF, for some Chromium OS builds. (confirmed on Vanilla build 3389 Built on 12th December 2012!) Carputers confirmed that it also works on ArnoldTheBat's Cx86OS-20130423010101 build!

Sadly enough the Hangouts stopped working! i don't know about Netflix, since i can't test it. and since ~4-08-2013 MP3/Mp4 stopped working?

if you want to use this script on ArnoldTheBat's Chromium OS build, keep in mind that he uses the password: "password" instead of "facepunch". (without the quotes ;))