Instructor:
- David Kearns, MBA, PMP, ACP
- Working on VT Health Connect
Logistics
- Start/Stop
- Homework
- 16 Page Scrum white paper
DECLARE @str NVARCHAR(MAX) SELECT @str = N'' | |
SELECT @str = @str + 'exec sp_refreshsqlmodule ''' | |
+ SCHEMA_NAME([schema_id]) + '.' + OBJECT_NAME([object_id]) | |
+ '''' + CHAR(13) + CHAR(10) | |
FROM sys.objects o | |
WHERE [type] IN ('FN', 'IF', 'P', 'TF', 'V') | |
AND is_ms_shipped = 0 | |
AND NOT EXISTS (SELECT 1 FROM sys.sql_modules m | |
WHERE m.[object_id] = o.[object_id] |
module Life | |
def self.next_grid live_cells_in_grid | |
new_grid = Set.new | |
potential_cells(live_cells_in_grid).each do |cell| | |
alive = live_cells_in_grid.include?(cell) | |
neighbors = live_neighbors_count(live_cells_in_grid, cell) | |
if next_state_alive(alive, neighbors) | |
new_grid << cell | |
end |
<AttributeUsage(AttributeTargets.Field Or AttributeTargets.Property, AllowMultiple:=False)> | |
Public Class PhoneAttribute : Inherits RegularExpressionAttribute | |
Private Const _pattern As String = "^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$" | |
Private Const _msg As String = "Format for {0} must be (888)-888-8888." | |
Public Sub New() | |
MyBase.New(_pattern) | |
Me.ErrorMessage = _msg | |
DataAnnotationsModelValidatorProvider.RegisterAdapter( |
Imports System | |
Imports System.Data | |
Imports System.Runtime.CompilerServices | |
Imports System.Reflection | |
Imports System.Collections.Generic | |
''' <summary> | |
''' How to: Implement CopyToDataTable<T> Where the Generic Type T Is Not a DataRow | |
''' </summary> | |
''' <remarks> |
[HttpPost] | |
public JsonResult KeepSessionAlive() | |
{ | |
return new JsonResult {Data = "Success"}; | |
} |
Instructor:
Logistics
<#@ template language="C#" HostSpecific="True" #> | |
<#@ output extension=".txt" #> | |
<#@ include file="Imports.include.t4" #> | |
<#@ include file="ModelMetadataFunctions.cs.include.t4" #> | |
T4 Info Dump | |
ViewName: <#= ViewName #> | |
ViewDataTypeName: <#= ViewDataTypeName #> | |
IsPartialView: <#= IsPartialView #> | |
IsLayoutPageSelected: <#= IsLayoutPageSelected #> |
var consoleHeader = "color: rebeccapurple; font-size: large"; | |
console.header = function(text) {console.log(`%c${text}`,consoleHeader)} | |
console.header("Array of Objects"); | |
// delcare array of objects | |
var links = [ | |
{ title: "first item", address: "/project"}, |
Here's a play by play of kenorb's answer to 'How to clone all repos at once from GitHub?' with a breakdown for each command for people (like me) new to bash
TL;DR Run the following command, but replace Kylemit
your own Github user name
UserName=Kylemit; \
curl -s https://api.github.com/users/$UserName/repos?per_page=1000 |\
jq -r '.[]|.clone_url' |\
xargs -L1 git clone