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
| <template> | |
| <div> | |
| <input type="checkbox" | |
| class="foobar" | |
| id="header-search" | |
| :checked="isFocus" /> | |
| <label for="header-search"> | |
| <img :src="assets.searchIconUrl" alt="Search icon" /> | |
| <img :src="assets.closeIconUrl" alt="Close icon" /> |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am coulix on github. | |
| * I am gregtap (https://keybase.io/gregtap) on keybase. | |
| * I have a public key ASC9Ion28OfJbCA4RRu-xZscnoKMIOBxOOYN45DR3Ml-Qgo | |
| To claim this, I am signing this object: |
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 json | |
| import logging | |
| import logging.config | |
| import os | |
| import time | |
| from config import LOGGING, db | |
| from datetime import datetime, timezone | |
| import aiohttp | |
| from aiohttp import web |
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
| type WorkUnit struct { | |
| Urls [1000] string | |
| } | |
| accUrls := make([]string, 1000) | |
| var url string | |
| i := 1 | |
| for rows.Next() { |
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 re | |
| import bs4 | |
| import aiohttp | |
| import asyncio | |
| HOST = 'http://dev-api.wyzant.com' | |
| # Holds fetched API links and their status. | |
| api_status = {} |
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
| var path = require('path'); | |
| var webpack = require('webpack'); | |
| var bowerDir = __dirname + '/bower_components'; | |
| var config = module.exports = { | |
| // the base path which will be used to resolve entry points | |
| context: __dirname, | |
| // the main entry point for our application's frontend JS |
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 Ember from 'ember'; | |
| const { Service, run } = Ember; | |
| /** | |
| * Ticking clock service. | |
| * We use this service to sync all our momentjs udpates every second | |
| * and not start one timer for each message. | |
| */ | |
| export default Service.extend({ |