title | company | location | workOption | type | level | jobURL | publish |
---|---|---|---|---|---|---|---|
Software Engineer |
Substrate |
Brooklyn, NY |
Hybrid |
Full time |
Senior Level |
true |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd"> | |
<dictionary title="Dictionary"> | |
<suite name="Spotify Suite" code="spfy" description="Spotify specific classes."> | |
<enumeration name="ePlS" code="ePlS"> | |
<enumerator name="stopped" code="kPSS"> | |
<cocoa integer-value="0"/> | |
</enumerator> | |
<enumerator name="playing" code="kPSP"> | |
<cocoa integer-value="1"/> |
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 Cocoa | |
protocol Pet { | |
var name : String { get } | |
func renamed(newName: String) -> Self | |
} | |
struct Fish : Pet { | |
let name : String | |
func renamed(newName: String) -> Fish { |
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
protocol StringDecodable { | |
init?(string: String) | |
} | |
extension Dictionary where Key: JSONKey, Value: AnyObject { | |
/// Converts a string to an enum value | |
func enumFrom<T: StringDecodable>(key: Key, _ enumType: T.Type) -> T? { | |
if let s = self[key] as? String { | |
return enumType.init(string: s) | |
} |
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
// before | |
func formattedAddress() -> String { | |
let lines:NSMutableArray = NSMutableArray(capacity: 4) | |
let zipStateCityArgs:NSMutableArray = NSMutableArray(capacity: 3) | |
let zip = self.stringValueForKeyPath("address_zip") | |
let city = self.stringValueForKeyPath("address_city") | |
let state = self.stringValueForKeyPath("address_state") | |
for arg in [zip, city, state] { |
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
// | |
// PFTrendsViewModel.m | |
// SUM | |
// | |
// Created by Ben Guo on 11/26/14. | |
// Copyright (c) 2014 Project Florida. All rights reserved. | |
// | |
#import "PFTestUtilities.h" | |
#import "PFTrendsViewModel.h" |
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
from playwright.sync_api import sync_playwright | |
from bs4 import BeautifulSoup | |
import json | |
from urllib.parse import quote | |
def scrape_github_folders(): | |
with sync_playwright() as p: | |
browser = p.chromium.launch() | |
page = browser.new_page() |
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
--- | |
description: | |
globs: *.py | |
alwaysApply: false | |
--- | |
# Writing modern Python: style guide | |
## For-else statements | |
If you ever need to check if a for loop completes without a break, for-else statements are a great way to accomplish this without using a temporary variable. |
OlderNewer