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 GLOBAL TEMPORARY TABLE friendBook | |
( | |
friendName VARCHAR2(100) NOT NULL | |
, dateMet DATE NOT NULL | |
) | |
ON COMMIT PRESERVE ROWS; | |
/* | |
Truncate Table | |
*/ |
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
struct Person | |
{ | |
name: String | |
, age: u8 | |
} | |
fn main() | |
{ | |
// Create struct with field init shorthand |
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
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 | |
{ |
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
/* | |
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 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
/* | |
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 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
/* | |
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 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
/* | |
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 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
using System; | |
using System.Collections; | |
using System.Collections.Specialized; | |
using System.Collections.Generic; | |
using nsStringExtensions; | |
enum methodType | |
{ |
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
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 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
@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%" |
NewerOlder