Skip to content

Instantly share code, notes, and snippets.

View SeanROlszewski's full-sized avatar

Sean Olszewski SeanROlszewski

  • Apple
  • United States
View GitHub Profile
html {
height: 100%;
margin:0px;
background: url(http://www.freegreatpicture.com/files/147/18380-hd-color-background-wallpaper.jpg) no-repeat center center;
background-size: cover;
background-attachment: fixed;
}

Keybase proof

I hereby claim:

  • I am seanrolszewski on github.
  • I am seano (https://keybase.io/seano) on keybase.
  • I have a public key ASBI9M4lT64Lxf8raGiz17Z9ddB2mgul8cnX1xk0-uwxywo

To claim this, I am signing this object:

@IBAction func handleUnwind(segue: UIStoryboardSegue) {
let source = segue.source as! SelectedViewController
for (index, object) in destArray.enumerated() {
if source.destination?.destName == object.destName {
destArray.remove(at: index)
tableView.reloadData()
}
}
}
protocol Coordinator {
func start()
}
class AppCoordinator: Coordinator {
let dataStore: DataStore
let childCoordinators: [Coordinator]
var userFinishedOnboarding: Bool = {
return dataStore.bool(forKey: "userHasAnsweredMicPermission")
if (indexPath.row != 2) {
let session = sessionsBySection[indexPath.section][indexPath.row]
let timeslot = agenda.days[dayIndex].timeslots[indexPath.section]
let startTime = DateFormatter.localizedString(from: timeslot.startTime.date!,
dateStyle: .none,
timeStyle: .short)
let endTime = DateFormatter.localizedString(from: timeslot.endTime.date!,
dateStyle: .none,
@EnableWebSecurity
@Configuration
public class HttpSecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests()
.mvcMatchers("/search/logs").hasRole("USER")
.and().httpBasic()
<GET http://hercule-basic-auth.cfapps.io/,{host=[hercule-basic-auth.cfapps.io], user-agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Safari/604.1.38], accept=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8], accept-encoding=[gzip, deflate], accept-language=[en-us], upgrade-insecure-requests=[1], x-b3-spanid=[ef3f2dcdb22d9931], x-b3-traceid=[ef3f2dcdb22d9931], x-cf-applicationid=[418e0a0c-24cb-4a3e-809e-b75e4f527f0b], x-cf-forwarded-url=[https://hercule-dev.cfapps.io/], x-cf-instanceid=[31da4403-3353-4a1c-7c38-9005], x-cf-instanceindex=[0], x-cf-proxy-metadata=[eyJub25jZSI6IlJaZE5vWnJ2T3l2SDhTVE0ifQ==], x-cf-proxy-signature=[MMMfAK4TuJoEW3GZUAkXwwNMfOcyU2qs_w2Vn_YOoVnUm-jnK9d6V-g_gvjtZbpMXBP2sSxiMHAexfp-rvuCdVCRdrwAcCBP8A92x57OxtvdWTgIdzQyzrYCrHUjwzgAwBnMKXPcZ11NnrNywBsTJUtotik=], x-vcap-request-id=[7c89e6bc-1742-4866-58fe-b0a7a0e6180c], x-forwarded-port=[80], x-forwarded-proto=[http], x-request-start=[1532724171258]}>
<GET http://he
curl -v https://hercule-dev.cfapps.io/
* Trying 52.72.32.141...
* TCP_NODELAY set
* Connected to hercule-dev.cfapps.io (52.72.32.141) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.cfapps.io
* Server certificate: Amazon
* Server certificate: Amazon Root CA 1
* Server certificate: Starfield Services Root Certificate Authority - G2
> GET / HTTP/1.1
let returnStatement = SyntaxFactory.makeBlankReturnStmt()
.withReturnKeyword(
SyntaxFactory.makeReturnKeyword()
.withLeadingTrivia([.carriageReturns(1), .tabs(1)])
.withTrailingTrivia(.spaces(1))
)
.withExpression(SyntaxFactory.makeStringLiteralExpr("example"))
let functionBody = SyntaxFactory.makeBlankCodeBlock()
func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
// Some of the APIs that we use below are available in macOS 10.13 and above.
guard #available(macOS 10.13, *) else {
return
}
let fooBinary = productsDirectory.appendingPathComponent("muter")