Perl regexp oneliners and UTF-8
For my project to find as many .no domains as possible, I needed a regexp for extracting valid domains. This task is made more fun by the inclusion of Norwegian and Sami characters in the set of valid characters.
Kagee's Random Rantings
For my project to find as many .no domains as possible, I needed a regexp for extracting valid domains. This task is made more fun by the inclusion of Norwegian and Sami characters in the set of valid characters.
I’m currently attending SANS SEC504: Hacker Tools, Techniques, Exploits and Incident Handling in London. For some of the labs in the course we need machines on the IPs 10.10.0.1 and 10.10.71.1 with a subnet mask of 255.255.0.0.
Changing the Subnet Mask for the NAT or host-only networks in VMware Workstation seems like such a easy thing to do. According to VMware it should be as easy as opening the Virtual Network Editor and “type a new value in the Subnet mask text box”.
Oh wait … I can’t change it. The field for subnet mask in the Virtual Network Editor is not editable.
In late July the following question was posted on a IRC-channel i frequent:
Anyone care to devise what an obfuscated PHP payload does?
Sure, why not, sounds like a challenge. This is part 1 of a series of blogposts explaining the headache-inducing three hours that followed.
Sooooo, i got kinda tired of wordpress, and felt like testing something static, and a little closer to my terminal.
Enter Octopress …
So, the problem: Moving from Skype (closed source) to Mumble for meetings, while still having the possibility to conference with the occasional user of a POTS (plain old telephone system)
Do you have have free dynamic DNS through no-ip.com?
Your free host hildenae.no-ip.org, will expire in 7 days due to account inactivity.
hildenae.no-ip.org was last updated on <some-datetime-in-the-past>. Free Dynamic DNS hosts must be updated by logging into your account on our website and clicking update, this must be done every 30 days. If you are using the Dynamic Update Client and your IP address has not changed within the past 30 days, you must manually update it to prevent them from being removed from our system.
Yeah. With a mostly static IP from my school, that started to get annoying after five or six times.
While cleaning (svn to git) the sourcecode from my bachelor thesis, i now and then needed to split a commit into two. When doing this, i still wanted to preserve the original timestamp.
Trekke ut deler av et git-repository, og samtidig ta vare på historie
Don’t you just hate those days when you need to access the desktop of a machine, but forgot or just never activated remote desktop?
After i first posted code for highlight-range i made some small changes to the code in the post as i found better ways of doing things. When i inserted new lines it messed with my highlighting. Inspired by pastebin.com, i wrote a couple of lines that let me specify with a marker in the code (and not by line-number) what line should be highlighted.
Update: Added @hr@
for inline-ranges.
Update: As of SyntaxHighlighter Evolved v. 3.0.0 this functionality is included in the plugin.
One of the first plugins i installed for this brand new WordPress
was
SyntaxHighlighter Evolved. I love to code, and knew i would find
a use for it. To test it i used a large C++ file
from and
began testing.cpp.snippets.org
Highlight
worked fine, but i i didn’t support
highlighting a range of lines. This might not be so useful,
as you usually want to highlight small sections, but i rewrote
syntaxhighlighter.php to support ranges.
Update: As of Ubuntu 10.10 this should not be nessesary, as OpenJDK in Ubuntu >= 10.10 should work with BankID.
In Ubuntu 10.04 (and probably onwards) OpenJDK Java and the Icedtea java plugin are the standard Java toolkit. BankID works with OpenJDK (just try installing Opera 10.10. Opera pre 10.5 use OpenJDK directly, without Icedtea), Icedtea is the troublemaker.