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
""" | |
TELEGRAM | |
""" | |
# Define a few command handlers. These usually take the two arguments bot and | |
# update. Error handlers also receive the raised TelegramError object in error. | |
def user_subscription(user_data): | |
facts = [] |
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 WuxiaUpdateThread(object): | |
""" Threading example class | |
The run() method will be started and it will run in the background | |
until the application exits. | |
""" | |
def __init__(self, interval=UPDATE_INTERVAL): | |
""" Constructor | |
:type interval: int | |
:param interval: Check interval, in seconds |
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 { User } = require("../models/user.model"); | |
const request = require("supertest"); | |
const expect = require("chai").expect; | |
const app = require("../app"); | |
describe("api/users", () => { | |
beforeEach(async () => { | |
await User.deleteMany({}); | |
}); |
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
#!/usr/bin/env node | |
/** | |
* Module dependencies. | |
*/ | |
var app = require("../app"); | |
var http = require("http"); | |
/** |
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
// | |
// CountdownProgressBar.swift | |
// Core Animations | |
// | |
// Created by Bilguun Batbold on 29/3/19. | |
// Copyright © 2019 Bilguun. All rights reserved. | |
// | |
import Foundation | |
import UIKit |
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
// | |
// ViewController.swift | |
// Core Animations | |
// | |
// Created by Bilguun Batbold on 29/3/19. | |
// Copyright © 2019 Bilguun. All rights reserved. | |
// | |
import UIKit |
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
// | |
// ViewController.swift | |
// Harry Pokker | |
// | |
// Created by Bilguun Batbold on 26/3/19. | |
// Copyright © 2019 Bilguun. All rights reserved. | |
// | |
import UIKit | |
import SceneKit |
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
// | |
// ViewController.swift | |
// Harry Pokker | |
// | |
// Created by Bilguun Batbold on 26/3/19. | |
// Copyright © 2019 Bilguun. All rights reserved. | |
// | |
import UIKit | |
import SceneKit |
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
// | |
// ViewController.swift | |
// Harry Pokker | |
// | |
// Created by Bilguun Batbold on 26/3/19. | |
// Copyright © 2019 Bilguun. All rights reserved. | |
// | |
import UIKit | |
import SceneKit |
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
// | |
// ChatsViewController.swift | |
// FakeChat | |
// | |
// Created by Bilguun Batbold on 23/3/19. | |
// Copyright © 2019 Bilguun. All rights reserved. | |
// | |
import UIKit | |
import Firebase |
NewerOlder