Skip to content

Instantly share code, notes, and snippets.

stop slave;
SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
start slave;
@jgrossiord
jgrossiord / gist:0bd525974a5ec059adba
Created June 2, 2015 08:39
Mikrotik script generate address list from DNS cache entries
:foreach i in=[/ip dns cache find] do={
:local bNew "true";
:local cacheName [/ip dns cache all get $i name] ;
# :put $cacheName;
:if (([:find $cacheName "facebook" -1] >= 0) || ([:find $cacheName "outlook" -1] >= 0)) do={
:local tmpAddress [/ip dns cache get $i address] ;
:put $cacheName;
:put $tmpAddress;
@jgrossiord
jgrossiord / ovhfact.rb
Last active August 29, 2015 14:22 — forked from solisoft/ovhfact.rb
#!/usr/bin/ruby
# Require:
# - linux or Mac
# - ruby 1.8.7
# - Gem soap4r
# - curl
#
# Usage :
# ruby ovhfact.rb 2011
#

Keybase proof

I hereby claim:

  • I am jgrossiord on github.
  • I am grossiord (https://keybase.io/grossiord) on keybase.
  • I have a public key whose fingerprint is EFFC E773 5280 CEBE 2945 2A6C 2E7F 56C5 8016 75E3

To claim this, I am signing this object: