Category Archives: Hacks

Check whether an array is empty

function in_multi_dimensional_array($multidimarray, $multidimarray_key, $lookingfor ) { $found = false; foreach ($multidimarray as $key => $data) { if ($data[$multidimarray_key] == $lookingfor) { // item found => add new keys & data if (!empty($multidimarray_newdata)) $found = true; break; // no need to … Continue reading

Posted in Hacks | Comments Off on Check whether an array is empty

Can I get a list of files marked –assume-unchanged?

What have I marked as –assume-unchanged? Is there any way to find out what I’ve tucked away using that option? I’ve dug through the .git/ directory and don’t see anything that looks like what I’d Source: Can I get a … Continue reading

Posted in Hacks | Tagged , | Comments Off on Can I get a list of files marked –assume-unchanged?

crontab.guru – the cron schedule expression editor

An easy to use editor for crontab schedules. Source: crontab.guru – the cron schedule expression editor 1 8 4 * * “At 08:01 on the 4th of every month.” next at 2016-09-04 08:01 random [minute] [hour] [date] [month] [weekday] * any value … Continue reading

Posted in Hacks | Comments Off on crontab.guru – the cron schedule expression editor

Common Sense | SoCal Reggae-Rock Band

This is a great band I love. Source: Common Sense | SoCal Reggae-Rock Band

Posted in Hacks | Comments Off on Common Sense | SoCal Reggae-Rock Band

Cost to charge an iPhone for a year?

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] Ever thought how much your iPhone (or Android smartphone) is costing you in power a year to charge? What about your tablet or laptop? Or your ebook reader? And do … Continue reading

Posted in Hacks | Comments Off on Cost to charge an iPhone for a year?

MailTo Syntax

MailTo Syntax. The MailTo command can do more than enter a single e-mail address in the “Send To” field while activating your e-mail program. It can also: Feature Syntax Address message to multiple recipients , (comma separating e-mail addresses) Add … Continue reading

Posted in coding, cool, Hacks, HTML | Tagged , , , | Comments Off on MailTo Syntax

IEBlog : Site Compatibility and IE8

IEBlog : Site Compatibility and IE8 Here’re a couple of methods for coding to IE8 (new hacks! d’oh!): Initial CSS Property Values Unset properties on the currentStyle object now return their initial value. Relying on the old initial values for … Continue reading

Posted in Browsers, Hacks | Comments Off on IEBlog : Site Compatibility and IE8

Tutorials – Servers > Telnet as a Diagnostic Aid

I don’t know about you, but I can use a reefresher now and again for things like surfing with Telnet to determine if 301 re-directs work… In a nutshell, you’ll want something like this: telnet eastvalley.freedomblogging.com 80[cr] Trying 69.25.233.100… Connected … Continue reading

Posted in coding, Hacks, nifty, tools, Unix | Comments Off on Tutorials – Servers > Telnet as a Diagnostic Aid

Hacking IE CSS: Underscore, Box Model ‘Voice Family’, & Star hacks

CSS Hacks Underscore Hack /* CSS hack for IE 6 and below */ .test { position: fixed; _position: absolute; } Voice Family (Box Family or Tantek Hack) /* CSS hack for IE 5.x */ .test { width: 500px; padding: 50px; … Continue reading

Posted in coding, Hacks | Comments Off on Hacking IE CSS: Underscore, Box Model ‘Voice Family’, & Star hacks

Farbtastic: jQuery color picker plug-in | Steven Wittens – Acko.net

Farbtastic is a jQuery plug-in that can add one or more color picker widgets into a page through JavaScript. Each widget is then linked to an existing element (e.g. a text field) and will update the element’s value when a … Continue reading

Posted in coding, Hacks, HTML, Interactive Team, javascript, nifty, tools, Web 2.0, WebTech | Tagged , , , , | Comments Off on Farbtastic: jQuery color picker plug-in | Steven Wittens – Acko.net