Snippets Collections
  HTTP/1.1 302 Found
  Location: https://client.example.org/cb?
    code=SplxlOBeZQQYbYS6WxSbIA
    &state=af0ifjsldkj
  GET /authorize?
    response_type=code
    &scope=openid%20profile%20email
    &client_id=s6BhdRkqt3
    &state=af0ifjsldkj
    &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb HTTP/1.1
  Host: server.example.com
  HTTP/1.1 302 Found
  Location: https://server.example.com/authorize?
    response_type=code
    &scope=openid%20profile%20email
    &client_id=s6BhdRkqt3
    &state=af0ifjsldkj
    &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb
  {
   "iss": "https://server.example.com",
   "sub": "24400320",
   "aud": "s6BhdRkqt3",
   "nonce": "n-0S6_WzA2Mj",
   "exp": 1311281970,
   "iat": 1311280970,
   "auth_time": 1311280969,
   "acr": "urn:mace:incommon:iap:silver"
  }
+--------+                                   +--------+
|        |                                   |        |
|        |---------(1) AuthN Request-------->|        |
|        |                                   |        |
|        |  +--------+                       |        |
|        |  |        |                       |        |
|        |  |  End-  |<--(2) AuthN & AuthZ-->|        |
|        |  |  User  |                       |        |
|   RP   |  |        |                       |   OP   |
|        |  +--------+                       |        |
|        |                                   |        |
|        |<--------(3) AuthN Response--------|        |
|        |                                   |        |
|        |---------(4) UserInfo Request----->|        |
|        |                                   |        |
|        |<--------(5) UserInfo Response-----|        |
|        |                                   |        |
+--------+                                   +--------+
Pros and cons of Virtualization in Cloud Computing-
  
Utilization of Hardware Efficiently –
With the help of Virtualization Hardware is Efficiently used by user as well as Cloud Service Provider. In this the need of Physical Hardware System for the User is decreases and this results in less costly.
Before Virtualization, Companies and organizations have to set up their own Server which require extra space for placing them, engineer’s to check its performance and require extra hardware cost but with the help of Virtualization all these problems solved.

vailability increases with Virtualization 
One of the main benefit of Virtualization is that it provides advance features which allow virtual instances to be available all the times. 
During migration of Data from one server to another it ensures its safety.
Also, we can access information from any location and any time from any device.

Disaster Recovery is efficient and easy –
With the help of virtualization Data Recovery, Backup, Duplication becomes very easy. 

Virtualization saves Energy –
Virtualization will help to save Energy because while moving from physical Servers to Virtual Server’s, the number of Server’s decreases due to this monthly power and cooling cost decreases which will Save Money as well. 

Cons of Virtualization :

Data can be at Risk –
Working on virtual instances on shared resources means that our data is hosted on third party resource which put’s our data in vulnerable condition.

Learning New Infrastructure –
As Organization shifted from Servers to Cloud. They required skilled staff who can work with cloud easily. 

High Initial Investment –
HKEY_CURRENT_USER\Software\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}
/* write the function getProperty(), which takes two arguments: 
an object and a path to the property, which you need to get from the object. 
the path to the property is a string of keys separated by dots. */

function getProperty(obj, path) {
  // write your code here
}

const object = {
  one: 1,
  two: {
    three: 3
  },
  four: 4
};

getProperty(object, 'one'); // 1
getProperty(object, 'two.three'); // 3 
let message = "Hello ";
let name = "george";
alert(message + "there " + name);
<!DOCTYPE html>
<html>

<head>
  <link href="style2.css" type="text/css" rel="stylesheet">
</head>

<body>

  <button onclick="timedText()">Start</button>

  <button onclick="clearTimeout(timeout)">Stop</button>


  <div id="leser">
    <iframe src="https://opskins.com/?loc=good_deals&sort=n&app=433850_1"></iframe>
  </div>

  <div id="leser2">
    <iframe src="https://opskins.com/?loc=good_deals&sort=n&app=433850_1"></iframe>
  </div>

  <script>
    var timeout;
    function timedText() {
       timeout = setTimeout(myTimeout1, 5000) 
       timeout = setTimeout(myTimeout2, 10000) 
       timeout = setTimeout(myTimeout3, 15000) 
}

 function stopTimeout() {
   clearTimeout(timeout);
 }
 function myTimeout1() {
   document.getElementById("leser").innerHTML = '<iframe src="https://opskins.com/?loc=shop_search&sort=lh&app=433850_1&search_item=%22Skin%3A+Flaming+Skull+Face+Bandana%22"></iframe>';;
}
 function myTimeout2() {
   document.getElementById("leser").innerHTML = '<iframe src="https://opskins.com/?loc=shop_search&sort=lh&app=433850_1&search_item=Skin%3A+Pinstripe+Suit+Jacket"></iframe>';
}
 function myTimeout3() {
   document.getElementById("leser").innerHTML = '<iframe src="https://opskins.com/?loc=shop_search&sort=lh&app=433850_1&search_item=%22Skin%3A+Pinstripe+Slacks%22"></iframe>';
}
  </script>

</body>

</html>
import java.util.LinkedList;

class D {
    public static void main(String[] args) {
        LinkedList<String> name = new LinkedList<String>();

        name.addFirst("harry");
        System.out.println(name);
        name.addLast("om");
        System.out.println(name);
        name.add(2, "pop");
        System.out.println(name);
        name.remove();
        System.out.println(name);
        
        name.add(2, "elementAt2");
        System.out.println(name);
    }
}
import java.util.ArrayList;

public class Javaclasses {
    public static void main(String[] args) {
        ArrayList<String> name = new ArrayList<String>();

        name.add("harry");
        name.add("parry");
        name.add("charry");
        System.out.println(name);

        name.add(1, "rohit");
        System.out.println(name);

        name.set(0, "om");
        System.out.println(name);

        name.remove(1);
        System.out.println(name);

        System.out.println(name.get(2));

        name.clear();
        System.out.println(name);
    }
}
on multi_dialog for q given listing:l
	tell q as list
		set {a, b, c} to {{}, beginning, count}
		set v to b's class is integer
		if v then set {c, v, q} to {b, b is 0, rest}
	end tell
	if v then set c to 30
	repeat c + 1 div (1 + (system attribute "sysv") div 4160) times
		set a's end to ""
	end repeat
	set {d, text item delimiters} to {text item delimiters, return}
	set {q, a, text item delimiters} to {q as string, a as string, d}
	set r to (display dialog q default answer a)'s text returned
	if not v then tell r & a
		if l then return items 1 thru c of paragraphs
		if c > 1 then return text 1 thru paragraph c
	end tell
	tell r to repeat with i from (count paragraphs) to 1 by -1
		if (count paragraph i) is not 0 then
			if l then return paragraphs 1 thru i
			return text 1 thru paragraph i
		end if
	end repeat
	if l then return {}
	""
end multi_dialog

------------------
-- demonstration --
------------------

property l : {"1]  Name: {items: 2, length: fixed, output: list}", ¬
	"2]  Address: {items: 3, length: fixed, output: list}", ¬
	"3]  Reasons: {items: 6, length: fixed, output: list}", ¬
	"4]  ToDo List: {items: ?, length: variable, output: text}", ¬
	"5]  Standard: {items: 1, length: variable, output: text}"} ¬
	
property d : l's item 1

tell (choose from list l default items d with prompt "Choose a multi-dialog demonstration:")
	if it is false then error number -128
	set d to it
	set i to item 1's item 1 as integer
end tell

--------------------
-- syntax examples --
--------------------

if i is 1 then
	multi_dialog for {"... What is your first name?", "... And your last name?"} with listing
else if i is 2 then
	multi_dialog for {3, "Please enter your:", "", "1: house number & street name", "2: city/area", "3: zip code"} with listing
else if i is 3 then
	multi_dialog for {6, "List up to six reasons to be cheerful:"} with listing
else if i is 4 then
	multi_dialog for {0, "To Do list for " & (current date)'s weekday & ":"} with listing
else
	multi_dialog for "Did you *really* just want a standard dialog?" without listing
end if

function VideoPlayer() {
  const videoRef = React.useRef(); // assigning the object returned by a hook to a variable

  function handleClick() {
    videoRef.current.play(); // calling the required method on the current property of the object
  }

  return (
    <>
      <video ref={videoRef} src="./clip.mp4" /> // pointed a ref attribute to the element => got direct access to the DOM element
      <button onClick={handleClick}>▶️</button> /* attached a handler to a button */
    </>
  );
} 

// For class components, it's similar, except that the ref is created/declared using the React.createRef() function, and the ref itself is usually written with this

class VideoPlayer extends React.Component {
  constructor() {
    super();
    this.videoRef = React.createRef(); // created a ref and assigned it to a variable - it will be a property of this
  }

  handleClick = () => {
    this.videoRef.current.play(); // similarly, we call the required method on the current field of the object
  };

  render() {
    return (
      <>
        <video ref={this.videoRef} src="./clip.mp4" /> //
        <button onClick={this.handleClick}>▶️</button> //
      </>
    );
  }
} 
function Form() {

  return (
    <form>
      <label>
        Name:
        <input type="text" />
      </label>
      <button type="submit">Submit</button>
      <button type="button">Reset</button>
    </form>
  );
}

export default Form;


function Form() {
  const [inputValue, setInputValue] = useState('');

  const handleChange = (event) => {
    setInputValue(event.target.value);
  };

  return (
    <form>
      <label>
        Name:
        <input type="text" value={inputValue} onChange={handleChange} />
      </label>
      <button type="submit">Submit</button>
      <button type="button">Reset</button>
    </form>
  );
}

export default Form; 


// NOW ADDING FORM SUBMISSION BUTTON HANDLER AND RESET BUTTON HANDLER


function Form() {
  const [inputValue, setInputValue] = useState('');

  const handleChange = (event) => {
    setInputValue(event.target.value);
  };

  const handleSubmit = (event) => {
    event.preventDefault();
    console.log(inputValue);
  };
  
  const handleReset = () => {
    setInputValue("");
  };

  return (
    <form onSubmit={handleSubmit}>
      <label>
        Name:
        <input type="text" value={inputValue} onChange={handleChange} />
      </label>
      <button type="submit">Submit</button>
      <button onClick={handleReset} type="button">Reset</button>
    </form>
  );
}

export default Form; 
ReactDOM.render((
  <>
    <h2>Chats</h2>
    {chats.map((chat) => (
      <Chat
                key={chat.id}
                id={chat.id}
                name={chat.name}
                lastMessageAt={chat.lastMessageAt}
            />
    ))}
  </>
), document.querySelector('#root')); 
const uuid = () => {
  return Date.now().toString(36) + Math.random().toString(36).substr(2);
}

export default uuid;
--
-- Database: `libeanimation_animation_liberty`
--

-- --------------------------------------------------------

--
-- Table structure for table `about_page`
--

CREATE TABLE `about_page` (
  `about_page_id` int(11) NOT NULL,
  `meta_title` varchar(255) NOT NULL,
  `meta_desc` varchar(255) NOT NULL,
  `meta_robots` varchar(255) NOT NULL,
  `meta_keyword` varchar(255) NOT NULL,
  `section_banner_heading_text` longtext NOT NULL,
  `section_two_heading_text` longtext NOT NULL,
  `section_two_image` varchar(300) NOT NULL,
  `section_three_text` longtext NOT NULL,
  `about_page_status` tinyint(1) NOT NULL DEFAULT 0,
  `about_page_date` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
function replaceURLTextWithLink(text) {
 
            // Put the URL to variable $1 after visiting the URL
            const Rexp =/((http|https|ftp):\/\/[\w?=&.\/-;#~%-]+(?![\w\s?&.\/;#~%"=-]*>))/g;
 
            // Replace the RegExp content by HTML element
            return text.replace(Rexp,
                "<a href='$1' target='_blank'>$1</a>");
}
import fiftyone as fo
from fiftyone.zoo import load_zoo_dataset

def download_vehicle_images():
    # Specify the classes of interest (e.g., vehicles, cars)
    classes_of_interest = ["Car", "Truck", "Motorcycle", "Bus", "Van"]

    # Specify the maximum number of samples you want to download
    max_samples = 100  # You can adjust this number as needed

    # Load the Open Images V7 dataset using FiftyOne
    dataset = load_zoo_dataset(
        "open-images-v7",
        split="validation",
        label_types=["detections", "segmentations", "points"],
        classes=classes_of_interest,
        max_samples=max_samples,
    )

    # Save the downloaded dataset
    dataset.export(export_dir="/path/to/save/vehicle/images")

if __name__ == "__main__":
    # Execute the download function
    download_vehicle_images()
Conversions happen within the booking confirmation page within the LightFrame. If they provide us with the google ads conversion code, we will inject the variables and add it to the dashboard. When the customer reaches the booking confirmation page, the code will fire and report information about the booking. Please note that this code will only fire on the booking confirmation page, so it will not fire prior to booking. We unfortunately are not able to redirect to a different page on your site, but even if we could, booking information would not be able to be transferred from the LightFrame to your site.



Client is asking "When a reservation is made from my website after they complete payment in the Fareharbor, what is the final URL the customer is directed to?"
Is there a way you can tell or support can tell too?

..
The booking confirmation page is within the lightframe. It has a dynamically generated URL but will always contain /booking. If they want to add conversion pixels to fire on the confirmation page, they will have to send it to us so we can add it to the dashboard

// an application that accesses a relational database with JDBC, you’ve probably configured Spring’s JdbcTemplate as a bean in the Spring application context
@Bean
public JdbcTemplate jdbcTemplate(DataSource dataSource) {
  return new JdbcTemplate(dataSource);
}

// configure a DataSource bean so that the dependency will be met
@Bean
public DataSource dataSource() {
  return new EmbeddedDatabaseBuilder()
          .setType(EmbeddedDatabaseType.H2)
          .addScripts('schema.sql', 'data.sql')
          .build();
}
{
  "kind": "EntityLinking",
  "parameters": {
    "modelVersion": "latest"
  },
  "analysisInput": {
    "documents": [
      {
        "id": "1",
        "language": "en",
        "text": "I saw Venus shining in the sky"
      }
    ]
  }
}




{
  "kind": "EntityLinkingResults",
  "results": {
    "documents": [
      {
        "id": "1",
        "entities": [
          {
            "bingId": "89253af3-5b63-e620-9227-f839138139f6",
            "name": "Venus",
            "matches": [
              {
                "text": "Venus",
                "offset": 6,
                "length": 5,
                "confidenceScore": 0.01
              }
            ],
            "language": "en",
            "id": "Venus",
            "url": "https://en.wikipedia.org/wiki/Venus",
            "dataSource": "Wikipedia"
          }
        ],
        "warnings": []
      }
    ],
    "errors": [],
    "modelVersion": "2021-06-01"
  }
}
{
  "kind": "EntityRecognition",
  "parameters": {
    "modelVersion": "latest"
  },
  "analysisInput": {
    "documents": [
      {
        "id": "1",
        "language": "en",
        "text": "Joe went to London on Saturday"
      }
    ]
  }
}


{
    "kind": "EntityRecognitionResults",
     "results": {
          "documents":[
              {
                  "entities":[
                  {
                    "text":"Joe",
                    "category":"Person",
                    "offset":0,
                    "length":3,
                    "confidenceScore":0.62
                  },
                  {
                    "text":"London",
                    "category":"Location",
                    "subcategory":"GPE",
                    "offset":12,
                    "length":6,
                    "confidenceScore":0.88
                  },
                  {
                    "text":"Saturday",
                    "category":"DateTime",
                    "subcategory":"Date",
                    "offset":22,
                    "length":8,
                    "confidenceScore":0.8
                  }
                ],
                "id":"1",
                "warnings":[]
              }
          ],
          "errors":[],
          "modelVersion":"2021-01-15"
    }
}
{
  "kind": "SentimentAnalysis",
  "parameters": {
    "modelVersion": "latest"
  },
  "analysisInput": {
    "documents": [
      {
        "id": "1",
        "language": "en",
        "text": "Good morning!"
      }
    ]
  }
}



{
  "kind": "SentimentAnalysisResults",
  "results": {
    "documents": [
      {
        "id": "1",
        "sentiment": "positive",
        "confidenceScores": {
          "positive": 0.89,
          "neutral": 0.1,
          "negative": 0.01
        },
        "sentences": [
          {
            "sentiment": "positive",
            "confidenceScores": {
              "positive": 0.89,
              "neutral": 0.1,
              "negative": 0.01
            },
            "offset": 0,
            "length": 13,
            "text": "Good morning!"
          }
        ],
        "warnings": []
      }
    ],
    "errors": [],
    "modelVersion": "2022-11-01"
  }
}
{
    "kind": "KeyPhraseExtraction",
    "parameters": {
        "modelVersion": "latest"
    },
    "analysisInput":{
        "documents":[
            {
              "id": "1",
              "language": "en",
              "text": "You must be the change you wish 
                       to see in the world."
            },
            {
              "id": "2",
              "language": "en",
              "text": "The journey of a thousand miles 
                       begins with a single step."
            }
        ]
    }
}


{
    "kind": "KeyPhraseExtractionResults",
    "results": {
    "documents": [   
        {
         "id": "1",
         "keyPhrases": [
           "change",
           "world"
         ],
         "warnings": []
       },
       {
         "id": "2",
         "keyPhrases": [
           "miles",
           "single step",
           "journey"
         ],
         "warnings": []
       }
],
    "errors": [],
    "modelVersion": "2021-06-01"
    }
}
{
    "kind": "LanguageDetection",
    "parameters": {
        "modelVersion": "latest"
    },
    "analysisInput":{
        "documents":[
              {
                "id": "1",
                "text": "Hello world",
                "countryHint": "US"
              },
              {
                "id": "2",
                "text": "Bonjour tout le monde"
              }
        ]
    }
}





{   "kind": "LanguageDetectionResults",
    "results": {
        "documents": [
          {
            "detectedLanguage": {
              "confidenceScore": 1,
              "iso6391Name": "en",
              "name": "English"
            },
            "id": "1",
            "warnings": []
          },
          {
            "detectedLanguage": {
              "confidenceScore": 1,
              "iso6391Name": "fr",
              "name": "French"
            },
            "id": "2",
            "warnings": []
          }
        ],
        "errors": [],
        "modelVersion": "2022-10-01"
    }
}




{
  "documents": [
    {
      "id": "1",
      "text": "Hello, I would like to take a class at your University. ¿Se ofrecen clases en español? Es mi primera lengua y más fácil para escribir. Que diriez-vous des cours en français?"
    }
  ]
}



{
    "documents": [
        {
            "id": "1",
            "detectedLanguage": {
                "name": "Spanish",
                "iso6391Name": "es",
                "confidenceScore": 0.9375
            },
            "warnings": []
        }
    ],
    "errors": [],
    "modelVersion": "2022-10-01"
}





{
    "documents": [
        {
            "id": "1",
            "detectedLanguage": {
                "name": "(Unknown)",
                "iso6391Name": "(Unknown)",
                "confidenceScore": 0.0
            },
            "warnings": []
        }
    ],
    "errors": [],
    "modelVersion": "2022-10-01"
}
//redirect
public function socialLogin()
    {
        return Socialite::driver('facebook')->redirect();
    }

//callback
public function handleProviderCallback()
    {
    
        try {

            $user = Socialite::driver('facebook')->user();

            $finduser = User::where('facebook_id', $user->id)->first();

            if($finduser){

                Auth::login($finduser);

                return redirect()->intended('/');

            }else{
                $newUser = User::create([
                    'name' => $user->name,
                    'email' => $user->email,
                    'facebook_id'=> $user->id,
                    'password' => encrypt('Test123456')
                ]);

                Auth::login($newUser);

                return redirect()->intended('/');
            }

        } catch (Exception $e) {
            dd($e->getMessage());
        }

    }
    
    
    
    //routes
Route::get('/login/facebook',[login::class,'socialLogin'])->name('redirectToFacebook');
Route::get('/login/facebook/callback',[login::class,'handleProviderCallback'])->name('callbackFacebook');

// config/services.php
'facebook' => [
        'client_id' => '', //Facebook API
        'client_secret' => '', //Facebook Secret
        'redirect' => '',//callback url
     ],
    
    //config/app.php
    
    
     'Socialite' => Laravel\Socialite\Facades\Socialite::class,  //aliases
             Laravel\Socialite\SocialiteServiceProvider::class,  //providers

    
    
C:\Program Files\NVIDIA Corporation\Display.NvContainer\plugins\LocalSystem\
> eval `ssh-agent`
> ssh-add /c/Users/roberto/.ssh/gitlab
print("\033[31m", "=======SUMMARY OF WHAT I'VE LEARNT TODAY=======" ,"\033[0m")
print("Adding colour to a text and the if statement")
print()
name = input("What's your name?:")
if name == "Robert":
 print("\033[33m" ,"Welcome and feel free to critique!" ,"\033[0m")
else:
 print("Great! You may have a look at things") 
print()
hobby = input("What's your favourite hobby?:")
if name == "Robert":
 print("""I am so sorry that  I did not write today's blog despite your clear instruction...
       I promise that I'll write it tommorow and I also need your clear instruction concerning some matters.
        For that reason I wish to call tommorow.""")
else:
 print("That's a great hobby you got there!")
print("\033[33m" ,"Thank you for your time and have a great day!" ,"\033[0m")
const http = require('http')
const fs = require('fs')
const path = require('path')

http.createServer((req, res) => {

    if(req.url === '/'){
        sendRes('index.html', 'text/html', res)
    }
    
    else if(/\uploads\/[^\/]+$/.test(req.url) && req.method === 'POST'){

    }
    
    else{
        sendRes(req.url, getContentType(req.url), res)
    }

}).listen(5000)

function getContentType (url){
    switch(path.extname(url)){
        case '.html':
            return 'text/html' 
        case '.css':
            return 'text/css'
        case '.js':
            return 'text/javascript'
        case 'json':
            return 'application.json'
        default: 
            return "application/octate-stream"
    }
}

function sendRes(url, contentType, res){
    let file = path.join(__dirname+'/static/', url)
    fs.readFile(file, (err, data) => {
        if(err){
            res.writeHead(404)
            res.write('Error')
            res.end()
            console.log('error 404')
        }
        else{
            res.writeHead(200, {'Content-Type': contentType})
            res.write(data)
            res.end()
        }
    })
}
Alcheny: The Business Incubator
1326 Barrington St
Hfx, B3J 1Z1
Trish Bishop, VP
Tel: 429-6600
Fax: 423-1528

All's Well Sales & Profits Boosting Company
2829 Agricola St
Hfx, B3K 4E5
James Henry, General Manager
Tel: 443-2213
Fax: 443-8160

Altamira Financial Services Ltd
1903 Barrington St
Hfx, B3J 3C7
Adele Chaisson, Manager
Tel: 496-9600
Fax: 429-0656

Bank Of Canada
1583 Hollis St
Hfx, B3J 1V4
Bob Dolomont, Senior Rep
Tel: 420-4600
Fax: 420-4644

Bank Of Montreal
5151 George St ,1st. Floor
Hfx, B3J 1M5
R.M Bisset,VP
Tel: 421-3402
Fax: 421-3410

Bank Of Nova Scotia
PO Box 2146
Hfx, B3J 3B7
Pierrette Barrie, Assistant GM
Tel: 420-3501
Fax: 422-8332

Better Business Bureau Of NS
188 Brunswick St, Suite 601
Hfx, B3J 3J8
Louis A.Gannon Jr, Executive Director
Tel: 422-6581
Fax: 429-6457

Business Department Bank Of Canada
PO Box 1656
Hfx, B3J 2Z7
Doug Artz, Assistant VP
Tel: 426-7850
Fax: 800 452-5531

CT Private Investment Counsel
1718 Argyle St
Suite 400
Hfx, B3J 3N6
Anne Campbell, Regional, President
Tel: 492-5707
Fax: 492-5324

Canad. Trust Co.
1718 Argyle St
Hfx, B3J 3N6
Tom Wheeler, Manager
Tel: 492-5352
Fax: 492-5321

Canada-Nova Scotia Offshore Petroleum Board
6th Floor 
1791 Barrington St
Hfx, B3J 3K9
J.E. Dickey , C.E.O
Tel: 422-5588
Fax: 422-1799

Canada Industrial Group Ltd
6173 Pepperell St
Hfx, B3H 2P1
Paul E. Vandall, Presidant
Tel: 422-0444


Canadian Bankers Association
1801 Hollis St
Suite 1000
Hfx, B3J 3N4
Tel: 423-3399
Fax: 429-5478

Canadian Soft Drink Association
1657 Barrington St
Suite 310
Hfx, B3J 2A1
Cella Farn, VP
Tel: 492-0900
Fax: 492-0090

Credit Union Atlantic
6080 Young St. Suite 800 
Hfx,B3J 2X1
John Blue, Manager
Tel: 492-6500
Fax: 492-6501

Downtown Business Commission
301-1668 Barrington St
Hfx, B3J 2A2
Kate Carmicheal, Director
Tel: 423-3841
Fax: 429-0865

Entrepeneur's Forum
1718 Argyle St. Suite 500
Hfx, B3J 3N6
Valerie Baker, Executive Director
TEL: 492-7600
FAX: 492-4141

HRDA Enterprises Ltd.
5571 Cunard St.
Hfx, B3K 1C5
Norman Mac Neil, CEO
TEL: 492-4713
FAX: 454-6231

HSBC Bank Canada
1801 Hollis St.
HFX, B3J 3N4
Steve Countway, Manager
Richard Dawson, Manager
TEL: 423-8352
FAX: 422-4071

Harrigan Financial Services Ltd.
1313 Barrington St. Suite 100
HFX, B3J 3P1
Lloyd Digdon, President
TEL: 422-2340
FAX: 422-0316

Himmelman Hicks Financial Advisors Inc.
1801 Hollis St. Suite 1220
HFX, B3J 3N4
Brian E. Himmelman, Managing Partner
TEL: 429-2410 Ext. 240
FAX: 423-4460

Industry Canada
PO Box 940 Stn M
1801 Hollis St.
HFX, B3J 2V9
David Mulcaster, Executive Director,
Atlantic Region
Christine Smith
TEL: 426-3458
FAX: 426-2615

Interact Barter Exchange
2586 Agricola St.
HFX, B3K 4C4
Tasso Dikaios, Owner
TEL: 425-4600
FAX: 422-1199

Kornova Trading & Investments
1800 Argyle St. Suite 808
HFX, B3J 3N8
Chang Kang, President
TEL: 428-9178
FAX: 423-2527

Pulse Marketing 
1701 Hollis St. Suite L108
Hfx, B3J 3M8
Bill Murphy, Partner
Tel: 421-1500
Fax: 425-5719

TD Bank 1791 Barrington St
Hfx, B3J 2V2
Bern Pelley, Manager
Tel: 420-8007
Fax: 420-8154

/** Macros in FlexSim*/
/*By writing the root of a macro: the root is the basic part of the macro name and it carries its foundmental meaning*/

// list of macros in flexsim 

// 1. DATATYPE root
DATATYPE_NUMBER

// 2. STAT root
STAT_OUTPUT

//3. STATE root
STATE_BLOCKED

//4. photo eye PE root
PE_STATE_BLOCKED

// 5. 
{
  "entityName": "PEN5",
  "glxAccount": "1000100",
  "accountType": "Asset Account",
  "description": "Testing transfer"
  
}
  ?cmp=shc&mi=systablebrowser&tablename=NW_VendorRegUpdate

NW_PurchReqTableForNew
NW_RFQEvaluationEvaluatorNew
NW_RFQEvaluationRequesterNew
PurchRFQCaseTableForNew
  NW_ApproveBlacklistSupplierNew
  
   
  NW_receivingServiceRequest
  NW_RFQEvaluationEvaluatorEdit
  NW_InvoicePORequestNew
  NW_InvoiceServiceRequest
  NW_ApproveBlacklistSupplierNew
  
  NW_SupplierAssessmentApprovalStage
  NW_SupplierAssessmentApprovalStageEdit
  
  NW_SupplierAssessmentEvaluatorsStage
  NW_SupplierAssessmentEvaluatorsStageEdit
  
  NW_VendRegUpdateDlgEdit
  NW_SelectEvaluators
  NW_VendorReg
  
  getContractSigning
getContractCancelation
getContractChange
getContractRenewal
https://usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/NW_ContarctServiceGroup/NW_ContractRequestService/getContractClosure

[
    {
        "$id": "1",
        "RemarksForContractualobligation": "",
        "RemarksForOverAllRemarks": "",
        "RemarksForVendorQuotation": "",
        "RemarksForAccurateInvoice": "",
        "RemarksForVendorFlexbility": "",
        "RemarksForQualityMaintenance": "",
        "RemarksForQualityLevel": "",
        "RemarksForRecommendations": "",
        "Recommendations": "",
        "AddionalComments": "",
        "OverAllRemarks": "",
        "VendorQuotationCost": "",
        "AccurateInvoice": "",
        "VedorFlexibility": "",
        "QualityMaintenance": "",
        "ContractualobligationTime": "",
        "QualityLevel": "",
        "InstructionsLevels": "",
        "RequestID": "SHC-000026",
        "PurchId": "SHC-000004",
        "Employee": "Test",
        "EmployeeNo": "000274",
        "Title": "Analyst",
        "RequestDate": "2023-10-24T12:00:00"
    },
  .
  .
  .

<Domain>/api/services/NW_ProcurmentcycleStages/NW_ProcurmentCycleStages/GetProcStages
<Domain>/api/services/NW_ProcurementSummaryServiceGroup/NW_ProcurementSummaryService/ProcSummary

https://erpdax.wordpress.com/tag/ranges-with-x/

int selectedMenu;
real test;
formrun fr;
Args ag;
Itemname strtext;
querybuilddataSource qb1;
queryrun qr;
query q;
PopupMenu menu = new PopupMenu(element.hWnd());
int a = menu.insertItem('Find');
int b = menu.insertItem('Filter');
int c = menu.insertItem('Remove Filter');
 
selectedMenu = menu.draw();
 
switch (selectedMenu)
{
case -1:
break;
 
case a:
ag = new args('SysformSearch');
fr = new formrun(ag);
fr.run();
fr.wait();
strtext = fr.design().controlName('FindEdit').valueStr();
if(strtext)
{
q = inventSum_Ds.query();
qb1 =q.dataSourceTable(tablenum(InventSum));
QB1.addRange(FieldNum(InventSum,PhysicalInvent)).value(SySQuery::value(strtext));
INVENTSUM_DS.query(Q);
INVENTSUM_ds.executeQuery();
}
break;
 
case b:
InventSum_DS.filter(FieldNum(InventSum,PhysicalInvent),Sysquery::value(InventSum.physicalInventUnit()));
break;
 
case c :
InventSum_DS.removeFilter();
break;
 
Default:
break;
}
class NW_PurchaseOrderReportController extends SrsReportRunController
{
    /// <summary>
    /// Override this method to change the report contract before you run the report.
    /// </summary>
    protected void preRunModifyContract()
    {
        NW_GeneralContract        contract;
    
        PurchTable PurchTable;
    
        if(!this.parmArgs().record())
        {
            throw error("@SYS26348");
        }
        else
        {
            PurchTable = this.parmArgs().record();
        }
    
        if (PurchTable)
        {
            contract = this.parmReportContract().parmRdpContract() as NW_GeneralContract;
    
            if (PurchTable)
            {
                contract.parmRecordId(PurchTable.RecId);
    
            }
        }
    }

    public static NW_PurchaseOrderReportController construct()
    {
        return new NW_PurchaseOrderReportController();
    }

    public static void main(Args _args)
    {
        PurchTable PurchTable;
    
        SrsReportRunController controller  = NW_PurchaseOrderReportController::construct();
    
        PurchTable=_args.record();
    
        controller.parmArgs(_args);
    
        if(PurchTable.DocumentState==VersioningDocumentState::Confirmed)
        {
            controller.parmReportName(ssrsReportStr(NW_PurchaseOrderReport, PrecisionDesign1));
    
            controller.parmShowDialog(false);
            controller.startOperation();
        }

        else
        {
            error("The Purchase Order is not confirmed");
        }
       
    
    
    }

}
https://filetransfer.io/data-package/iTXxAmr1#link
# Before you run the Python code snippet below, run the following command:
# pip install roboflow autodistill autodistill_grounded_sam scikit-learn

from autodistill_grounded_sam import GroundedSAM
from autodistill.detection import CaptionOntology
from autodistill.helpers import sync_with_roboflow

BOX_THRESHOLD = 0.75
CAPTION_ONTOLOGY = {
    "0": "0",
    "1": "1",
    "5": "5",
    "green_car": "green_car",
    "gray_car": "gray_car",
    "Dent": "Dent",
    "scratch": "scratch",
    "red_car": "red_car",
    "undefined": "undefined",
    "yellow_car": "yellow_car",
    "Scratch": "Scratch",
    "blue_car": "blue_car",
    "white_car": "white_car",
    "black_car": "black_car"
}
TEXT_THRESHOLD = 0.70

model = GroundedSAM(
    ontology=CaptionOntology(CAPTION_ONTOLOGY),
    box_threshold=BOX_THRESHOLD,
    text_threshold=TEXT_THRESHOLD,
)

sync_with_roboflow(
    workspace_id="ofg8aFKE2OOmwddkN81tXUntmPr1",
    workspace_url="myassistant",
    project_id = "imperfections",
    batch_id = "aAre0tKc5Ja3ggoUkfda",
    model = model
)
#include <stdio.h>
#include <dos.h>
#include <conio.h>



int main()
{
    float sales, salary;
    clrscr();
    
    gotoxy(22, 10);
    printf("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
    gotoxy(22, 11);
    printf("X                                 X");
    gotoxy(22, 12);
    printf("X                                 X");
    gotoxy(22, 13);
    printf("X                                 X");
    gotoxy(22, 14);
    printf("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
    
    gotoxy(25, 11);
    printf("Enter sales in dollars: ");
    scanf("%f", &sales);

    salary = 200 + (sales * .09);
    
    gotoxy(25, 12);
    printf("Salary is: %.2f", salary);
    
    getch();
    return 0;
}
#include <stdio.h>
#include <dos.h>
#include <conio.h>
 
int main()
{
 
   float bal, charge, cred, limit, account, newbal;
   clrscr();
  
   gotoxy(20, 2);
   printf("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
   gotoxy(20, 3);
   printf("X                                       X");
   gotoxy(20, 4);
   printf("X                                       X");
   gotoxy(20, 5);
   printf("X                                       X");
   gotoxy(20, 6);
   printf("X                                       X");
   gotoxy(20, 7);
   printf("X                                       X");
   gotoxy(20, 8);
   printf("X                                       X");
   gotoxy(20, 9);
   printf("X                                       X");
   gotoxy(20, 10);
   printf("X                                       X");
   gotoxy(20, 11);
   printf("X                                       X");
   gotoxy(20, 12);
   printf("X                                       X");
   gotoxy(20, 13);
   printf("X                                       X");
   gotoxy(20, 14);
   printf("X                                       X");
   gotoxy(20, 15);
   printf("X                                       X");
   gotoxy(20, 16);
   printf("X                                       X");
   gotoxy(20, 17);
   printf("X                                       X");
   gotoxy(20, 18);
   printf("X                                       X");
   gotoxy(20, 19);
   printf("X                                       X");
   gotoxy(20, 20);
   printf("X                                       X");
   gotoxy(20, 21);
   printf("X                                       X");
   gotoxy(20, 22);
   printf("X                                       X");
   gotoxy(20, 22);
   printf("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");


  
  
  
  gotoxy(26, 5);
   printf("Enter beginning balance:");
   scanf("%f", &bal);
  
   gotoxy(29, 7);
   printf("Enter total charge:");
   scanf("%f", &charge);
  
   gotoxy(28, 9);
   printf("Enter total credits:");
   scanf("%f", &cred);
  
   gotoxy(29, 11);
   printf("Enter credit limit:");
   scanf("%f", &limit);
  
   gotoxy(34, 13);
   printf("Account:");
   scanf("%f", &account);
  
  
   newbal=bal+charge-cred;
 
   gotoxy(30, 15);
   printf("Credit limit: %.2f\n", limit);
  
   gotoxy(34, 17);
   printf("Balance: %.2f\n", newbal);
  
   gotoxy(28, 19);
   (newbal>limit)? printf("Credit Limit Exceeded"): printf("Credit Limit not Exceeded");
  
  

   getch();
   return 0;
}
���
���
(
���
+
1
)
=
∑
���
∈
���
���
���
ℎ
���

ℎ
���
(
���
+
1
)
=
GRU
(
���
���
(
���
+
1
)
,
ℎ
���
(
���
)
)
using System;
using System.Linq;


public class Kata
{
  public static int PositiveSum(int[] arr)
  {
    return arr.Where(x => x > 0).Sum();
  }
}
import cProfile

# Use `profile` if `cProfile` isn't available on your OS
# import profile


def adder(x, y):
	return x + y


cProfile.run('adder(10, 20)')
star

Sun Jan 28 2024 19:35:54 GMT+0000 (Coordinated Universal Time) https://openid.net/specs/openid-connect-core-1_0.html

@djlsme

star

Sun Jan 28 2024 19:35:43 GMT+0000 (Coordinated Universal Time) https://openid.net/specs/openid-connect-core-1_0.html

@djlsme

star

Sun Jan 28 2024 19:35:38 GMT+0000 (Coordinated Universal Time) https://openid.net/specs/openid-connect-core-1_0.html

@djlsme

star

Sun Jan 28 2024 19:34:54 GMT+0000 (Coordinated Universal Time) https://openid.net/specs/openid-connect-core-1_0.html

@djlsme

star

Sun Jan 28 2024 19:34:34 GMT+0000 (Coordinated Universal Time) https://openid.net/specs/openid-connect-core-1_0.html

@djlsme

star

Sun Jan 28 2024 19:20:52 GMT+0000 (Coordinated Universal Time)

@Smsm2008

star

Sun Jan 28 2024 19:17:08 GMT+0000 (Coordinated Universal Time) https://docs.google.com/spreadsheets/d/1yDC8Mub5ww4n6IUcDs8ypz8bEkcg-Rc_HXH1ad_9u98/edit

@Smsm2008

star

Sun Jan 28 2024 18:50:34 GMT+0000 (Coordinated Universal Time)

@nistha_jnn

star

Sun Jan 28 2024 17:48:55 GMT+0000 (Coordinated Universal Time) https://remontka.pro/remove-network-icon-explorer-windows/

@qwdixq

star

Sun Jan 28 2024 17:24:54 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/6d1bd52c-a911-4345-8745-a7aaee5ff9a9/

@Marcelluki

star

Sun Jan 28 2024 13:41:04 GMT+0000 (Coordinated Universal Time)

@gschultz0301

star

Sun Jan 28 2024 12:39:12 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/41560884/how-to-stop-time-activated-functions

@mohammadmki

star

Sun Jan 28 2024 10:54:03 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Sun Jan 28 2024 10:24:45 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Sun Jan 28 2024 09:46:44 GMT+0000 (Coordinated Universal Time) https://jav.guru/

@yash_sonker1999

star

Sun Jan 28 2024 02:16:40 GMT+0000 (Coordinated Universal Time) https://www.macscripter.net/t/a-single-dialog-to-handle-multiple-entries/48025

@thuston88

star

Sat Jan 27 2024 19:31:54 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/b1ea9f5d-553a-48ca-9039-de9f42966c88/task/9dbadd3d-5d70-452d-8ff1-a4496a7cf9c3/

@Marcelluki

star

Sat Jan 27 2024 18:00:23 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/208423d5-830e-43fe-a2cd-b409bfe77455/task/1dfb3e8a-bac0-4598-a24c-c326da7d9ed3/

@Marcelluki

star

Sat Jan 27 2024 17:47:13 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/21ecf940-5637-4fdc-89c6-ae88bbe72436/task/fe8a0b8f-4dfe-41ec-b7b0-56a7586e5fba/

@Marcelluki

star

Sat Jan 27 2024 01:36:58 GMT+0000 (Coordinated Universal Time)

@davidmchale #javascript #uuid #number

star

Fri Jan 26 2024 21:41:16 GMT+0000 (Coordinated Universal Time) https://custom.projects-delivery.com:2083/cpsess5892537478/3rdparty/phpMyAdmin/index.php?route

@hamza.khan

star

Fri Jan 26 2024 18:02:01 GMT+0000 (Coordinated Universal Time)

@marcopinero #javascript

star

Fri Jan 26 2024 16:55:20 GMT+0000 (Coordinated Universal Time) https://storage.googleapis.com/openimages/web/download_v7.html

@odaat_detailer #python

star

Fri Jan 26 2024 16:05:19 GMT+0000 (Coordinated Universal Time) https://leetcode.com/problems/max-consecutive-ones/description/

@msagr

star

Fri Jan 26 2024 09:06:07 GMT+0000 (Coordinated Universal Time)

@Shira

star

Fri Jan 26 2024 06:44:32 GMT+0000 (Coordinated Universal Time)

@KhanhDu #springframework

star

Fri Jan 26 2024 04:48:20 GMT+0000 (Coordinated Universal Time)

@shreekrishna

star

Fri Jan 26 2024 04:46:39 GMT+0000 (Coordinated Universal Time)

@shreekrishna

star

Fri Jan 26 2024 04:42:47 GMT+0000 (Coordinated Universal Time)

@shreekrishna

star

Fri Jan 26 2024 04:40:08 GMT+0000 (Coordinated Universal Time)

@shreekrishna

star

Fri Jan 26 2024 04:36:20 GMT+0000 (Coordinated Universal Time)

@shreekrishna

star

Thu Jan 25 2024 20:52:19 GMT+0000 (Coordinated Universal Time)

@hamzaliaqat

star

Thu Jan 25 2024 18:35:21 GMT+0000 (Coordinated Universal Time) https://www.makeuseof.com/windows-nvidia-container-high-cpu/

@ckfeltman

star

Thu Jan 25 2024 18:19:15 GMT+0000 (Coordinated Universal Time)

@RobertoSilvaZ #ssh #git #github #gitlab

star

Thu Jan 25 2024 18:03:14 GMT+0000 (Coordinated Universal Time)

@Realencoder

star

Thu Jan 25 2024 17:21:36 GMT+0000 (Coordinated Universal Time)

@Pirizok

star

Thu Jan 25 2024 16:19:38 GMT+0000 (Coordinated Universal Time) http://www.chebucto.ns.ca/NorthBranch/market.html

@etg1

star

Thu Jan 25 2024 14:32:42 GMT+0000 (Coordinated Universal Time)

@FlexSimGeek #flexscript

star

Thu Jan 25 2024 13:31:20 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Thu Jan 25 2024 11:24:30 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Thu Jan 25 2024 09:35:25 GMT+0000 (Coordinated Universal Time) https://masterphoneuz.pythonanywhere.com/all/

@omonboy

star

Thu Jan 25 2024 09:25:01 GMT+0000 (Coordinated Universal Time)

@Jevin2090

star

Thu Jan 25 2024 07:44:15 GMT+0000 (Coordinated Universal Time)

@odaat_detailer

star

Thu Jan 25 2024 05:26:08 GMT+0000 (Coordinated Universal Time) https://en.wikipedia.org/wiki/Graph_neural_network

@odaat_detailer

star

Thu Jan 25 2024 05:26:02 GMT+0000 (Coordinated Universal Time) https://en.wikipedia.org/wiki/Graph_neural_network

@odaat_detailer

star

Thu Jan 25 2024 05:02:07 GMT+0000 (Coordinated Universal Time) https://www.nadcab.com/exchange-listing

@ExchangeListing

star

Thu Jan 25 2024 04:26:17 GMT+0000 (Coordinated Universal Time)

@aguest #c#

star

Thu Jan 25 2024 04:09:57 GMT+0000 (Coordinated Universal Time)

@aguest #performance #python

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension