Categories
islba-company

a new week

Now, is this a Friday afternoon problem or a Monday morning problem? Who Cares! I need to assess and evaluate issues in a similar manner every day.
Not just Friday afternoon or Monday morning.
Let’s Go!

And the Week starts with something like this …...

  • *) Logfiles
  • *) Logfiles
  • *) Lofgiles
  • and guess what …. Logfiles
# cat audit.log | grep "911-islba.com" | awk 'match($0, /[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) {i[substr($0,RSTART,RLENGTH)]=1}END{for(ip in i){printf("%s\n", ip)}}'

Don’t get me wrong, fancy dashboards are cool, but someone gonna do the work a script can’t do.
yet. !

Categories
islba-company

islba-inside code snippets

The Yard

Disclaimer:
[use this code at your own risk and only if you know what you are doing. no liability from us for the consequences. so leave us alone if things go sideways ]

function  wpb_remove_commentsip( $comment_author_ip ) {
	return '';
	}
add_filter( 'pre_comment_user_ip', 'wpb_remove_commentsip' );

The Barn

Disclaimer:
[use this code at your own risk and only if you know what you are doing. no liability from us for the consequences. so leave us alone if things go sideways]


function disable_emojis_remove_dns_prefetch( $urls, $relation_type ) {
 if ( 'dns-prefetch' == $relation_type ) {
 $emoji_svg_url = apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2/svg/' );

$urls = array_diff( $urls, array( $emoji_svg_url ) );
 }

return $urls;
}

Categories
islba-company

Crisis Rescue and Management

Niemand kann vorhersagen, wann die Katastrophe einschlagen wird, aber zu wissen, was zu erwarten ist, kann einen deutlichen Vorteil bringen. Jede Krise oder Katastrophe hat seinen einzigartigen Charakter begründet und verwurzelt in spezifischen Realitäten das Geschäftsumfeldes. Wir kennen diese und helfen nachhaltig.

Nachdem wir immer mehr Unternehmen bei der Bewältigung von Katastrophen, internen Krisen und anderen Feindseligkeiten beigestanden, geholfen und bei der Bewältigung unterstützt haben. Können wir durch unsere Erfahrung auch Ihnen helfen, falls das Schlimmste passiert. Oder Ihnen besser vorab helfen es zu verhindern.

Categories
islba-company

Try to Fix Twitter Cards Not Showing Images on WordPress

oh hell yeahhh … what a waste of time …. and good coffee ….

How Does Twitter Cards Work?
When your tweet has a link to a site that has twitter cards enabled, there is an option to view summary.
Whenever another user clicks on the tweet, they will see this summary.

There are 2 ways to implement Twitter Cards, the easy way or the hard coded way 😉
Guess what we do trying to avoid as long and as many plugins as we can.