Setkame se v Truhlárně #1

If you like borderless dance and same type of music our next Dance-audio improvisation might be of interest for ya.
Couple dancers (Tereza Lenerová Hradílková, Martina Hajdyla Lacová, Zdenka Brungot Sviteková) will improvise on our (George Cremaschi, 2046, Matthew Ostrowski) audio waves, highlighted by Tomáš Morávek.

5.5.2012 Rokycanova 33, Prague ..about 8PM.

Crunchbang

This is good to be shared.
Crunchbang is a nice “little” definitely light linux distro that might be the right choice for anyone who needs a system for small laptops. .. Though you can you install it on your workstation as well…. but this time the important message of this post is that it runs super smooth on my “old”Asus eee T91. The installation just went fine, no problem what so ever. It installed everything including the Apache server (you can skip this installation if you like), it automatically set up the touch screen, sound, wifi everything. The whole system eats just about 5%CPU, a absolute minimum of RAM like 60MB or even less.

Anyway, what is important is that thanks to this Linux my unused old eee is live again, and ready for my upcoming long travel. Cheep light computer with about 6 hours of battery life, no antivirus necessary (indeed) all the apps free as well… this guy can even run on AAA batteries :) if you are brave enough. btw. if you have piece of hacker in you and sit somewhere surrounded by closed wifi spots the Atheros wifi card is the key. :)

Dentforum.cz – online

As you can see, my recent work is not as much about art as about webdesign. It has some practical background :)

This time I made a blog presentation for Czech Dental Chamber. In order to step out of the regular method how to inform people about the topic, they decided go forward.

For that matter we made a blog, where doctors them selves will flexibly inform about the common dental problems and also about the most recent findings.
Dentforum.cz made by 2046

Kuraz.cz – new website

Kuraz.cz has new website. Webdesign by 2046.cz

Artycok.TV – a small make up

Artycok.TV went through small make up. The Index redesign is a result of the internal changes. Artycok will now focus more on chosen topics and not that much on the daily reports, though they will be a inevitable part of the content still. The portal also has a small mini change that assures users that they are on the video portal and not on a blog or who knows what. :)

redesign – prahounakole.cz

Here it is. A new face-lift of the progressive bike group of the Auto-mat non-profit organization. Prahounakole.cz wears new bright and shiny book like design. Such a design was always my dreams. The website is so called responsive so you it is easily approachable on any screen, no matter the size or the device.

2046′s loop widget

I use the WordPress a lot. I do lot of coding, but this time I though what if I help my self with a little widget that will do the job for me. So I wrote the 2046′s loop widget. This widget covers the most used loops I build on all the sites I made. All the boring work I write always and again is turned in to a clickable interface. The widget went through couple weeks of development and couple website are based on it already :) I think the widget in it’s current state can be considered as stable and powerful enough to help you all to build your own website with ease and unexpected flexibility.

You can download it right from the WordPress repository or read more info on it’s page.

If you need some step by step intro, check this out:

 

The best plugin that ever happend to Wordpess

Did you ever thought of the WordPress as of the CMS system. I doubt you didn’t. But when you start to actually use it as CMS then you realized you need this plugin, for custom fields, that plugin for custom types. Some of them support this some of them that but not many can export the settings so you can easily use them on other clients sites. You might even dreamed of the “many to many” relation ship among post, pages and all your custom post types.

CCTM is the best CMS WordPress plugin I have found through my practice. It is a complex solution that really covers all the basic needs you have for CMS system.

Migrating dates from “ec3 event calendar” into the “custom fields”

Oki, I think it is the right time to share some knowledge with you under the Aggressive Copyright indeed ;) .. in the time of SOPA, ACTA, TPP nothing you should worry about :D

We have used the ec3 event calendar for ages. It was a grate plugin that saved our asses when the WP was on the beginning and we too.
As the time goes the plugin has been abandoned and it triggers over too much errors in the no WP version and will in the future indeed.

The time comes and so I heave decided to abandon this plugin in one of our website too.
The plugin it self has many features as ical feed, calendar etc. we do not need. What we need is just two dates representing the beginning of the gig and the end of the gig.
We do not need time! So the code bellow strip the time off and uses the date only, though if you look at the code closely you find the way how to copy the raw date from the ec3 plugin in to the custom fields.

Custom fields?
What is it and how can I make it? These are nice pieces of data you can add to post or page or in taxonomy if you like. By default there is not really user friendly box where you can add them your self, but what I recommend you is to use nice plugin More fields (it triggers some errors when the WP_DEBUG is on, nothing crucial but still) or the new CCTM super complex CMS plugin (You might find it bit overwhelming, it is fairly complex)

// example how to get only selected row for particular post id
//$myrows = $wpdb->get_results("SELECT * FROM wp_ec3_schedule WHERE post_id = 7693", ARRAY_N);

// get all the data from the ec3 event calendar
$myrows = $wpdb->get_results("SELECT * FROM wp_ec3_schedule", ARRAY_N);
//var_dump($myrows);

foreach ($myrows as $rows){
// get the dates only
$start_raw = explode( ' ', $rows[2]);
$end_raw = explode( ' ', $rows[3]);
// strip off the time that I do not want to use. The result is only the date: 2012-01-01
// if you like to use the whole thing 2012-01-01 10:00:00 use the ..raw variables
$start = $start_raw[0] ;
$end = $end_raw[0];
$the_post_id = $rows[1];
// print it all out in to the page, as a feedback
echo $start .' - '.$end.', '.$the_post_id.'<br />';

// update start dates
$wpdb->query( $wpdb->prepare(
"
INSERT INTO $wpdb->postmeta
( post_id, meta_key, meta_value )
VALUES ( %d, %s, %s )
",
array(
$the_post_id,
'event_start', // << your custom field name
$start
)
) );
// update end dates
$wpdb->query( $wpdb->prepare(
"
INSERT INTO $wpdb->postmeta
( post_id, meta_key, meta_value )
VALUES ( %d, %s, %s )
",
array(
$the_post_id,
'event_end', // << your custom field name
$end
)
) );
}

This really piss me off

The Magaupload is taken down. The were “charged with five counts of copyright infringement and conspiracy“.
From my point of view what they done is they give us a technology for sharing large files. The way how we us it is up to us, and all the responsibility lays on our shoulders.

To sue Megaupload is like sue Nobel for the Dynamite invention and the way people use it!

Why they do not charge Google? They do the same, offer similar technology (Youtube, …), in a way more powerful then Megaupload and such.
They store the “whole” world of the Internet, our knowledge with all rights applied to it, all the knowledge they have no rights over and nobody complains.

The basic problem is that the Virtual world Internet offers absolutely different kind of existence then ever existed,
yet The system tries to apply the same rules for it as for the precedent objects.

Let’s make a unity, non-profit where people will pay a fee, the company will buy all the CD’s what ever stuff, that all the people in this non-profit comp. can use.
Fuck the system. Lets show our selves, the truth. Internet is not Earth!

o—-o.info

All the content but a few exceptions on this website are under Aggressive Copyright license. By clicking on the button "Yes I do" you agree with the license and you understand all consequences.