amuck-landowner

Search results

  1. William

    12 US Data Centers Hosting Foreign Government Spyware

    Exagerated as always with Citizenlab. This governments buy with normal (either real or made up) identities in this countries normal services with the ISP (mainly VPS) that act as reverse connect proxies. Source: We were on the last list, and i know that from comparing customer data Further...
  2. William

    The gun thread

    I wish pump action would be legal in Austria for shotguns (they are on the same schedule as full autos...), even with ejector this quite hurts aftert some 100 rounds :) Also, what does .22lr in the US cost? Remington 100 pack (the "gold" plated ones) are  ~12EUR here - Shotgun ammo is...
  3. William

    [C++] extreme fast counting of files in directory

    I tested it quickly: Your code takes a medium of  0m0.728s (out of 10 tests with variance of up to .020) The C++ takes a medium of 0m0.254s (out of 10 tests with a variance of up to .003, extremely stable result) Good, i only use 64Bit anyway :)
  4. William

    [C++] extreme fast counting of files in directory

    Well, sort of, it is zero IO concern for me - I don't count them often and *know* the filename of each file i need to copy/read. (stored in a DB). It also saves me steps of cutting characters and using subdirs. No, i didn't write it - I got it including copyleft from some friend.
  5. William

    [Powershell] Automatic unrar of files in subdirectories + rescene

    I cant even tell how hard it was to write this in PS... took a lot of time to figure it out right and i still don't understand half of it...
  6. William

    [C++] extreme fast counting of files in directory

    Yea, for your 100 files maybe :) root@db:/# time count /home/db/ 4183976 real    0m0.254s root@db:/# time ls /home/db/ | wc -l 4183974 real    0m14.002s
  7. William

    [Powershell] Automatic unrar of files in subdirectories + rescene

    Was used for downloading, very useful. Observe legality of usage in your country. Seems to still work without any issues (Win 8/2012). Requires (duh) rar in path and rescene (srr.exe) in foreach ($file in Get-ChildItem -name -exclude unpack.ps1) { cd $file $SFV = ls -name -include *.sfv...
  8. William

    [Perl] Echoscript for IRC, works also with ZNC partyline

    This is a script that was intended for... something. TCL/Modperl in ZNC has no access to the partyline, so i could not relay via them directly. Supports ZNC login of course. #!/usr/bin/perl -w  use strict;  use warnings;  use POE qw(Component::IRC)...
  9. William

    SMS sending script via EDIS SMS API

    sms sending script for the EDIS SMS API: http://www.edis.at/versand-von-sms-nachrtichten-ueber-web-interface-und-massenversand_8.htm syntax: ./sendsms DESTNMBR SENDER MSG #!/bin/bash #sms sending script by william (c) 2012 #grab text, dest number and sending application     NUMBER=$1   ...
  10. William

    [C++] extreme fast counting of files in directory

    I used this before for a dir with ~4million files, this takes around 0.5s while ls takes... well... no idea, it never finishes. compile with "g++ count.cpp -o count && mv count /usr/sbin" Usage: ./count "<path>" #include <stdio.h> #include <dirent.h> int main(int argc, char *argv[]) {   ...
  11. William

    A2toplog IP geolookup & semi automatic ban via iptables

    This works on Debian/Ubuntu, i wrote it for a task at EDIS at one point - Might be useful for some. Requires maxmind local geoip db. Only works for IPv4. #!/bin/bash #William <william @ william.si> 2013 #spcially good as base for other scripts based on a2top.log string searches string=$1 for...
  12. William

    wScript: simple (running) KVM list script (RAM/CPU/VNC/HDD) for multiple nodes

    This is the simple edition - I have a further one that takes data about the KVM from the local node by ps and alike, i will probably post it in some days/week. This script simply SSHs into all nodes from a downloaded hostsfile (or a single host by IP/hostname), executes a local script that...
  13. William

    wScript: Automatic scripted KVM deployment with images (with Zvol/LVM support and IP assignment) (De

    I share some internal scripts of mine... look out for more threads. Sorry for formating if it makes not much sense, i'm not good at writing tutorials and can hardly concentrate currently at anything.   I was not happy with virt-install alone but did not want a full panel, so i wrote the middle...
  14. William

    Critical crypto bug leaves Linux, hundreds of apps open to eavesdropping

    Debian 7 is patched: root@router01:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded:   libgnutls26 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 618 kB of archives...
  15. William

    The gun thread

    Quite common in europe, though they decided to confiscate my ammo for it as war ammunition so eh, weird.
  16. William

    The gun thread

    Something a bit.... older? :) One full shot
  17. William

    (private) offering cheap dedi with high(er) setup fee?

    I'm looking at some free space i have in a rack im contracted on for longer, and want to build out a new dev system anyway - Not cheap though, so i thought i could refinance that a bit by offering a deal that pays back setup costs and some profit to build it and then just the monthly costs for...
  18. William

    Huge storage chassis + own HDDs

    Yes. Id like to reuse HW i already have but do not want to pay the full cost of the SAS chassis/server upfront, so i'm basically looking for a solution in the middle of that.
  19. William

    Help/Support with a free Dev VPS project

    I have all recent Debian based distros (Ubuntu 10/12/13, Debian 6/7) and can mount any iso for install by VNC, not any issue at all.
  20. William

    Help/Support with a free Dev VPS project

    Probably should use a libvirt API (i guess there is one for nearly any language), i use kvm-install to create the VPS and some wget magic in the OS (copy of disk images with a fixed IP for setup time, then wget setup script with rpl for network/hostname) i write some info down shortly and will...
Top
amuck-landowner