Quantcast
Channel: Silviu-Marius Ardelean's blog
Viewing all 14 articles
Browse latest View live

Ubuntu – How to fix update errors for a server behind of a proxy

$
0
0
If you're behind of a proxy server and the IP address has changed (or proxy it's a new node in your network topology) then probably when you're trying to update your binaries then you'll get a list of errors. [bash] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en_US Unable to connect to 192.168.120.240:3128: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en Unable to connect to 192.168.120.240:3128: [/bash] This happens because you're unable to connect to Ubuntu mirrors. In order to fix this issue you have to edit apt.conf file settings. [bash] root@my-server:~# vi /etc/apt/apt.conf Acquire::http::Proxy "http://192.168.230.99:3128"; [/bash]

Several C++ singleton implementations

$
0
0
This article offers some insight into singleton design-pattern. The singleton pattern is a design pattern used to implement the mathematical concept of a singleton, by restricting the instantiation of a class to one object. The GoF book describes the singleton as: “Ensure a class only has one instance, and provide a global point of access […]

SubclassWindow() method issues in projects base on MFC Feature Pack

$
0
0
The Problem Trying to paint a background image into client area of a MDI application build in VC++ 6.0 to VC++ 2005 IDE it’s not a difficult task. In case you need, you can find easily good references. For instance, there are two references from Microsoft (KB129471 and KB103786) and one I prefer: a FAQ […]

Some experiences with the last world-wide WordPress brute force attack

$
0
0
As you most probably know, this website uses WordPress. Last Saturday, trying to access the site admin area I was facing with an error generated by too many redirects. Having other things to do, I ignored it for that moment. Later a friend of mine published on his website some information about an existing world-wide […]

HTML files generation using XML and XSLT with Microsoft XML DOM API

$
0
0
This short tutorial shows how easy it’s to generate reports in HTML pages using Microsoft XML DOM API together XML and XSLT. XML (Extensible Markup Language) became a universal standard of encoding data in a format that is both human-readable and machine-readable. It’s widely used in business applications and even Microsoft Office uses it into […]

Getting Table’s indexes experiences – workaround

$
0
0
Trying to get table indexes information in SQL Server 2012 I identified a strange situation within a specific method that I was using so long but it was not acting as expected in one situation. Usually, I got the right information about indexes but in one situation I encounter a strange behavior. It's about having a clustered index into a scenario. I have a table that contains two indexes referenced to some fields: IndexField_1 and IndexField_3 mapped over int, NULL fields. When IndexField_1 is Non-Unique, Non-Clustered and IndexField_3 is Clustered index I get the right information. But if the index IndexField_1 is Clustered and the IndexField_3 is Non-Unique, Non-Clustered I get no information about IndexField_1 index (eg. szIdxName and szIdxColName are "" and their length is -1 that means SQL_NULL_DATA). Within while loop, with the next iteration I get correct information about the second index IndexField_3.

Experiences with Adobe Acrobat/Reader Plug-ins

$
0
0
I wrote this document after a challenging experience I had recently within an Adobe Acrobat/Reader plugin creation. Even if the Adobe’s SDK it’s nicely documented within PDF files, one of the major reason that determined me to write this article was the frustration I got sometimes when, for instance, trying to see “why the plugin […]

The Chameleon Pathnames

$
0
0
The title might be as well “When the pathname is not what it has to be”. The experience of developing plugins for Adobe Acrobat/Reader reserved me different surprises, surprises that made the task more challenging. One of the biggest surprise I had was the impact of the Adobe’s Cloud idea over the Acrobat’ API within Acrobat […]

apt-get and the static IP challenges within Raspbian OS

$
0
0
This is the story of my first experiences with Raspberry PI 2 card computer. Back in March I bought a new toy, a Raspberry PI 2. I have downloaded the Raspbian OS ISO image, wrote it on the microSD card and the toy was up and running.  As most probably you already know, the default package […]

Finally, I got Windows 10

$
0
0
This is a story of how I got over a blocking situation within some Windows 10 OS installs on my Samsung laptop.

The First Hackathon Experience #HackTM2016

$
0
0
Some inside from my first hackathon experience, the #HackTM2016 from Timisoara.

Ubuntu – How to fix update errors for a server behind of a proxy

$
0
0
If you're behind of a proxy server and the IP address has changed (or proxy it's a new node in your network topology) then probably when you're trying to update your binaries then you'll get a list of errors. [bash] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en_US Unable to connect to 192.168.120.240:3128: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/i18n/Translation-en Unable to connect to 192.168.120.240:3128: [/bash] This happens because you're unable to connect to Ubuntu mirrors. In order to fix this issue you have to edit apt.conf file settings. [bash] root@my-server:~# vi /etc/apt/apt.conf Acquire::http::Proxy "http://192.168.230.99:3128"; [/bash]

Process Status Analysis – the first steps

$
0
0
I am pleased to announce my first cross-platform and open source project, the Process Status Analysis tool, available on GitHub. The Process Status Analysis (psa) is a command line tool that offer some Operating System processes analysis features: - Get all processes loaded in memory information - Get process only used memory - Print processes tree - Top most “expensive” processes - Redirect output to a file

openSSL vs. vcpkg – some strange experiences

$
0
0
Some unexpected experiences caused by the fact the vcpkg C++ package manager is still based on OpenSSL 1.0.2.
Viewing all 14 articles
Browse latest View live




Latest Images