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 Microsoft.AspNetCore.Authentication.JwtBearer; | |
using Microsoft.AspNetCore.Builder; | |
using Microsoft.AspNetCore.Hosting; | |
using Microsoft.Extensions.Configuration; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.Hosting; | |
using Microsoft.IdentityModel.Tokens; | |
namespace Reference.WebApi | |
{ |
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
import http from 'k6/http'; | |
import { check, sleep } from 'k6'; | |
export let options = { | |
stages: [ | |
{ duration: '30s', target: 500 }, | |
{ duration: '15s', target: 500 }, | |
{ duration: '30s', target: 0 }, | |
], | |
}; |
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.Generic; | |
using System.Data; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using System.Net; | |
using System.Web; | |
using System.Web.Mvc; | |
using MasterDetail.DataLayer; |
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
private submitLoginForm() { | |
const data = this.formGroup.value; | |
this.lastSubmission = JSON.stringify(data); | |
const toast = this.toaster.toast({ | |
title: "Logging in..." | |
}); | |
this.tellwell.doLogin(data) | |
.subscribe(result => { | |
this.toaster.clear(-1, toast); |
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 | |
-- step1: declare the variables | |
v_product_id product.product_id%type; | |
v_product_name product.product_name%type; | |
v_product_list_price product.list_price%type; | |
-- step 2: declare the cursor | |
CURSOR v_product_cursor IS | |
SELECT product_id, product_name, list_price | |
FROM product |
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
[ | |
{ | |
"name": "Elephants", | |
"latitude": 39.749157, | |
"longitude": -104.953616 | |
}, | |
{ | |
"name": "Tigers", | |
"latitude": 39.749817, | |
"longitude": -104.949195 |
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
[ | |
{ | |
"thumbnail": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/thumbnail_grizzly.jpg", | |
"image": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/grizzly.jpg", | |
"caption": "The grizzly bear is ative to North America and the official animal for my home state of California" | |
}, | |
{ | |
"thumbnail": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/thumbnail_blackfootedcat.jpg", | |
"image": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/blackfootedcat.jpg", | |
"caption": "The black footed cat, a desert variety of cat, is the smallest species of feline in Africa" |
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
[ | |
{ | |
"thumbnail": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/thumbnail_grizzly.jpg", | |
"image": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/grizzly.jpg", | |
"caption": "The grizzly bear is ative to North America and the official animal for my home state of California" | |
}, | |
{ | |
"thumbnail": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/thumbnail_blackfootedcat.jpg", | |
"image": "https://raw.githubusercontent.com/PaulTR/GettingStartedWithAndroid/master/images/gallery/blackfootedcat.jpg", | |
"caption": "The black footed cat, a desert variety of cat, is the smallest species of feline in Africa" |
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
[ | |
{ | |
"name": "Reticulated Giraffe", | |
"species": "Giraffa camelopardalis reticulata", | |
"description": "The reticulated giraffe (Giraffa camelopardalis reticulata), also known as the Somali giraffe, is a subspecies of giraffe native to Somalia, southern Ethiopia, and northern Kenya. Reticulated giraffes can interbreed with other giraffe subspecies in captivity or if they come into contact with populations of other subspecies in the wild. \nThe reticulated giraffe is among the most well-known of the nine giraffe subspecies. Together with the Rothschild giraffe, it is by far the giraffe most commonly seen in zoos. Its coat consists of large, polygonal, liver-colored spots outlined by a network of bright-white lines. The blocks may sometimes appear deep red and may also cover the legs. The extraordinary height of giraffes is attributed to a ritual known as \"necking\", where two males fight for reproduction rights by slamming their necks into one another. The giraffes with the tallest and |
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
{ | |
"name": "foundation-sites-template", | |
"version": "1.0.0", | |
"description": "Basic template for a new Foundation for Sites project.", | |
"main": "gulpfile.js", | |
"scripts": { | |
"start": "gulp", | |
"build": "gulp sass" | |
}, | |
"repository": { |
NewerOlder