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
| const axios = require('axios'); | |
| const cheerio = require('cheerio'); | |
| const url = 'https://boardgamegeek.com/collection/user/gdboling'; | |
| let ids = []; | |
| let prices = []; | |
| foo(); | |
| console.log(prices); |
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
| SELECT | |
| count(DISTINCT "employees"."id") as size, | |
| "employees"."id" | |
| FROM | |
| "employees" | |
| LEFT OUTER JOIN | |
| "performance_level_adjustments" | |
| ON "performance_level_adjustments"."deleted_at" IS NULL | |
| AND "performance_level_adjustments"."employee_id" = "employees"."id" | |
| AND |
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
| router.get('/', async (req, res) =>{ | |
| const session = driver.session(); | |
| const result = await session.run( | |
| 'CREATE (a:Person {name: "Candace"}) RETURN a' | |
| ); | |
| const singleRecord = result.records[0]; | |
| const node = singleRecord.get(0); |
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
| public class Player { | |
| private int updates = 0; | |
| private int secs = 0; | |
| private int second = 30*60; | |
| private long timer = System.currentTimeMillis(); | |
| private int taskTimeToRun = 5; | |
| private int taskRan = 0; | |
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 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| Future main() async { | |
| await SystemChrome.setPreferredOrientations( | |
| [DeviceOrientation.landscapeLeft]); | |
| await SystemChrome.setEnabledSystemUIOverlays([]); | |
| runApp(MyApp()); | |
| } |
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
| @SpringBootApplication | |
| open class MyApp : App(MyView::class, Styles::class) { | |
| private lateinit var context : ConfigurableApplicationContext | |
| override fun init() { | |
| super.init() | |
| context = SpringApplication.run(this.javaClass) | |
| context.autowireCapableBeanFactory.autowireBean(this) | |
| FX.dicontainer = object : DIContainer { |
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 Account: JsonModel { | |
| var id by property<Long>() | |
| fun idProperty() = getProperty(Account::id) | |
| var name by property<String>() | |
| fun nameProperty() = getProperty(Account::name) | |
| var accountNumber by property<String>() | |
| fun accountNumberProperty() = getProperty(Account::accountNumber) |
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
| @SpringBootApplication | |
| public class DemoApplication extends Application { | |
| private ConfigurableApplicationContext springContext; | |
| private Parent root; | |
| @Override | |
| public void init() throws Exception { | |
| springContext = SpringApplication.run(DemoApplication.class); | |
| FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/sample.fxml")); |
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
| . ____ _ __ _ _ | |
| /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
| ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
| \\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
| ' |____| .__|_| |_|_| |_\__, | / / / / | |
| =========|_|==============|___/=/_/_/_/ | |
| :: Spring Boot :: (v1.4.2.RELEASE) | |
| 2016-12-06 10:44:38.303 INFO 78182 --- [ main] c.h.s.controller.BrandControllerTest : Starting BrandControllerTest on admins-mbp-2.hightouchinc.com with PID 78182 (started by greggb in /Users/greggb/Projects/Sasnak/back-office-api) | |
| 2016-12-06 10:44:38.304 INFO 78182 --- [ main] c.h.s.controller.BrandControllerTest : The following profiles are active: test |
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
| package main | |
| import ( | |
| "fmt" | |
| "strings" | |
| "strconv" | |
| "os" | |
| "math" | |
| ) |