This file contains hidden or 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
d-i debian-installer/locale string en_US | |
d-i keyboard-configuration/xkb-keymap select us | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string mynewvm | |
d-i netcfg/get_domain string localdomain | |
d-i time/zone string UTC | |
d-i partman-auto/method string regular | |
d-i partman-auto/choose_recipe select atomic | |
d-i partman/confirm_write_new_label boolean true | |
d-i partman/choose_partition select finish |
This file contains hidden or 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
# $configPrefixes = @( "web", "connectionStrings", "ExamineSettings" ) | |
$configurations = @( "Dev", "Staging", "Client-Staging", "Pre-Prod", "Live") | |
$configName = $configurations | ForEach-Object { "*.$_.config" } | |
$configTransforms = Get-ChildItem .\ ` | |
-Include $configName ` | |
-Recurse | |
$configTransforms | ForEach-Object { |
This file contains hidden or 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
# $configPrefixes = @( "web", "connectionStrings", "ExamineSettings" ) | |
$licenses = @( "umbracoCourierExpress.lic", "umbracoForms.lic") | |
$licenses | ForEach-Object { | |
Write-Output "Copying license files configuration transform file: $($_.FullName)" | |
Copy-Item ".\Licenses\$_" -Destination ".\bin" -Verbose | |
} | |
$licenses | ForEach-Object { |
This file contains hidden or 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
/****** Script for SelectTopNRows command from SSMS ******/ | |
SELECT TOP 1000 | |
ct.pk, | |
ct.alias as 'Content Type Alias', | |
ct.icon as 'Content Type Icon', | |
pt.alias as 'Property Alias', | |
pt.Name as 'Property Name', | |
data.propertyEditorAlias as 'Property Editor', | |
data.dbType as 'Property DB Type', | |
t.alias as 'Template Alias' |
This file contains hidden or 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 User as DBO template for Windows Azure SQL Database | |
-- ================================================= | |
-- For login <login_name, sysname, login_name>, create a user in the database | |
-- EXECUTE THIS ON AZURE MASTER DATABASE | |
CREATE LOGIN [client-stg-umbraco-user] WITH password='xxx'; | |
GO |
This file contains hidden or 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
-- Select all notifications for user | |
SELECT TOP 1000 | |
uu.userName, | |
uu.userEmail, | |
[userId], | |
cd.[nodeId], | |
cd.text, | |
cd.published, | |
cd.updateDate, | |
[action] |
This file contains hidden or 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
<#@ template debug="false" hostspecific="false" language="C#" #> | |
<#@ assembly name="System.Core" #> | |
<#@ import namespace="System.Linq" #> | |
<#@ import namespace="System.Text" #> | |
<#@ import namespace="System.Collections.Generic" #> | |
<#@ output extension=".cs" #> | |
<#@ assembly name = "Microsoft.CSharp" #> | |
<#@ assembly name = "System.Data" #> | |
<#@ import namespace = "System.Dynamic" #> | |
<#@ import namespace = "System.Data.SqlClient" #> |
This file contains hidden or 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
if frame < 1.00 | |
@SlideBase = 1.00 | |
@SlideBaseStep = 0.01 | |
@RotBase = 0.5 | |
@RotBaseStep = 0.002 | |
@SliderArm1 = 1 | |
@SliderArm1Step = 0.01 |
This file contains hidden or 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
augroup filetype_vim | |
autocmd! | |
autocmd FileType vim setlocal foldmethod=marker | |
augroup END | |
" Vim ESCAPE Combinations{{{ | |
imap jj <esc> | |
imap <S-Space> <Esc> | |
vnoremap <S-Space> <Esc> | |
" }}} |
This file contains hidden or 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
" Ctrl + Alt + I - ReSharper generate file beside | |
" Ctrl + Alt + S - Resharper surrand with template | |
" File {{{ | |
nmap zX :vsc Edit.UndoClose<CR> | |
nnoremap Q :vsc File.SaveSelectedItems<CR> :vsc File.Close<CR> | |
" }}} | |
" Build {{{ |
NewerOlder