howmanypeoplearearound “calculates the number of people in the vicinity using the approximate number of smartphones as a proxy”
To do this on Mac os X first make sure that you have “brew” installed.
See the simple instructions / site hear
Your also going to need tshark the cli version of wireshark installed
brew install tshark
Also I found using python3 important as I was having dependency problems with the standard python install
Download and install python3 from hear
sudo pip3 install howmanypeoplearearound
now you can observe howmanypeoplearearound !
sudo howmanypeoplearearound -s 300 -o scan_big2.json -a en1
(Listens to network traffic for 5 minutes writes to the file scan_big2.json in json format using interface en1 (wireless card use ifconfig -a to check that yours is named in the same manner)
This is a very quick and dirty collection of notes to just get you up and running
View existing drives
lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT
Create raid array
sudo mdadm –create –verbose /dev/md0 –level=6 –raid-devices=4 /dev/sda /dev/sdb /dev/sde /dev/sdd
Observe process of building
watch -n 3 -d cat /proc/mdstat
Cats are also important!
So although this blog is mainly about technical things I thought it might be nice to share things that I find interesting, exciting, frivolous, or just plain amazing.
So without further ado and no particular rhyme or reason I present you with this list!
Things I like V 0.1 People!
Oliver sacks: Such an amazing thinker, His books are well worth reading.
C G Jung: Another great thinker who’s ideas influence me on a near daily basis.
Prof Alice Roberts: Prof Alice Roberts is I think the heir apparent to David Attenborough.
William Gibson: Yep it’s a geek thing, but his recent books are also amazing – one of the few people who’s books I read more than once.
Emily Graslie: What’s not to like about a young science communicator and YouTube educator, who among other things is not afraid to gut a wolf !
Ganesha is widely revered as the remover of obstacles
So from what I can work out your humble Sys Admin is a bit like a dentist! You know it’s good for you but no one likes pain, let alone paying for that pain.
But lets just hold it there for a minute can we? Lets just stop and think about this.
John Podesta recently had his email account hacked. Of that we have evidence, have a look at this.
There is some discussion that his account password was, or may have been “password”, or something simple and easy to hack. What ever his password was, it probably was not that difficult to hack see this information.
But guess what? If a System administrator had been looking after that email server properly this shouldn’t have happened.
So we now have a major question over the outcome of the political leadership of arguably the most powerful country on earth. Just so you know sysadmin appreciation day this year falls on Friday, 28 July.
Think about that! Especially if you have a good Sys admin who is looking after you and your network, and your email, and stays up late re booting the server doing stuff you never have to worry about, often stuff you don’t even care about until – whoops! Where did the election go?
This is a list of my favourite open source tools that I often use. I’ll up date this on occasion as I add discover and explore new things.
Documentation and ticketing
This is a great little product and it’s very quick and easy to implement.
From the web site (all true!)… “DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn’t require a database. It is loved by users for its clean and readable syntax. The ease of maintenance, backup and integration makes it an administrator’s favourite.”
Great product if you need to quickly set up a job tracking system. Runs under LAMP and is robust and easy to use. Also comes with support and hosting options if you need them.
Useful for bigger and more free style projects and also runs the wikipedia site. The grand daddy of Wiki’s!
Wireshark is one of the great open source projects that is an insanely great tool. Know exactly what is running on your network and dig down to forensic levels.
I’ve written about pfsense before it’s a fantastic firewall routing system that can also be used to set up VPN’s and lots, lots more. Another project that you can purchase pro help for if you need it, or if management want to know that the thing is supported. It can run on just about anything and you an also get dedicated hardware if you want it. But you can put together a router from old parts and it will run just fine.
So, I got a nice email from the google AI? May be not… Anyway it was an invite to submit the site to https://testmysite.thinkwithgoogle.com/ and so I did. I’m happy with some of the initial results, one of which was the Mobile friendly test. Have a look at this!
So I’m very happy indeed, and a big thank you to the good people who developed the PARABOLA theme http://www.cryoutcreations.eu/
I still have some serious work to do on the site, and I’ll keep you all informed as things improve. But a nice start even if I do say so my self. Stay tuned.
One thing a few of you may notice about this site is the photography! I’m not the worlds greatest photographer by any means, but it is a hobby that I enjoy. Most technical writing is fairly boring so I’m going to use my crazy photos to lighten things up a bit I hope you like this!
And so without further ado I thought I’d include a few recent shots!
The office on a good day
Michael Doolan, Witch’s apple
Castlemaine gallery 2017
Just an old ink blotter
Well a few people – not many but a few – will have noticed that the blog has been updated! Nice funky WordPress implementation and https! And it works on Mobile!!!!. I also have about 10 years worth of old blog articles that are still available hear. https://gingercatsoftware.com/Blog.php
In addition to all of this I will also be reviewing all of those articles (over time) and re issuing / updating them via this WordPress format, as well of course as adding lots of new articles.
Thanks for visiting and enjoy the new look and feel. Hear are a couple of additional articles I wrote at the end of last year.
Linux / Unix stuff
Notes on nginx config
So I notice the ethernet light on my wee server popping away… I check out the logs and notice something attacking my server. Ah a rather stupid brut force hack attempt. Some automated piece of (
Sh!T) digital pollution – Grrrrrrr!
There is nothing quite as satisfying as watching a log go quite after executing something like.
sudo iptables -A INPUT -s NASTYIPASSRESSHEAR -j DROP
sudo iptables -A INPUT -s 10.0.0.0 -j DROP
Simple and effective!
Just some occasional unix / linux CLI related notes
To add a .txt to the end of a number of files in a directory
for f in * ; do mv “$f” “$f.txt” ; done
To delete every file in a directory that does not end in .txt
sudo find . -type f ! -name ‘*.txt’ -delete