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
{ | |
"stocks": [ | |
{ | |
"name": "Wolf, Conroy and Dickinson", | |
"ticker": "LHCL", | |
"current_price": 5.39, | |
"id": 1 | |
}, | |
{ | |
"name": "Bogisich Group", |
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
{ | |
"stocks": [ | |
{ | |
"name": "Wolf, Conroy and Dickinson", | |
"ticker": "LHCL", | |
"current_price": 5.39, | |
"id": 1 | |
}, | |
{ | |
"name": "Bogisich Group", |
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
{ | |
"stocks": [ | |
{ | |
"name": "Wolf, Conroy and Dickinson", | |
"ticker": "LHCL", | |
"current_price": 5.72, | |
"id": 1 | |
}, | |
{ | |
"name": "Bogisich Group", |
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
// Role Attributes | |
role="region" // Defines a distinct section of the page that users might want to navigate to | |
role="list" // Tells screen readers this is a list container | |
role="listitem" // Tells screen readers this is an item within a list | |
role="group" // Groups related form elements together | |
role="status" // Announces changes to screen readers without interrupting | |
role="img" // Indicates that an element represents an image | |
// Labelling and Description Attributes | |
aria-label="Add book form" // Provides a name for the element when visible text isn't present |
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.CodeDom.Compiler; | |
using System.Collections.Generic; | |
using System.Collections; | |
using System.ComponentModel; | |
using System.Diagnostics.CodeAnalysis; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.Serialization; |
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
{ | |
"categories": [{ | |
"category": { | |
"name": "Actor in a Leading Role", | |
"nominees": [{ | |
"person": "Riz Ahmed", | |
"movie": "Sound of Metal" | |
}, | |
{ | |
"person": "Chadwick Boseman", |
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
01100110 01101001 01101110 01100100 00100000 01100001 00100000 01101000 01101111 01100010 01100010 01111001 00100000 01100110 01101111 01110010 00100000 01100111 01101111 01100100 00100111 01110011 00100000 01110011 01100001 01101011 01100101 00100000 01100110 01101001 01101110 01100100 00100000 01100001 00100000 01101000 01101111 01100010 01100010 01111001 00100000 01100110 01101111 01110010 00100000 01100111 01101111 01100100 00100111 01110011 00100000 01110011 01100001 01101011 01100101 |
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
class TrieNode { | |
parent: TrieNode | null; | |
children: any = {} | |
key: string | null; | |
isTerminating = false | |
constructor(key: string | null, parent: TrieNode | null) { | |
this.key = key; | |
this.parent = parent | |
} |
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
import UIKit | |
class ViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// Do any additional setup after loading the view, typically from a nib. | |
let draw = DrawView(frame: self.view.bounds) | |
view.addSubview(draw) | |
} |
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
for xvalue in stride(from: x, through: width, by: step) { | |
for yvalue in stride(from: y, through: height, by: step) { | |
drawLine(x: xvalue,y: yvalue, width: step, height: step) | |
} | |
} |
NewerOlder