Skip to content

Instantly share code, notes, and snippets.

View Temikus's full-sized avatar

Artem Yakimenko Temikus

View GitHub Profile
Temikus / Brewfile
Created October 25, 2021 04:56
Artem's Brewfile
# Common taps
tap "homebrew/cask-versions"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-drivers"
tap "homebrew/core"
# Runtimes - python
brew "python@3.9"
brew "pylint"
Temikus / tf_graph
Last active August 29, 2015 14:21
Terraform draw cycles
terraform graph -draw-cycles -module-depth=-1 | dot -Tpng > graph.png`
Temikus / gist:2ea2e79dae9862315499
Created April 27, 2015 18:57
Vagrant dep issues
λ vagrant plugin install --debug /Users/temikus/Code/vagrant-dev/vagrant-google/pkg/vagrant-google-0.1.4.gem (1)
INFO global: Vagrant version: 1.7.2
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded"

Keybase proof

I hereby claim:

  • I am temikus on github.
  • I am temikus ( on keybase.
  • I have a public key whose fingerprint is 75EA 0B04 1004 8AE5 C833 E73C 1818 2EDE 9A18 AA88

To claim this, I am signing this object:

Temikus /
Last active March 13, 2023 10:21
OpenWRT DDNS using DigitalOcean API
# Script for sending user defined updates using DO API
# 2015 Artem Yakimenko <code at temik dot me>
# activated inside /etc/config/ddns by setting
# option update_script '/usr/lib/ddns/'
# the script is parsed (not executed) inside send_update() function
# of /usr/lib/ddns/
# so you can use all available functions and global variables inside this script
Temikus /
Created January 14, 2015 13:27
Mac break bluetooth
# The following commands effectively break bluetooth on a mac. Menu is stuck in an "off" state that cannot be toggled back.
# Can be used when bluetooth needs to be disabled for security reasons.
echo "Powering bluetooth off"
sudo defaults write /Library/Preferences/ "ControllerPowerState" 0
echo "Disabling services"
sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/'
Temikus / gist:a0b459b41568f37ecefa
Created November 30, 2014 10:49
Kickstart post redirection to see progress
# Change to a vt to see progress
exec < /dev/tty3 > /dev/tty3
chvt 3
# redirect output to ks-post.log including stdout and stderr
Temikus / rogue
Last active August 30, 2021 13:46
rogue.awk - Find files that are not accounted for in RPMdb. Usage: awk -f rogue.awk
#!/bin/awk -f
# rogue.awk - Find files that are not accounted for
# awk -f rogue.awk
# Rogue is called from a cron job on an hourly basis.
# It parses files in the filesystem and checks to see
# that they belong to an rpm. Then it prints the
# output of rpm -Va to verify those files that do
#! /bin/bash
#Retrieve the list of devices, an IPA file was built for by parsing the embedded.mobileprovision.
[[ -n "$1" ]] || { echo "Usage: ./ sample.ipa"; exit 0 ; }
mkdir $TMPDIR
unzip -qq $IPAFILE -d $TMPDIR
Temikus / gist:5895078
Created June 30, 2013 13:04
Check Apple MDM certificate validity.
openssl s_client -connect -cert mdm_push_cert.pem