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
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
SET ANSI_PADDING ON | |
GO | |
CREATE TABLE [dbo].[Country]( |
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
INSERT INTO `wp_terms`(`name`, `slug`, `term_group`) VALUES | |
('AK - Alaska', 'ak', 0), | |
('AZ - Arizona', 'az', 0), | |
('AR - Arkansas', 'ar', 0), | |
('CA - California', 'ca', 0), | |
('CO - Colorado', 'co', 0), | |
('CT - Connecticut','ct', 0), | |
('DE - Delaware','de', 0), | |
('FL - Florida','fl', 0), | |
('GA - Georgia','ga', 0), |
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
CREATE TABLE [state]( | |
[stateID] [int] IDENTITY(1,1) NOT NULL, | |
[stateCode] [nchar](2) NOT NULL, | |
[stateName] [nvarchar](128) NOT NULL, | |
CONSTRAINT [PK_state] PRIMARY KEY CLUSTERED | |
( [stateID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) | |
ON [PRIMARY] |
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 | |
/* You can remove the above opening php tag | |
when pasting this code inside your | |
functions.php file. | |
*/ | |
/* The following code adds your custom stylesheet | |
to the wordpress login screen, allowing you to | |
customize the background, colors and fonts of the | |
page to match your custom theme. |
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
<div class="container1"></div> | |
<div class="container2 zigzag"></div> | |
<div class="container3 zigzag"></div> | |
<div class="container4 zigzag"></div> | |
/* Zig-Zag Border | |
Credit to http://bradsknutson.com/blog/css-zig-zag-border/ | |
*/ | |
.container1 { | |
width: 100%; |
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
.borders { | |
-webkit-box-shadow: 0px 1px 3px #666666; | |
-moz-box-shadow: 0px 1px 3px #666666; | |
box-shadow: 0px 1px 3px #666666; | |
-webkit-border-radius: 10; | |
-moz-border-radius: 10; | |
border-radius: 10px; | |
} |
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
namespace eventpattern { | |
public delegate void AllPropertiesDetailsParsedEventHandler(object sender, AllPropertiesDetailsParsedEventArgs e); | |
public class AllPropertiesDetailsParsedEventArgs : EventArgs | |
{ | |
} | |
public partial class Controller | |
{ | |
public event AllPropertiesDetailsParsedEventHandler AllPropertiesDetailsParsed; |
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
string newValue = System.Text.RegularExpressions.Regex.Replace(oldValue, "[^.0-9]", ""); |
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
@echo off | |
FOR /D /R %%X IN (debug,release,bin,obj,ipch) DO RD /S /Q "%%X" | |
del /S /F /AH *.suo | |
del /S /F *.user | |
del /S /F *.ncb | |
del /S /F *.sbr | |
del /S /F *.log |
NewerOlder