Skip to content

Instantly share code, notes, and snippets.

Primož Verdnik drye

Block or report user

Report or block drye

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am drye on github.
  • I am drye (https://keybase.io/drye) on keybase.
  • I have a public key whose fingerprint is 09BB 4B71 2E91 F053 7331 7233 3278 33DA 3EE8 3927

To claim this, I am signing this object:

@drye
drye / clone-intera-projects.sh
Last active Dec 30, 2015
Glone all intera projects
View clone-intera-projects.sh
#!/bin/sh
echo "This will clone all of the required Intera repos. Hold tight!"
git clone git@github.com:intera-doo/intrix.git
git clone git@github.com:intera-doo/intrix-custom.git
git clone git@github.com:intera-doo/intrix-extensions.git
git clone git@github.com:intera-doo/intrix-deploy.git
git clone git@github.com:intera-doo/intrix-control.git
git clone git@github.com:intera-doo/intera-webpage.git
@drye
drye / pingmonitor.sh
Created Aug 7, 2013
Continuously ping a set of hosts and log results to a file
View pingmonitor.sh
#!/bin/bash
HOSTS="www.google.com www.bing.com"
# no of ping requests
COUNT=1
# timeout in seconds
TIMEOUT=1
LOG=/var/log/pingmonitor.log
@drye
drye / Irssi Screen Startup.md
Last active Feb 13, 2019
Start Irssi with Screen on startup on Arch Linux on Raspberry PI
View Irssi Screen Startup.md

Start Irssi with Screen on startup on Arch Linux on Raspberry PI

Put this in the file /etc/systemd/system/irssiscreen@.service

[Unit]
Description=irssiscreen
After=network.target
View enable_dnsmasq_on_osx.sh
# bash <(curl -s https://gist.github.com/drye/5387341/raw/ec72cddfe43ec3d39c91a3c118cb68ab14a049f8/enable_dnsmasq_on_osx.sh)
# ----------------------
# installing dnsmasq and enable daemon
# ----------------------
brew install dnsmasq
sudo cp -v $(brew --prefix dnsmasq)/homebrew.mxcl.dnsmasq.plist /Library/LaunchDaemons
# ----------------------
# adding resolver for vbox domain
# ----------------------
@drye
drye / private.xml
Last active Dec 15, 2015
Private.xml file for KeyRemap4MacBook - changing the keyboard layout to Slovenian language temporarily while pressing the Caps lock key.
View private.xml
<?xml version="1.0"?>
<root>
<item>
<name>Slovenian charaters while holding caps lock (mapped to F19 with pc keyboard hack)</name>
<identifier>private.slovenian_chars</identifier>
<autogen>__KeyToKey__ KeyCode::F19, KeyCode::VK_NONE,
Option::KEYTOKEY_BEFORE_KEYDOWN,
KeyCode::VK_CHANGE_INPUTMODE_SLOVENIAN,
KeyCode::VK_WAIT_10MS,
KeyCode::VK_WAIT_10MS,
You can’t perform that action at this time.