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
john smith jsmith@nobody.com los angeles CA 90001 | |
larry summers lsummers@treasury.gov new york-city NY 10001 | |
twilla jacobs tjacobs@cincy.com cincinnati OH 45201 | |
andy johnson ajohnson@yahoo.com miami FL 33101 | |
tanya wilson twilson@gmail.com philadephia PA 19019 |
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 nocount on | |
go | |
declare @tblPerson table | |
( | |
[id] int not null | |
identity(1,1) | |
, [name] varchar(200) not null |
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 | |
rem Get current drive letter in CMD | |
rem https://stackoverflow.com/questions/21069787/get-current-drive-letter-in-cmd | |
setlocal | |
rem get contextual information | |
set "_contextualDrive=%cd:~0,2%" |
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
declare @rhyme varchar(8000) | |
declare @CHAR_SEPARATOR char(1) | |
set @rhyme | |
= 'Jack and Gill went up the hill ' | |
+ 'To fetch a pail of water ' | |
+ 'Jack fell down and broke his crown ' | |
+ 'And Gill came tumbling after.' | |
set @CHAR_SEPARATOR = ' ' |
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; | |
using System.Collections; | |
using System.Collections.Specialized; | |
using System.Collections.Generic; | |
using nsStringExtensions; | |
enum methodType | |
{ |
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
/* | |
Specify that structure implements the Debug trait | |
i.e. we will be able to print structure contents by using {:?} specifier in our print statements | |
*/ | |
//#[derive(Debug)] | |
struct Person | |
{ | |
name: String | |
, age: u8 | |
} |
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
/* | |
Specify that structure implements the Debug trait | |
i.e. we will be able to print structure contents by using {:?} specifier in our print statements | |
*/ | |
//#[derive(Debug)] | |
struct Person | |
{ | |
name: String | |
, age: u8 | |
} |
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
/* | |
Specify that structure implements the Debug trait | |
i.e. we will be able to print structure contents by using {:?} specifier in our print statements | |
*/ | |
#[derive(Debug)] | |
struct Person | |
{ | |
name: String | |
, age: u8 | |
} |
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
/* | |
Specify that structure implements the Debug trait | |
i.e. we will be able to print structure contents by using {:?} specifier in our print statements | |
*/ | |
#[derive(Debug)] | |
struct Person | |
{ | |
name: String | |
, age: u8 | |
} |
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
use std::fmt::{self, Formatter, Display}; | |
/* | |
Specify that structure implements the Debug trait | |
i.e. we will be able to print structure contents by using {:?} specifier in our print statements | |
*/ | |
//#[derive(Debug)] | |
struct Person | |
{ |