Skip to content

Instantly share code, notes, and snippets.

@zieglar
zieglar / failover.md
Created April 8, 2024 17:07 — forked from tdussa/failover.md
MikroTik failover routing description (living document)

MikroTik Routing Failover

This is meant to be a somewhat-easier-to-digest recap of the discussion that can be found on the MikroTik forum at this URL: https://forum.mikrotik.com/viewtopic.php?f=23&t=157048&p=836497&hilit=failover#p836497 Note that the forum discussion not only addresses failover, but also load balancing at the same time (without explicitly saying so in the beginning).

For the sake of this document, we'll make some assumptions:

Reverse proxy over 3G modem (draft)

We will explain how to configure a cubieboard running debian as a reverese proxy. The modules that will be used are wvdial and autossh

Credits goes to:

1. http://blog.rootshell.be/2015/02/19/my-little-pwnie-box/
2. https://wiki.archlinux.org/index.php/3G_and_GPRS_modems_with_pppd
@zieglar
zieglar / README.md
Created November 20, 2019 17:08 — forked from janlay/README.md
delete-tweets

delete-tweets.sh

This util deletes your historical tweets from a downloaded archive file.

No guarantee, no support, use it at your own risk.

Preparations

  1. Apply to become a Twitter developer first. Once your Twitter developer account application is approved, You can create a new app and get its Consumer API keys and generate Access token. These keys are used to configure tweet.sh
  2. Obtain archived tweets by requesting to download your Twitter data. You can extract tweet.js file from the downloaded .zip file.

Keybase proof

I hereby claim:

  • I am zieglar on github.
  • I am zieglar (https://keybase.io/zieglar) on keybase.
  • I have a public key whose fingerprint is 0128 E71D 7906 28A3 FD16 A3E6 2C56 D994 6E0C E437

To claim this, I am signing this object:

@zieglar
zieglar / README.md
Last active August 29, 2015 14:27 — forked from magnetikonline/README.md
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.
Pod::Spec.new do |s|
s.name = 'AFNetworking-ProxyQueue'
s.version = '1.0'
s.homepage = 'https://github.com/jamztang/AFNetworking-ProxyQueue'
s.source = { :git => 'https://github.com/jamztang/AFNetworking-ProxyQueue.git'}
s.requires_arc = true
s.ios.deployment_target = '6.0'
s.source_files = 'AFHTTPClient+ProxyQueue.{h,m}'
Pod::Spec.new do |s|
s.name = 'ValueInjector'
s.version = '1.0.7'
s.homepage = 'https://github.com/kelp404/ValueInjector'
s.source = { :git => 'https://github.com/kelp404/ValueInjector.git'}
s.requires_arc = true
s.ios.deployment_target = '6.0'
s.source_files = 'ValueInjector.{h,m}'
brew install -V /usr/local/Library/Formula/php54-imagick.rb
==> /usr/local/Cellar/php54/5.4.16/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-imagick/3.1.0RC2 --with-php-config=/usr/local/Cellar/php54/5.4.16/bin/php-config
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/local/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.8.6 Q16
checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install phpmyadmin [15:48:36]
==> phpize
phpize
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/.rb#L
==> Build Environment
HOMEBREW_VERSION: 0.9.3