hakre on wordpress
Hakre's devlog, thoughts and rants on wordpress on wordpress.com. And webdesign related. And web development related. My weapons of choice are Netscape 2.01, HTML, CSS, PHP and the Gif Construction Kit.
You can find out more on my codex page.-
Defective by Design - HTML5 is so awesome you can screw it now. Congratulations. Tell W3C: We don't want the Hollyweb! - Get educated and spread the word! -
Issue 2.1 is out! (; as print version so far, not yet on the website.) Take a look at conferences and events to get as well all back issues of Libre Graphics magazine with a discount or just order online. Wordpress Licensing – hakre on wordpress
- GPL: This Deserves a Special Mention, II 17 Feb 2011
- b2/cafelog is GPL 3 Feb 2011
- WordPress Changes GPL License Text Again 15 Jan 2011
- Akismet Introduces GPL Version to WordPress (Updated 3x) 1 Jan 2011
- Kses, GPL, Copyright, Licensing and Disclaimer 30 Dec 2010
- WordPress, Copyright, Hello Dolly Lyrics, the GNU GPL and I 22 Dec 2010
- WordPress Licensing Issues – Plugins are GPL, Right? 15 Dec 2010
- WordPress Licensing Issues – On Showing License 6 Oct 2010
- Relicensing of IXR – The Incutio XML-RPC Library (Day 15) 8 Sep 2010
- WordPress Licensing Issues – NOOP (Day 8) 2 Sep 2010
- WordPress Licensing Issues – Summary (Week 1) 1 Sep 2010
- WordPress Licensing Issues – Submitting Code (Day 6) (Update 1x) 30 Aug 2010
- WordPress Licensing Issues – Progress (Day 5) 30 Aug 2010
- WordPress Licensing Issues – Why I care (Day 4) 28 Aug 2010
- WordPress Licensing Issues – the third day 28 Aug 2010
Wordpress Questions (and Answers)
- An error has occurred; the feed is probably down. Try again later.
Linked
- DejaVu fonts
- Image_Graph
- They killed the Failwhale
- XHProf PHP Profiling Tool
- The Law of Leaky Abstractions
- The JavaScript Trap
- TkSQLite
- RIPS – A static source code analyser for vulnerabilities in PHP scripts
- SJ Hook Profiler
- Looking back on Selling Gravatar to Automattic
- Using Linux Screen for Session Management
Archives
- April 2022 (1)
- November 2019 (1)
- October 2019 (2)
- April 2019 (3)
- February 2019 (1)
- December 2018 (1)
- October 2017 (1)
- September 2017 (1)
- August 2017 (1)
- March 2017 (1)
- January 2016 (1)
- November 2015 (1)
- March 2015 (2)
- February 2015 (2)
- January 2015 (1)
- June 2014 (2)
- May 2014 (1)
- December 2013 (2)
- November 2013 (1)
- October 2013 (1)
- September 2013 (3)
- August 2013 (3)
- July 2013 (6)
- June 2013 (1)
- May 2013 (1)
- April 2013 (2)
- March 2013 (2)
- February 2013 (12)
- January 2013 (5)
- December 2012 (2)
- November 2012 (1)
- October 2012 (1)
- September 2012 (2)
- August 2012 (7)
- July 2012 (8)
- June 2012 (8)
- May 2012 (10)
- April 2012 (11)
- March 2012 (7)
- February 2012 (3)
- January 2012 (8)
- December 2011 (6)
- November 2011 (1)
- October 2011 (7)
- September 2011 (3)
- August 2011 (4)
- July 2011 (7)
- June 2011 (7)
- May 2011 (6)
- April 2011 (7)
- March 2011 (16)
- February 2011 (29)
- January 2011 (11)
- December 2010 (10)
- November 2010 (11)
- October 2010 (9)
- September 2010 (15)
- August 2010 (23)
- July 2010 (9)
- June 2010 (33)
- May 2010 (26)
- April 2010 (20)
- March 2010 (8)
- February 2010 (11)
- January 2010 (26)
Wordpress
Ex-Blogroll
Categories
- Code Smells (11)
- HTML/CSS Code Smells (3)
- PHP Code Smells (5)
- Developing (21)
- Licensing (3)
- Hacking The Core (70)
- Wordpress Licensing (17)
- Hakre's Tips (94)
- Patched (6)
- Persona (5)
- Plugin Plugout (28)
- Enhancing Feeds (7)
- Theme-A-Licious (2)
- Pressed (351)
- Libre Graphics (1)
- Linked (149)
- Bugs and Features (19)
- Hashcat sightings (1)
- Video (1)
- Number of the Day (3)
- PHP Development (59)
- PHP Library (7)
- Professional Webdevelopers At Work (2)
- Reports (26)
- Save the Date (8)
- Wordpress Releases (6)
- Surviving the Internet (28)
- Tools (86)
- Gates and Fences (3)
- PHP Development (35)
- PHP Frameworks (10)
- PHP Standards (2)
- PHP Template Language (5)
- Scripts (6)
- Webtools (5)
- WordPress Support (9)
- Uncategorized (47)
- Code Smells (11)
Music
Category Archives: Hakre's Tips
Expect more from you Linux Command Line
Just stumbled over two nice written articles about command line usage on Linux by Robert Elder: Don Libes’ Expect: A Surprisingly Underappreciated Unix Automation Tool (Dec 2016; by Robert Elder) An Introduction To Data Science On The Linux Command Line (Oct … Continue reading
Posted in Hakre's Tips, Linked, Pressed, Tools
Leave a comment
Docker Run without “docker run”
So there was this one question on Stackoverflow in which the OP was linking an .htaccess tester for Mod-Rewrite-Rules. Despite this being all fine I was asking myself what about really(tm) testing this? So I remembered the rewrite-log from the … Continue reading
Posted in Hakre's Tips, Patched, Pressed, Professional Webdevelopers At Work, Scripts, Surviving the Internet, Tools, Uncategorized
Tagged Apache, Docker, HTTP, HTTPD, Mod-Rewrite
Leave a comment
Speedpills 4 Linting PHP Files in Parallel
Quite some time ago I’ve already written about linting PHP files in the shell / build. Even though parallel linting is fine, when the code-base is growing larger and larger, the build becomes slower and slower. A slow build sucks. … Continue reading
Posted in Hakre's Tips, PHP Development, PHP Development, Pressed, Scripts, Tools, Uncategorized
Tagged Build, Git, PHP, sed, Shell, xargs
1 Comment
Sed Cheatsheet
Just a post about some of the sed lines I find scattered, to be extend in future edits. Merge same Lines Together $ sed ‘/^ \*$/{h;d};{H;s/.*//;x;s/^\n//}’ This sed example merges all “ *” lines that follow each other (e.g. empty … Continue reading
Gnome Shell Quickfix Cheatsheet
Disable work-space up/down movers which block key bindings I use in Phpstorm. Important with that is that I don’t use these dynamic work-spaces at all, so making them static and only one: dconf write /org/gnome/desktop/wm/preferences/num-workspaces 1 dconf write /org/gnome/mutter/dynamic-workspaces false … Continue reading
Posted in Hakre's Tips, Uncategorized
Tagged Dconf, Gnome Shell, Keyboard Shortcut, PHPStorm, ubuntu, Ubuntu 18.04
Leave a comment
Git – Set the Author Date to The Committer Date of a Recent Commit
Ah gosh that one commit has the author date just too far off, but if it would be the same as the committer date, that would be fine… Locate the commit when rebase interactively and mark for edit. Then go … Continue reading
Install / Update Dbeaver Community on Ubuntu
Update: Turns out I was too eager to get the command line running. While it’s fine to have it perhaps for some systems, it is actually the case that Dbeaver has both a Debian repository and an Unbuntu PPA as … Continue reading
Posted in Hakre's Tips, Tools, Uncategorized
2 Comments
Hunting the Keyboard Shortcut
Recently while in the mood I decided to upgrade my Thinkpad X280 from Ubuntu 16.04 LTS (for which it had the approval) to more current Ubuntu 18.04 LTS. That also meant that I’m back on Gnome Shell which I’m not … Continue reading
Posted in Hakre's Tips
Tagged Dconf, Gnome Shell, Keyboard, Keyboard Shortcut, Lenovo Thinkpad Pro Docking Station, Linux, Thinkpad, Ubuntu 16.04, Ubuntu 18.04, X280
1 Comment
Using Assertions with (Legacy) PHP Code
While it was not much advised to use assertions (the assert PHP language construct) prior to PHP 7 due to the fact that it actually eval’ed a string’ed code, these days are gone. This is probably a lesser known fact with … Continue reading
Posted in Developing, Hakre's Tips, PHP Development, PHP Development, Pressed, The Know Your Language Department, Tools
Tagged Assertion, Legacy Code, Legacy PHP Code, PHP, PHP 7, Phpuni, Testing, Unittests
Leave a comment
Lazy Loading in PHP Object Composition
When it comes to nicely performing PHP scripts (yes in PHP these are all scripts as PHP code is run-time) there is a nice addition since PHP 7 named the Null coalescing operator which plays very well with the basic nature … Continue reading
Posted in Hakre's Tips, PHP Development, PHP Development, Pressed, The Know Your Language Department, Tools
Tagged Operator, PHP 7
Leave a comment
Linting PHP Files in Parallel on Travis
With PHP 7 around the corner here is a small tip how you can at least lint the code in your project to be PHP 7 syntax compatible. That allows you to easier obtain forward-compatible PHP code with ease. So … Continue reading
Posted in Hakre's Tips, PHP Development, Pressed, Tools
Tagged Find, Grep, Linting, PHP, PHP 7, Syntax, Test, Travis, xargs
Leave a comment
The SimpleXMLElement Magic Wonder World in PHP
PHP’s Simplexml ships with a lot of magic to simplify access to an XML documents element and attribute node values. Some criticize this and suggest to use the DOM library instead. The DOM library on the other hand, even it … Continue reading
Posted in Developing, Hakre's Tips, PHP Development, Pressed, The Know Your Language Department, Uncategorized
Tagged DOMDocument, PHP, SimpleXML, SimpleXMLElement, XML
Leave a comment
Kubuntu Default Browser
The system-settings don’t reflect the whole picture in Kubuntu. Settings can be done via the command-line. Here exemplary to chromium: I had an issue with this for quite some time, I finally found the answer via “opening web link from … Continue reading
Posted in Hakre's Tips, Pressed, Uncategorized
Leave a comment
Installing PDF Printer under Kubuntu with AppArmor and Samba
It actually should be as little as installing cups-pdf (CUPS-PDF (Ubuntuusers German)): Then opening Printers in system preferences did show the new printer. However printing a test-page didn’t work. I then just followed the tail of the syslog: to find … Continue reading
Hide Folders in PhpStorm Project Pane
How can I hide a directory in a PHPStorm project, for example .sass-cache I just asked myself this morning. Searching online didn’t reveal it to me and there are numerious options that were close but not about hiding the directory … Continue reading
Download NextGen Gallery WordPress Gallery with Wget
For a gallery download with Wget made by NextGen Gallery (at least this is what I read from then nggpage=2 query string), I had success with: My example gallery with with all jpeg files. The switches are documented in the … Continue reading
Commandline Source Fixes Foo
From time to time I need to cleanup source trees. Today I needed to do that again, here are some command liners to get some work done. If you’re on Windows, all you need to do to get these running … Continue reading
Posted in Developing, Hakre's Tips, Pressed, Tools
Tagged CLI, dos2unix, file extensions, Find, Git, newline, sed
Leave a comment
Composer Clear Cache
It’s one of the best kept secrets of popular PHP dependency manager Composer: How to flush composers cache. You normally don’t need it, however if you create some composer.json and you want to put it to a test, this can … Continue reading
Posted in Developing, Hakre's Tips, PHP Development
Tagged Cache, Clear, Composer, David Neilsen, Igor Wiedler, PHP
5 Comments
XPath Null Byte Injection in PHP
Back in July this year, in Mitigating XPath Injection Attacks in PHP I was writing about how to properly quote a string in PHP’s Xpath 1.0. The code presented there was based on the assumption that the resulting expression is … Continue reading
Posted in Hakre's Tips, PHP Development, Pressed, Surviving the Internet
Tagged ASCIIZ, Injection, Null-Byte, PHP, PHP Security, XML, XPath, XPath Injection
Leave a comment
The Negative Influence of WordPress on PHP
The current The TIOBE Programming Community Index for July 2013 shows an increase for PHP, gaining grounds fast and as an ongoing trend over the last year: If compared to January 2013, PHP is the fastest climber with an increase … Continue reading
Posted in Hakre's Tips, Linked, Pressed, Surviving the Internet
Tagged Blogging, google trends, PHP, phpclasses.org, TIOBE, Wordpress
2 Comments