Skip to content

Instantly share code, notes, and snippets.

View ruabmbua's full-sized avatar

Roland Ruckerbauer ruabmbua

View GitHub Profile
diff --git a/.SRCINFO b/.SRCINFO
index 5e88c27..e72701d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Thu Mar 28 15:40:30 UTC 2019
pkgbase = mullvad-vpn
pkgdesc = VPN Client for Mullvad.net, a bitcoin-friendly VPN for anonymity and privacy
- pkgver = 2019.2
@ruabmbua
ruabmbua / gist:6a879eab31f9c3f023b7
Created April 30, 2015 16:25
tracepath für server ip 46.4.115.43
1?: [LOCALHOST] pmtu 1500
1: gateway 14.193ms
1: gateway 3.498ms
2: 88-117-63-254.adsl.highway.telekom.at 40.012ms
3: 195.3.66.129 35.272ms
4: AUX11-LINZBC10.highway.telekom.at 26.925ms
5: 195.3.65.106 120.287ms asymm 6
6: 193.203.0.198 49.485ms asymm 10
7: core12.hetzner.de 79.751ms asymm 8
8: core22.hetzner.de 54.531ms
@ruabmbua
ruabmbua / gist:f9eaa38c2f7c8fbb6a6d
Created January 8, 2015 13:46
Cross platform directory exists check
bool directoryExists(const std::string &directory)
{
if(!directory.empty())
{
if(access(directory.c_str(), 0) == 0)
{
struct stat status;
stat(directory.c_str(), &status);
if(status.st_mode & S_IFDIR)
return true;