Skip to content

Instantly share code, notes, and snippets.

View Bilguun132's full-sized avatar

Batbold Bilguun Bilguun132

View GitHub Profile
@Bilguun132
Bilguun132 / telegram.py
Created September 13, 2019 06:57
wuxiaworld-updater-telegram
"""
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 = []
@Bilguun132
Bilguun132 / wuxiaworld.py
Created September 13, 2019 06:52
wuxiaworld_updater_wuxiaworldclass
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
@Bilguun132
Bilguun132 / users.test.js
Created May 18, 2019 08:29
TDDNode-test.js
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({});
});
@Bilguun132
Bilguun132 / www.js
Created May 18, 2019 05:52
TDDNode-bin/www
#!/usr/bin/env node
/**
* Module dependencies.
*/
var app = require("../app");
var http = require("http");
/**
@Bilguun132
Bilguun132 / CountdownProgressBar.swift
Created March 30, 2019 10:55
CoreAnimationTutorial-CountdownProgressBar
//
// CountdownProgressBar.swift
// Core Animations
//
// Created by Bilguun Batbold on 29/3/19.
// Copyright © 2019 Bilguun. All rights reserved.
//
import Foundation
import UIKit
@Bilguun132
Bilguun132 / ViewController.swift
Created March 30, 2019 10:54
CoreAnimationTutorial-ViewController.swift
//
// ViewController.swift
// Core Animations
//
// Created by Bilguun Batbold on 29/3/19.
// Copyright © 2019 Bilguun. All rights reserved.
//
import UIKit
@Bilguun132
Bilguun132 / ViewController.swift
Created March 26, 2019 06:52
ARKit-Video-Tutorial-2
//
// ViewController.swift
// Harry Pokker
//
// Created by Bilguun Batbold on 26/3/19.
// Copyright © 2019 Bilguun. All rights reserved.
//
import UIKit
import SceneKit
@Bilguun132
Bilguun132 / ViewController.swift
Created March 26, 2019 06:33
ARKit-Video-Tutorial-2
//
// ViewController.swift
// Harry Pokker
//
// Created by Bilguun Batbold on 26/3/19.
// Copyright © 2019 Bilguun. All rights reserved.
//
import UIKit
import SceneKit
@Bilguun132
Bilguun132 / ViewController.swift
Created March 26, 2019 06:23
ARKit-Video-Tutorial-1
//
// ViewController.swift
// Harry Pokker
//
// Created by Bilguun Batbold on 26/3/19.
// Copyright © 2019 Bilguun. All rights reserved.
//
import UIKit
import SceneKit
@Bilguun132
Bilguun132 / ChatsViewController.swift
Created March 23, 2019 10:45
iOS-Tutorial-FakeChat-ChatsViewController-2
//
// ChatsViewController.swift
// FakeChat
//
// Created by Bilguun Batbold on 23/3/19.
// Copyright © 2019 Bilguun. All rights reserved.
//
import UIKit
import Firebase