Let’s say you don’t want to copy/paste a text to post it to pastebin services and then send the link to a friend but you want to automatically place it on pastebin services. In order to do that we will use pastebinit app from Mac Ports on OSX (see at the end for Linux usage). Let’s install it:
sudo port install pastebinit
If you want to debug your DNS server but you do not like command line tools like dig or nslookup, there’s an useful online tool that helps you when trying to troubleshot your DNS server:
Here are 3 online tools that help you to debug your website:
PageSpeed Insights from Google: https://developers.google.com/speed/pagespeed/insights/
PingDom Tools: https://tools.pingdom.com
You can see page load times and other useful info and also there’s advice regarding how to optimise your website.
To disable SSL Certificate verification for GitHub run the following command:
git config --global http.sslVerify false
If you’ve just published your first WordPress Blog and you want to post properly formatted source code examples you will neet do install a syntax highlighter plugin.
We will use wp-syntax plugin. Login to your WordPress admin account then:
– go to Plugins -> Add New
– search for: wp-syntax
– press Install now
Then you will need to add your FTP login (username and password) in order for WordPress to install the plugin.
Tip: If you want to remove alternative background lines coloring (which is kind of annoying), then edit the following file (the css of the plugin): wp-content/plugins/wp-syntax/css/wp-syntax.css
go to section .wp_syntax td.code and remove the following lines:
background-color: #EEE; background-image: -webkit-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% ); background-image: -moz-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% ); background-image: -ms-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% ); background-image: -o-linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% ); background-image: linear-gradient( transparent 50%, rgba(255, 255, 255, .9) 50% );
and add the following lines:
background-image :none; background-color :none;
then go to section .wp_syntax pre and change:
background : transparent !important;
background : #FCFCFC !important;
Bjarne Stroustrup talks about C++11 Style and common mistakes when programming in C++. An interesting video for every C++ programmer.
Another interesting video with Bjarne Stroustrup, the creator of C++. I like how this man speaks. We ofthen know important people by their picture and by the’ve achieved but seeing those people speaking sometimes make us understand better who they really are.
An interesting video of Bjarne Stroustrup, the creator of C++