This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.polaroid { | |
float: left; | |
position: relative; | |
width: 200px; | |
margin: 10px 10px; | |
padding: 6px 8px 10px 8px; | |
list-style: none; | |
-webkit-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75); | |
-moz-box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75); | |
box-shadow: 4px 4px 8px -4px rgba(0, 0, 0, .75); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#social a { | |
opacity: 0.4; | |
filter: alpha(opacity=40) | |
transition: opacity .50s ease-in-out; | |
-moz-transition: opacity .50s ease-in-out; | |
-webkit-transition: opacity .50s ease-in-out; | |
} | |
#social a:hover { | |
opacity: 0.8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (function_exists('is_linked_list')) { ?> | |
<!-- Cool stuff --> | |
<?php } else { if (!$i++) echo "<h1>No posts?</h1><p>It's ok just grab and install <a href='http://wordpress.org/extend/plugins/daring-fireball-linked-list/'>Daring Fireball-style Linked List</a> plugin!"; } ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[AttributeUsage(AttributeTargets.Assembly)] | |
public class AssemblyGitBuild : Attribute | |
{ | |
public string gitBuild { get; private set; } | |
public AssemblyGitBuild(string txt) { gitBuild = txt; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Code to apply the Aero effect to the Window. | |
/// Set all the four value -1 to apply glass effect to the whole window | |
/// Set custom value to make specific part of the window glassy | |
/// Color.DarkKhaki sets the form Aero trigger due to a bug in VS2010 where some other colors allow click through | |
/// </summary> | |
/// <param name="sender"></param> | |
/// <param name="e"></param> | |
private void MainForm_Load(object sender, EventArgs e) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Runtime.InteropServices; | |
/// <summary> | |
/// Code for Windows Aero effects on the Window | |
/// </summary> | |
[StructLayout(LayoutKind.Sequential)] | |
public struct WindowsAero | |
{ | |
public int cxLeftWidth; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim FSO | |
Dim oShell | |
Set FSO = CreateObject("Scripting.FileSystemObject") | |
Set oShell = CreateObject("WScript.Shell") | |
Set objOutlook = GetObject(, "Outlook.Application") | |
For Each objInspector In objOutlook.Inspectors | |
objInspector.CurrentItem.Save |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Rename all directories. This will need to be done first. | |
# Process each directorys contents before the directory itself | |
find * -depth -type d | while read x | |
do | |
# Translate Caps to Small letters | |
y=$(echo "$x" | tr '[A-Z ]' '[a-z_]'); | |
# create directory if it does not exit | |
if [ ! -d "$y" ]; then |
NewerOlder