In recent times I had a small issue with VMware vFabric tc Server which is included in SpringSource Tool Suite. When i was deploying my Spring application and after a long time i have this error :
"Server VMware vFabric tc Server Developer Edition v2.6 was unable to start within 120 seconds. If the server requires more time, try increasing the timeout in the server editor."
I would like to show you a professional CV in LaTeX of course ;) Below I put a screenshot of it.
CV in LaTeX Page 1/2 |
CV in LaTeX Page 2/2 |
Quite pretty, right ? ;)
So, If you would like to have this one CV on your own, just write to me via Contact page ;) I will generate CV for you for very very small gift ;)
I speak Polish, so I wondering why not put some helpful information related with polish fonts in LaTeX. At the beginning I have to say that is very simple to do ;)
If you use Windows put :
\usepackage{polski}
\usepackage[cp1250]{inputenc}
If you use Linux put :
\usepackage{polski}
\usepackage[latin2]{inputenc}
If you use MacOS put :
\usepackage{polski}
\usepackage[macce]{inputenc}
Simple, isn't it?
Reference :
[1] Polonizacja LaTeX [PL]
[2] LaTeX Quide [PL]
In this post I would like to present Perl script for Nagios that can check HSRP state of Cisco host(s) in network using SNMP protocol (only version 3) and return an output about error level (OK, Warning or Critical) related to Nagios.
Main table in MIB where all information related with HSRP state are stored is cHsrpGrpTable, where are many cHsrpGrpEntry objects which correspond with HSRP groups configured on router and each of them contains configuration and status related with this Cisco protocol.
Example snmpwalk over HSRP information in MIB :
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.2.1.1 = STRING: "pr0jekt"
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.3.1.1 = Gauge32: 105
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.4.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.5.1.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.6.1.1 = INTEGER: 2
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.7.1.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.8.1.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.9.1.1 = Gauge32: 3000
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.10.1.1 = Gauge32: 10000
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.11.1.1 = IpAddress: 10.102.33.1
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.12.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13.1.1 = IpAddress: 10.102.33.253
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.14.1.1 = IpAddress: 10.102.33.254
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.15.1.1 = INTEGER: 6
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.16.1.1 = Hex-STRING: 00 00 0C 07 AC 01
SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.17.1.1 = INTEGER: 1
The properly way to examine HSRP state is iterate through SNMP interface ID and HSRP group ID (this in one before last and last one digit from above OID for example 1 and 1), but this script skip this step and only fetch information from cHsrpGrpStandbyState parameter ;) :
2: learn
3: listen
4: speak
5: standby
6: active
print this help message
-u --username=USERNAME
-a --authprotocol=PROTOCOL
protocol for auth e.g. SHA
-A --authpassword=PASSWORD
password for auth
-x --privprotocol=PROTOCOL
protocol for auth e.g. DES
-X --privpassword=PASSWORD
password for auth
-H --hostname=HOST(s)
name or IP address of host(s)
-S --switch=SWITCH
name or IP address of switch
Reference:
[1] Cisco HSRP Documentation
[2] Pierky blog
[3] Source GitHub
A lot of open and neutral API (Application Programming Interface) have been created in recently years which were designed to facilitate access to the functionality of telecommunications networks.
Organizations 3rd Generation Partnership Project (3GPP) and European Telecommunications Standards Institute (ETSI) started joint work on assumptions of new service architecture called Open Service Architecture (OSA). Also Sun Microsystems designed specification of their own interface for telecommunication sector called Java APIs for Integrated Networks (JAIN).
Finally, organizations Parlay Group and ETSI with 3GPP focused joint efforts on designing unified interface Parlay/OSA for telecommunication sector which support concept of developing new service platform for telecoms.
Evolution of Application Programming Interfaces in Telecommunications |
Reference :
[1] Java APIs for Integrated Networks
[2] ETSI Parlay
[3] 3GPP
It all started with a process called convergence, which was initiated in the early 90' mainly by technical progress, when telecoms decided to implement in their internal systems intelligent platforms, which allowed them using it to provide integrated and innovative services. Highly simplified model is presented on picture below. Through this process was created a new 'technology branch' called Information and Communication Technologies (ICT).
Due to this occurence were created many solutions which connect (mashup) internet technologies like the Internet, e-mails, digital maps e.g. with functionalities of mobile networks like voice and text services to finally get new products like SMS Gateway, protocols to transmission videos Video over IP (VIP) and sound Voice over IP (VoIP), multiline telephone systems PBX, protocol WAP, digital TV (DVH-B) and many many more. Also this process had a great impact on the assumptions of Telco 2.0.
In result of synergy of telecommunication and IT sector occurred some new directions of development in future :
- Internet will become a new medium for transport of phone calls etc.
- Mobile networks gain hegemony in relation to fixed networks
- Band telecommunications networks will be dominated mainly by the movement ICT
Thanks to convergence, telecoms changed conception of creation services from strictly related with telecommunication to tools and solutions derived from IT sector.
Technologies in Telecommunications |
Reference :
[1] Technologies of the future in telecommunications [PL]
[2] The development of telecommunications and mail in the information society [PL]
On my blog I would also write something about I am currently working on in MSc thesis. Surely I am not able to put all relevant information in one post, so you must be patient and just hold your breath ;)
The main topic of upcoming series of posts will be the explanation of mysterious acronym : Telco 2.0.
At the beginning, I will write a bit about historical background. What happened in the past in global economy and world of technology. How changed conception of the operation of telecoms. A few words about Web 2.0 and marketing concept "Long Tail".
In another post I will put some information about economic and law environment - legislative action in telecommunications sector, market challenges and finally implemented business model corresponding to those circumstences.
After this I will write about right service platform Telco 2.0 and how changed interfaces used by telecoms to nowadays and who made this change.
Some information about technical side of this service platform based on some examples.
Finally, I will place some prediction about how telecommunication market will change in the future using report IBM Telco 2015.
Reference:
[1] Orange Labs Telco 2.0 University
[2] Telco 2.0 Orange Blog
[3] STL Partners Telco 2.0 Initiative
[4] IBM Telco 2015 Five telling years, four future scenarios
I am currently working on a plugin for Nagios and i was faced with small problem :(
Can't locate utils.pm in @INC (@INC contains: /usr/local/nagios/libexec /opt/nagios/perl/lib /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at ./HSRPCheck.pl line 22.
PS. Also your Nagios can be installed in other directory, so just execute this one command in terminal :
locate /nagios/plugins
and if you get full path to directory which contains plugins just paste it to your script. (use lib 'Received Path')
Of course i will post my script related with this issue in the separate post ;-)
This time I would like to share with code which will create below nice quotes in LaTeX of course ;)
LaTeX fancy quotes |
So, kindly add this snippet to your LaTeX project :
\makeatletter \newif\if@right \def\shadequote{\@righttrue\shadequote@i} \def\shadequote@i{\begin{snugshade}\begin{quote}\openquote} \def\endshadequote{% \if@right\hfill\fi\closequote\end{quote}\end{snugshade}} \@namedef{shadequote*}{\@rightfalse\shadequote@i} \@namedef{endshadequote*}{\endshadequote} \makeatother
and after all just use it :
\begin{shadequote} \textit{Hello everybody!} \par\emph{Tom Alexander - dyrektor generalny} \end{shadequote}
Reference :
[1] Block quote with big quotation marks (TeX.StackExchange.com)
I'm very fascinated about document markup language and preparation system for the TeX typesetting program called LaTeX. I wrote using it my BSc thesis, curriculum vitae, cover letters, laboratory reports and many many more :-). Furthermore I am currently working on my MSc thesis of course writing it in LaTeX.
It has a lot of advantages - it is absolutely free, cross-platform, open-source (LPPL licence), automation generation components such as table of contents, bibliography, index etc., very good support for mathematical formulas and from community and obviously it can create documents look very nice and professionally in many widely known formats e.g. PDF, PostScript, HTML, DVI etc.
So, I am gona to show some piece of code which helps you create wonderful listing of your code in LaTeX ;) which is widely used for instance in books :
LaTeX code listing |
Copy and paste this style to your LaTeX project :
\usepackage{listings} \usepackage{courier} \lstset{ basicstyle=\footnotesize\ttfamily, % Standardschrift %numbers=left, % Ort der Zeilennummern numberstyle=\tiny, % Stil der Zeilennummern %stepnumber=2, % Abstand zwischen den Zeilennummern numbersep=5pt, % Abstand der Nummern zum Text tabsize=2, % Groesse von Tabs extendedchars=true, % breaklines=true, % Zeilen werden Umgebrochen keywordstyle=\color{red}, frame=b, % keywordstyle=[1]\textbf, % Stil der Keywords % keywordstyle=[2]\textbf, % % keywordstyle=[3]\textbf, % % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} % stringstyle=\color{white}\ttfamily, % Farbe der String showspaces=false, % Leerzeichen anzeigen ? showtabs=false, % Tabs anzeigen ? xleftmargin=17pt, framexleftmargin=17pt, framexrightmargin=5pt, framexbottommargin=4pt, %backgroundcolor=\color{lightgray}, showstringspaces=false % Leerzeichen in Strings anzeigen ? } \lstloadlanguages{% Check Dokumentation for further languages ... %[Visual]Basic %Pascal %C %C++ %XML %HTML Java } %\DeclareCaptionFont{blue}{\color{blue}} %\captionsetup[lstlisting]{singlelinecheck=false, \ labelfont={blue}, textfont={blue}} \usepackage{caption} \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}{\colorbox[cmyk] \ {0.43, 0.35, 0.35,0.01}{\parbox{\textwidth} \ {\hspace{15pt}#1#2#3}}} \captionsetup[lstlisting]{format=listing,labelfont=white, \ textfont=white,singlelinecheck=false, margin=0pt, \ font={bf,footnotesize}}
Then use this code in LaTeX to invoke source code listing :
\lstinputlisting[label=samplecode,caption=Description]{code/foo.java}
Reference :
[1] MHK's Blog
[2] LaTeX source code listing like in professional books (Stackoverflow)
This blog don't have any special idea to write for. I created it only for typing. Nothing else. Or perhaps to share with other people the solutions of problems which i was faced with.
My name is Lukasz. I live actually in Warsaw the capital of Poland (Over here!). I mostly work there in the IT sector. In spare time I just rest ;)
My hobbies ? Sailing with great people, listening good music (especially progressive) (My LastFm Profile), following the Open Source projects, new technology companies called Startups and IT innovations.
I will do my best to provide for you the most sophisticated informations and issues releated with widely known IT sector and more ;-)
I hope that you are going to visit my blog regularly for instance once a year ;) Of course it is obvious that every your feedback is welcome via comments under posts or by email (Contact page) or LinkedIn profile (Here you are!).
Best regards,
Lucas