Planet Gallery

March 19, 2010

Codex Changes

Gallery3:Modules:shadowbox

Screenshots:

← Older revision Revision as of 15:24, 19 March 2010
Line 15: Line 15:
== Screenshots ==
== Screenshots ==
-
The code it inserts into your page inside the HEAD element:
+
Module would add required information to the page for initial setup.
 +
In order to enable Shadowbox feature you would need to add
-
[[Image:G3_Module_ShadowBox_01.gif]]
+
<code>
 +
$ (document). ready( function() {
 +
  try {
 +
    Shadowbox.setup("a.g-fullsize-link", {player: 'img'});
 +
  } catch (e) {
 +
  }
 +
}
 +
</code>
== Download ==
== Download ==

by Serge D at March 19, 2010 03:24 PM

Gallery3:Themes:greydragon

FAQ:

← Older revision Revision as of 14:49, 19 March 2010
(One intermediate revision not shown)
Line 45: Line 45:
<li>Comments
<li>Comments
</ul>
</ul>
 +
 +
== FAQ ==
 +
 +
<ul><li><b>Q:</b> <i>How to change font?</i>
 +
<p><b>A:</b> In theme's folder locate <b>/css/screen.css</b> and change <b>font-family</b> rule for <b>BODY</b> tag.</p></li></ul>
== Wish List ==
== Wish List ==

by Serge D at March 19, 2010 02:49 PM

Technorati Backlinks

The End of Social Gaming As We Know It?

Things are starting to get exciting out in San Francisco, and I feel fine.

by avramjd at March 19, 2010 02:10 PM

Google Calendar's Smart Rescheduler

Google Calendar has a new feature in Labs called Smart Rescheduler to help reschedule events.

by AvaByGrace at March 19, 2010 02:05 PM

Mustafa Davis Shares Compelling Stories Using Film

These are real life characters, I simply turned my camera towards them and the story told itself.

by mikaelpittam at March 19, 2010 12:51 PM

A Great Musician Dies in Japan

Nujabes (Jun Seba) claimed as deceased today, though he died in February.

by jayakers at March 19, 2010 12:06 PM

Codex Changes

Gallery3:Modules:imageblockex

Description:

← Older revision Revision as of 05:53, 19 March 2010
Line 7: Line 7:
== Description ==
== Description ==
-
Random Image generator for the sidebar.
+
Random Image generator for the sidebar from available RSS feeds.<br />
 +
To support "Random RSS Feed" install [http://codex.gallery2.org/Gallery3:Modules:rss_extra RSS Extra] module.<br />
Discuss it [http://gallery.menalto.com/node/94049 here]
Discuss it [http://gallery.menalto.com/node/94049 here]

by Serge D at March 19, 2010 05:53 AM

User:Serge D

← Older revision Revision as of 05:51, 19 March 2010
Line 4: Line 4:
* G3 Theme: Grey Dragon Wind - http://codex.gallery2.org/Gallery3:Themes:greydragon_w
* G3 Theme: Grey Dragon Wind - http://codex.gallery2.org/Gallery3:Themes:greydragon_w
<br>
<br>
-
* G3 Module: ShadowBox support - http://codex.gallery2.org/Gallery3:Modules:shadowbox
+
* G3 Module: Module: ShadowBox support - http://codex.gallery2.org/Gallery3:Modules:shadowbox
* G3 Module: Sidebar Block: ClustrMaps - http://codex.gallery2.org/Gallery3:Modules:clustrmaps
* G3 Module: Sidebar Block: ClustrMaps - http://codex.gallery2.org/Gallery3:Modules:clustrmaps
* G3 Module: Sidebar Block: Gallery Stats - http://codex.gallery2.org/Gallery3:Modules:gallerystats
* G3 Module: Sidebar Block: Gallery Stats - http://codex.gallery2.org/Gallery3:Modules:gallerystats
* G3 Module: Sidebar Block: Random Image Ex - http://codex.gallery2.org/Gallery3:Modules:imageblockex
* G3 Module: Sidebar Block: Random Image Ex - http://codex.gallery2.org/Gallery3:Modules:imageblockex
 +
* G3 Module: Module: RSS Feeds Extra - http://codex.gallery2.org/Gallery3:Modules:rss_extra

by Serge D at March 19, 2010 05:51 AM

Gallery3:Modules:rss extra

Created page with '{{ModuleInfo |author=Serge D |link=http://codex.gallery2.org/images/5/51/Rss_extra.zip |description=version 1}} == RSS Feed Extra == Adds support for new RSS Feeds: random == D…'

New page

{{ModuleInfo
|author=Serge D
|link=http://codex.gallery2.org/images/5/51/Rss_extra.zip
|description=version 1}}

== RSS Feed Extra ==
Adds support for new RSS Feeds: random

== Description ==
Adds support for new RSS Feeds: random
Discuss it [http://gallery.menalto.com/node/95073 here]

== Installation ==
Unpack content in <b>modules</b> folder.<br/>
Activate the module: Login -> Admin -> Modules. Check the box next to the module. Click update at the bottom of the page.<br/>

[[Category:Gallery 3:Modules|rss_extra]]

by Serge D at March 19, 2010 05:50 AM

Gallery3:Modules:imageblockex

← Older revision Revision as of 05:41, 19 March 2010
Line 2: Line 2:
|author=Serge D
|author=Serge D
|link=http://codex.gallery2.org/images/8/84/Imageblockex.zip
|link=http://codex.gallery2.org/images/8/84/Imageblockex.zip
-
|description=version 5}}
+
|description=version 6}}
== Image Block ==
== Image Block ==
Display a random image in the sidebar  
Display a random image in the sidebar  

by Serge D at March 19, 2010 05:41 AM

Technorati Backlinks

Upset Stomachs Abound On Day One

One day in the books for the 2010 NCAA Tournament, and numerous records are falling by the wayside as top seeds get shown the door.

by doctorgeeves at March 19, 2010 03:12 AM

Fox News Interviewer Broadsides The President

Bret Baier showed everyone how rude someone can be to the President. How can he get away with this?

by amohit at March 19, 2010 02:55 AM

Skype Offers Free Wi-Fi at Paid Hotspots March 20-21

Skype's latest product, Skype Access, offers free promotional wifi access this coming weekend.

by gearheadgal at March 19, 2010 02:29 AM

MIX10: Mobile and Web Developers Gather for Windows Phone 7 Preview

Windows Phone 7 Series developers receive love at Microsoft's MIX10 conference in Las Vegas.

by gearheadgal at March 19, 2010 02:25 AM

Codex Changes

Technorati Backlinks

Will Andronikou Fix Pompey's Money Problems?

The soon-to-be-relegated Portsmouth Football Club hopes that successful administration can pull them out of the fires of debt before season's end.

by Rheality at March 19, 2010 01:22 AM

March 18, 2010

Technorati Backlinks

MIX10 Sessions Ready App Developers for Windows Phone 7

Microsoft hopes to make it easier for developers to get noticed in the crowded mobile application marketplace

by gearheadgal at March 18, 2010 11:29 PM

Commute Time Key Factor in Employee Retention

Long commutes take their toll on employees, resulting in packing boxes and leaving the job

by sageone73 at March 18, 2010 10:54 PM

Hey Mr. President, How About Jobs?

Despite a focus on healthcare and charged up messaging on jobs, American's are asking President Obama when they can get back to work

by sageone73 at March 18, 2010 10:23 PM

Pearson's Video Mentor: Reaching Out to Social Media

Pearson education's Video Mentor is a 2 hour video plus book, a fairly simplified certification instruction manual.

by ecothrust at March 18, 2010 09:16 PM

Philly Flying Lower After Leighton Injury

Philadelphia loses another goaltender to injury, and their contingency plan leaves a lot to be desired.

by doctorgeeves at March 18, 2010 08:39 PM

Breaking: Jesse James Asks Wife Sandra Bullock To Forgive Him

Jesse James admits he is a cheating piece of crap, begs Sandra Bullock and his children to forgive. Good luck with that, I know I won't.

by dmdo at March 18, 2010 06:46 PM

Tonight's the Night Real Housewives of NYC Fans

The ladies of The Real Housewives of New York City are ready to entertain us tonight, 10pm on Bravo Channel.

by aliciamilan at March 18, 2010 06:19 PM

Singer/Songwriter Alex Chilton Dead At 59

Children by the million scream for Alex Chilton. RIP.

by dmdo at March 18, 2010 05:08 PM

Google Blogsearch Backlinks

How To Set Up Apache2 With mod_fcgid And PHP5 On Debian Etch <b>...</b>

How To Set Up Apache2 With mod_fcgid And PHP5 On Debian Etch HOWTO-Related Questions.

by immobilia at March 18, 2010 04:31 PM

Technorati Backlinks

SXSW 2010: Putty Hill

Matthew Porterfield's film Putty Farm has a North American premiere at SXSW.

by bryanmckay at March 18, 2010 04:21 PM

Zach Galifianakis Interviews Ben Stiller on New Between Two Ferns

A new episode of Between Two Ferns premieres with Zach Galifianakis interviewing Ben Stiller.

by bryanmckay at March 18, 2010 04:00 PM

Blog Focus on Kindle for Mac OS X Release

Bloggers react to the release of Amazon Kindle for Mac OS X.

by bryanmckay at March 18, 2010 03:36 PM

Jesse James' Mistress Michelle McGee Paid Close to $30,000 For Her Story

The woman who just destroyed Sandra Bullock's marriage was paid almost $30,000 for sharing intimate details of her affair with Jesse James.

by dmdo at March 18, 2010 03:13 PM

Apple Developing Social Networking App for iPhone

A patent reveals that Apple is in development on a social networking app called iGroups.

by bryanmckay at March 18, 2010 03:07 PM

American Idol Results Show a Travesty

The voters have spoken and once again, senseless tragedy has struck on American Idol with the wrong contestant going home.

by aliciamilan at March 18, 2010 01:10 PM

New Perspectives for Depression Treatment

New perspectives for depression treatment obtained from the evaluation of therapeutic studies from 1980 to 2009

by utomosetyo at March 18, 2010 12:58 PM

Google Chrome 4.1 Released For Windows

New features allow domain-specific privacy settings and on-the-fly auto translation

by boneinthefan at March 18, 2010 12:25 PM

Google Denied Trademark For Nexus One Name

Trademark for Nexus One denied by US Patent and Trademark Office.

by AvaByGrace at March 18, 2010 11:53 AM

Nexus One On Sprint 3G Network

Sprint 3G Mobile Broadband Network will support Google's Nexus One in the near future

by AvaByGrace at March 18, 2010 04:10 AM

Snoop Dogg's Malice 'N Wonderland

Snoop Dogg premieres trailer for Malice 'N Wonderland short film.

by bryanmckay at March 18, 2010 01:30 AM

HBO Premieres Treme Trailer

HBO recently premiered a new trailer for David Simon's upcoming series Treme and the consensus is pretty much universal that it looks amazing

by bryanmckay at March 18, 2010 12:42 AM

Foursquare Experiences Huge SXSW Growth Surge

Foursquare experiences massive growth surge following SXSWi, but can it sustain interest?

by bryanmckay at March 18, 2010 12:28 AM

March 17, 2010

Technorati Backlinks

Tumblr Announces BlackBerry App

Tumblr announces the first version of the their new BlackBerry app.

by bryanmckay at March 17, 2010 11:44 PM

Christian Mohn (h0bbel)

Tape is dead, long live tape or how water can ruin your weekend

A little while ago, disaster struck. What seemed like a normal day at work, suddenly turned into a frenzy I have yet to experience anything similar to.

What happened? We realized something was wrong when we lost contact with one of our non-virtualized servers.
I couldn’t contact it at all; it had just vanished from the face of our network.

My natural reaction was to run into our server room, to check what had happened. I figured it would be a power supply failure, or NIC failure.

Boy, was I wrong.

It turns out that a plastic pipe going through the wall, providing shielding for the power cables that provide power for the outdoor unit of the cooling system, led water straight into the server room. When I entered the server room, and heard splish-splashy sounds as soon as my feet hit the floor, I immediately grabbed a bucket and held it under the aforementioned pipe. While I stood there, trying to do some damage control, several other people rushed to my assistance.

As soon as there were enough hands on deck trying to get rid of the water, I grabbed the file server and brought it downstairs for some open heart surgery.

It’s a well known fact that water and servers don’t really mix that well. Even less so when the water in question flows down the walls in your server room, right on top of your main file server. That’s right; water meet server.

Of course, the very last of our non-rack based servers was located in a straight line below the pipe. Everything else was fine; the rack servers aren’t located directly on the floor, nor is anything else. We did have a good 2cm of water on the floor, but that wasn’t enough to hit the rack servers or UPS’s.

So, what was the end result? One pretty dead server. It did try to get our hopes up, and initially it did.
At first, things looked good. I removed the HDDs and the power supplies, opened the cabinet and looked for water damage. The power supplies seemed to have gotten a bit wet, which is probably why the server went MIA in the first place. Other than that, everything looked good. I still had some hope that the data on the HDDs was undamaged. Considering that I had removed the HDDs, I tried powering on the server. Any, yay, it started up, went through the BIOS OK and generally seemed like a happy little server again.

I let it run for a while with no apparent errors or hiccups, so I decided to try and boot it with disks in it again. At first, the RAID controller complained that its logical drive(s) was missing, but that was expected after I had started it without the drives in it. I tried setting the logical drive to online, but then it complained about missing information. My next move was to copy the RAID/Logical Drive information from the drives to the controller, and that worked perfectly. The server rebooted, and started without problems. I let it run for a while, no problem what so ever, it seemed we caught a lucky break and could continue running.

Sadly that was not the case, as it only lasted a good 20 minutes before the server died completely, breaking the RAID as a result. The drives died, the power supply died, and our inventory is now one physical file server smaller.
Next, restore from backup. As most small companies/IT-depts. we do backups to tape. We even have a pretty decent LTO3 based changer, and we run Tivoli Storage Manager as out backup software. As this was a physical server that was due to be replaced with a VM, we decided to restore its data to a new pre-provisioned VM. That should be a breeze, right?

As anyone that has attempted to restore large amounts of data from a tape library will attest to, things can, and will, fail. Tapes can go bad, drives can go nuts and changers can decide that they don’t want to change anymore. We experienced two of the above;

  • Bad Tape
    One of the tapes we were going to recover data from was broken, and we could not recover data from it. Thankfully TSM lets us have a copypool of tapes, so we did work around it by collecting the replacement tape from that pool.
  • Nutty Drive
    Drive 2 in the changer decided that after the initial restore job, a small subset of critical data, it wouldn’t play ball anymore. Now, TSM only uses one drive at a time to restore data with, but it does use the other drive in the changer to prepare the next tape with. So, we were reduced to all the action happening on one drive, which of course means that the restore time was significantly increased.

In the end, we were 100% successful in recovering the data from our latest backup set. We restored nearly 1 000 000 files (which also increased the restore time by a huge amount), but the entire restore process took us close to 56 hours in total.
Of course, in hindsight this whole mess could pretty easily have been avoided, on several different levels:

  • The pipe should not have been able to lead water directly into the server room.
    When we do risk assessments, do we identify problems like this? I for one did not see this one coming, and I’ve practically lived in that server room the last few years.
  • We should have installed some sort of water detection system in the server room.
    This might not have prevented the server crash, but we could potentially have identified that water was present and been able to shut down the server before it fried.
  • Why was the server still located on the floor?
    The fileserver should have been virtualized a long time ago, and plans were in place to do so. In fact, the VM that should replace it was already provisioned and semi-configured.

The most significant thing we could have done, before disaster struck, was to have a proper disaster recovery site in place. Irony has it that we got the quote on the hardware from HP, and software from Veeam, on Tuesday, two days before “the incident”. We have the DR location in place, and the lease contracts have been signed. We even have 100Mbit direct access to the DR site being installed as we speak. If this had happened a month or two from now, we would have been up and running through the whole ordeal. Of course, it could not have happened at a worse time, but when would something like this be well timed, really?

Now, we were already in the process of getting a DR site in place, so both IT and Management knew about the need for a secondary location. What surprised us though, was the sheer amount of files we had to restore from tape, and how much time it took. 56 hours is an extremely long time, especially when you are looking at restore jobs...

This means that our DR site setup, won’t be based on tape based backups. We can’t rely on tape medium as a primary medium for restore processes, it simply takes too long and is too error prone for us to base our business on. The fact of the matter is that even small businesses now have so many files and so much critical data floating around, that tape just isn’t feasible anymore. Don’t get me wrong, I’m glad we had tape backups, as we don’t really have the storage space available to do disk based backups right now.

As soon as the DR site is up and running, tape is dead as far as I’m concerned.

I’ll outline our DR site setup later, when we have it in place, but I’m definitely looking into using Virtual Tape Libraries (VTL) with dedup built-in for the new setup. And of course, snapshot based VM backups using Veeam Backup and Replication to the DR location, you know, for those really critical VMs that we can’t live without.

I for one will have backups everywhere from now on.

by Christian Mohn at March 17, 2010 11:27 PM

Codex Changes

Technorati Backlinks

The Women of American Idol Trample All Over the Men

The American Idol top 12 took the big stage last night. A great night for most of the ladies. Not so great for most of the guys!

by aliciamilan at March 17, 2010 10:43 PM

Rough Day For Oscar Winner Sandra Bullock Amid Infidelity Rumors

Actress and Oscar winner Sandra Bullock is having a REALLY bad day.

by dmdo at March 17, 2010 10:03 PM

How to Choose the Right Keywords for Your Business

The most undervalued and overlooked tool for online business success is choosing the right keywords your customers are searching for.

by ReidPeterson at March 17, 2010 09:03 PM

Can You Hear Me Filibustering Now?

40,000 calls a day hit the Capitol phone system in anticipation of the big health care vote. Your call is very important to them.

by sussman at March 17, 2010 08:29 PM

Michael Jordan Officially Takes Over Bobcats

A unanimous vote from the NBA's Board of Governors makes Michael Jordan the now sole owner of the Charlotte Bobcats franchise.

by ddunhamjr at March 17, 2010 06:14 PM

Coyotes Defensive On Path to History

With Russian ministar Ilya Bryzgalov in goal, the Phoenix COyotes are well on their way to possibly the best season in franchise history.

by doctorgeeves at March 17, 2010 06:05 PM

PC Leprechauns Object To "McCarthyism" Pejorative

William Gavin says the communist-hunting Senator is synonymous with Irish heritage. I think.

by sussman at March 17, 2010 05:21 PM

Sun Devils Spiral Out of Postseason

Arizona State went from NCAA at-large to one-and-done in the NIT in only seven days, and did it without even playing tough competition.

by doctorgeeves at March 17, 2010 04:55 PM

Incentivize Big Dance to Improve Academics

Secretary of Education Arne Duncan wants to ban teams from the NCAA Men's Basketball Tournament for poor academic performance, but there may be a better way

by toddwrightnow at March 17, 2010 03:49 PM

Top 10 Windows Help Articles in UK

A focus on customization among non-power users.

by boneinthefan at March 17, 2010 01:36 PM

Doin' Da Bump with Paypal and iPhones

Transfer funds directly without going through a "send to email address" process.

by boneinthefan at March 17, 2010 01:16 PM