Posts Tagged ‘tips’
Blackberry email reading tips
This is my favorite: If you press J and K on the email list or while reading the email, it moves between previous and next emails in the context. (just like in the vi ) While reading and email, if you press N it goes to the next email, P to the previous email. And [...]
Call reports in FreePBX
I’ve been having hard time to understand the CDR reports from FreePBX. There were a lot of duplicates, lots of couple of second connection entries, etc… All I needed is to set a criteria and see the reports related to that criteria. So here is how it goes: I need only ANSWERED calls. I need [...]
Moved to my new blog
I’ve been planning this for a while. I had written my own blog engine, it’s been bits and pices of code I’ve been patching to each other with band aid and chewing gum… It was good for late 90s and early 2000… However the net changed, I had to move on, I didn’t update my [...]
İngilizce windows’da türkçe harfler.
Eğer siz de benim gibi ailenize Amerika`dan ucuz laptoplar getirip ingilizce windows kullanmak zorunda kalıyorsanız, türkçe harfleri bazı durumlarda görüntülemeniz zor olabilir. Bu durumlar için çok basit bir çözüm var. Start -> Control Panel -> Regional and Language Options seçeneğine gidin. Açılan pencerede Advanced sekmesine klikleyin. Language for non Unicode programs kısmında ise Turkish seçin. [...]
Viewing word files on a Linux console
I needed to see a word file on my ssh session this time… If you have a similar need try to use antiword. It basically parses the word document and sends the output as a text file to your console. Of course don`t expect it to render the graphic files in your word document
python and resolving ips from a csv file.
Problem: I have a CSV file where I have source and destination IPs. I want to resolve only destination IPs. Format of my CSV file: (let`s call it test.csv) (it`s tab separated…) 99.88.77.66 11.22.33.44 118340.86 187 The solution is pretty simple with python: #!/usr/bin/env python import csv import socket reader = csv.reader(open(“./test.csv”, “rb”), delimiter=” “) [...]
Simple merging two files with paste command
Today I learned something new! I had two files one with a list of domain names, the other with corresponding IPs. I needed to merge these two files to display domain names next to their corresponding IPs. It looks like it`s the simplest task with the command paste. All I had to do is: paste [...]
How to clean the activexdebugger32.exe virus
From Emre virus labs: This motherfucker virus was living in my parents` computers. (Since I use Linux I don`t have any as usual…) And it`s a pain in the ass… What the virus does: Shares your drives to the world as PATRON1, PATRON2, etc… Copies itself to any writeable devices around you. USB sticks are [...]
Finding all the Domain Controllers on an Active Directory
This is how you find all the domain controllers in Active Directory. dig +short srv _ldap._tcp.active.domain here .domain part is your domain. Ex: ad.us.domain.org
