I’ve been interested in Python for a while now. One thing i like is the possibility to do face recognition. Made a python script based upon a youtube clip from sentdex. The script worked fine and after some tests i… Continue Reading →
For a while i’ve been running the Distributed.Net client for RC5-72 decription. Because i knew my video card (Nvidia GeForce GTX 750 TI) could do a bit better then the standard 900 Mkeys/s i installed MSI Afterburner and tested a… Continue Reading →
A while back (i think at least 1.5 years ago) i bought a second hand printer. It was an upgraded Anet AM8. Although i wanted one for a while, i just was hesitant to start using it. Thought i needed… Continue Reading →
(Please note all text below is my opinion, and written by an enthousiast, not someone who has understanding of all rules!) I like a good crash. A good crash for me is when the driver of drivers step out of… Continue Reading →
When i started collection about 20 years my first scale model was a 1/18 car of Jos Verstappen (dad of Max Verstappen). The detail of 1/18 were great and are still. The 1/43 were good and 1/64 were almost quality… Continue Reading →
Got a question today from a colleague. He had an application that could create a diagram for a database. This was an old program (last release in 2009) and it worked with Java. If i was able to install the… Continue Reading →
This week i found out that Gmail started supporting a function in their email system where you can use a + in your email account. The nice thing about it, is that you don’t have to create an additional email… Continue Reading →
I’m having issues with my internet connection lately. My modem seems to reset it self from time to time. It can work days without issues and then it starts to reset a couple of times without any warning. The internet provider… Continue Reading →
I wanted to write a script for expanding my Python knowledge. I ussually create small scripts to accommodate my “problems” or wishes. If you want use it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import socket FQDN = [] ACC = [] ACC_FILE = open('/var/log/nginx/access.log') for LINE in ACC_FILE: ACC.append(LINE.split(' ')[0]) ACC.sort() ACC = set(ACC) for LINE in ACC: ADDR = socket.getfqdn(LINE) FQDN.append(ADDR) FQDN.sort() for SERVER in FQDN: print(SERVER) |
A couple of weeks back was my birthday and although i don’t really celebrate, my daughter wanted to get me a gift. Because we’ve gotten a new second hand car with an old tape deck that doesn’t support aux or… Continue Reading →
© 2023 Project 34 — Powered by WordPress
Theme by Anders Noren — Up ↑