Skip to content

Instantly share code, notes, and snippets.

View dmlebron's full-sized avatar
🎯
Focusing

David dmlebron

🎯
Focusing
  • Nextdoor
  • Boston, MA
View GitHub Profile
{
"list": [
{
"id": 16000094,
"avatarId": 28000831,
"name": "Kaze",
"hash": "Kaze",
"path": "Kaze",
"fankit": "kaze",
"released": true,
{"list":[{"id":16000094,"avatarId":28000831,"name":"Kaze","hash":"Kaze","path":"Kaze","fankit":"kaze","released":true,"version":1,"link":"https://brawlify.com/brawlers/detail/Kaze","imageUrl":"https://cdn.brawlify.com/brawlers/borders/16000094.png","imageUrl2":"https://cdn.brawlify.com/brawlers/borderless/16000094.png","imageUrl3":"https://cdn.brawlify.com/brawlers/emoji/16000094.png","class":{"id":0,"name":"Unknown"},"rarity":{"id":7,"name":"Ultra Legendary","color":"#e1fb2a"},"unlock":null,"description":"Kaze was raised to be a living weapon by her parents, but this was not the life she wanted. After escaping to Starr Park with Kenji, she can now live how she wants. However, she is still torn between the two aspects of her life, being a humble geisha and a deadly ninja.","descriptionHtml":"Kaze was raised to be a living weapon by her parents, but this was not the life she wanted. After escaping to Starr Park with Kenji, she can now live how she wants. However, she is still torn between the two aspects of he
{
"id": 16000092,
"name": "FINX",
"star_powers": [
{
"id": 23000915,
"name": "HIEROGLYPH HALT",
"image_name": "finx_starpower_01",
"image_url": "https://cdn.brawlify.com/star-powers/borderless/23000915.png",
"description": "Finx reduces the reload speed of any enemy Brawlers hit by his main attack by x% for x seconds."
int main(void)
{
int h = get_positive_int("Height: "); // ask height and store it as i
printf("Stored: %i\n", h); //confirm value
for (int k = 1; k <= h; k++)
{
for (int i = 1; i <= (h-k); i++)
{
printf(".");
int main(void)
{
for (int i=0; i < 3; i++)
{
for (int j=0; j<=i; j++)
{
printf("#");
}
printf("\n");
}
var kindOfAnimal = Animal(rawValue: "dinosaur").unwrappedOrUnknown
enum Animal: String {
case unknown
case dog
case cat
}
extension Optional where Wrapped == Animal {
var unwrappedOrUnknown: Animal {
switch self {
struct MyObject {
var myProperty: String?
}
extension Optional where Wrapped == MyObject {
var unwrappedOrInit: MyObject {
switch self {
case .some(let unwrapped):
return unwrapped
tableView.register(MyCell.nib, forCellReuseIdentifier: MyCell. identifier)
let nib = UINib(nibName: "MyCell", bundle: nil)
tableView.register(nib, forCellReuseIdentifier: "MyCell")