I AM LISTENING TO
|

WHAT I LIKE
Home · Blog
BLOG FILTER

27. January 2018

I have been working on a project , that relies on text-to-speech cloud services for a lot of things.

Audiomanager abstracts access to  popular text-to-speech cloud services like GoogleIvonaAmazon Polly… Really a timesaver, when evaluating different  services.

Polly Example

GitHub

Enjoy coding ….

readmore

27. January 2018

PHP dotenv loads environment variables from .env to getenv()$_ENV and $_SERVER automagically.

You should never store sensitive credentials in your code. Anything that is likely to change between deployment environments – such as database credentials or credentials for 3rd party services – should be extracted from the code into environment variables.

Add your application configuration to a .env file in the root of your project. Make sure the .env file is added to your .gitignore so it is not being checked-in.

DEFINE

LOAD

ACCESS

GitHub

Enjoy coding and be secure …

readmore

27. January 2018

Simple little snippet, that can easily be used in conjunction with wp_update_user()

Enjoy coding …

readmore

26. January 2018

“Logstalgia is a website traffic visualization tool that replays or streams web-server access logs as a pong-like battle between the web server and an never ending torrent of requests.

Requests appear as colored balls (the same color as the host) which travel across the screen to arrive at the requested location. Successful requests are hit by the paddle while unsuccessful ones (eg 404 – File Not Found) are missed and pass through.

The paths of requests are summarized within the available space by identifying common path prefixes. Related paths are grouped together under headings. For instance, by default paths ending in png, gif or jpg are grouped under the heading Images. Paths that don’t match any of the specified groups are lumped together under a Miscellaneous section.”

Logstalgia

readmore

26. January 2018

Easily target images with the jQuery filter function, using a Regular Expression. With this you can easily find elements that have a matching class, like ‘featured_image’ or ‘testimonial_image’.

Enjoy coding …

readmore

26. January 2018

Container

CSS

 

readmore

23. January 2018

When using your main content feed to share posts via buffer or other services, it is crucial that your feed validates cleanly.

[Valid RSS]

There are always things in the generated WordPress content that can break your feed validation. Here some things to cleanup or alter your delivered feed content.

CONDITIONAL TAGS

is_feed()
Check for syndication request. This tag is not typically used by users; it is used internally by WordPress and is available for Plugin Developers.

Check for feed syndication in your themes functions.php

REMOVE IFRAMES

REMOVE / DISABLE COMMENTS

REMOVE RESPONSIVE IMAGES

The sizes attribute breaks feed validation, here how to clean it up.

INCLUDE PAGES IN POST FEED

ADJUST AMOUNT OF POSTS

LIMIT BY CATEGORY

 

Enjoy coding …

readmore

23. January 2018

A tiny requestAnimationFrame powered 60+fps lightweight parallax tilt effect for jQuery.

GitHub

readmore

21. January 2018

Villa Anna Speyer – Classic Bed & Breakfast offering with 3 double rooms & bathroom.

  • Static html placeholder for first initial introduction & offer
  • WordPress Backend (coming soon)
  • Booking Backend (coming soon)
  • Maintenance

Villa Anna Speyer 

readmore

21. January 2018

CodeCombat is a multiplayer programming game for learning how to code. The ultimate goal of CodeCombat is to bring more users into the field of computer programming by making the logic and syntax more accessible and enjoyable to learn. The end game is to educate a whole new generation of computer programmers that started their journey by slaying ogres and defending their castles from oncoming enemy hordes.

CodeCombat teaches Python, JavaScript, and other languages directly in the browser.

CodeCombat itself can be found on GitHub under the free MIT license. All the art assets (sprites, backgrounds, sound effects, etc.) can also be found on GitHub and are published under a Creative Commons CC BY 4.0 license. This allows easy use of the game artwork for projects of students.

You can subscribe online or setup a dev environment on Windows, Mac or Linux yourself.   You need to be able to follow instructions and have some basic technical knowledge.

While the setup on the Mac and Linux are straight forward, Windows is the hardest to get working! (CodeCombat Wiki)

I have setup a local dev environment on my Mac for my daughter, as she does not play regularly but loves to tinker with it from time to time … learning Javascript!

Used some AppleScript  magic and Automator to ease the startup of the setup when needed. The setup might vary on your end, as I am using iTerm2 as a Terminal replacement.

CodeCombat is a really fun way to get into programming and keep your kids motivated.

CodeCombat Website / GitHub

 


 

readmore