Skip to content

Posts from the ‘Noise’ Category

23
Jul

Paste From Command Line to Pastebin Services Using pastebinit app

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

Read more »

23
Jul

An useful online tool to debug your DNS server

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:

http://www.intodns.com/

23
Jul

Online tools that helps you to debug your website

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
GTMetrix: https://gtmetrix.com

You can see page load times and other useful info and also there’s advice regarding how to optimise your website.

14
Dec

Disable SSL Cert When Cloning a GitHub Project

To disable SSL Certificate verification for GitHub run the following command:

git config --global http.sslVerify false
7
Aug

Using a Syntax Hilighter With WordPress

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;

to:

background           : #FCFCFC !important;
28
Feb

Bjarne Stroustrup on C++11 Style

Bjarne Stroustrup talks about C++11 Style and common mistakes when programming in C++. An interesting video for every C++ programmer.

28
Feb

Bjarne Stroustrup speaking about C++ and software

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.

28
Feb

Bjarne Stroustrup, Why I Created C++

An interesting video of Bjarne Stroustrup, the creator of C++