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
using ExtensionMethods; | |
using Firebase; | |
using Firebase.Database; | |
using Firebase.Extensions; | |
using PointSystem; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using static UnityEngine.JsonUtility; |
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 Solution: | |
def floodFill(self, image: List[List[int]], sr: int, sc: int, color: int) -> List[List[int]]: | |
lim_y = len(image) - 1 | |
if lim_y == 0: | |
return None | |
lim_x = len(image[0]) - 1 | |
y = sr | |
x = sc |
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 python | |
# -*- coding: utf-8 -*- | |
# | |
# Test that I passed on codility.com for TopTal company | |
# | |
# Task #1 | |
def binary_gap(N): |
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
input = ['2020-01-01,Soda', | |
'2020-01-03,Soda', | |
'2020-01-02,Popcorn', | |
'2020-01-05,Soda', | |
'2020-01-06,Popcorn', | |
'2020-01-07,Soda', | |
'2020-01-02,Popcorn', | |
'2020-01-12,Soda', | |
'2020-01-03,Popcorn', | |
'2020-01-22,Soda', |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 requests | |
import threading | |
SECRET_API_KEY = 'KEY_HERE' | |
# Json must be an array of objects | |
# eg: [{},{},{}] | |
input_arr_json_file = 'lookup_upazillas.json' |
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
{ | |
"request_id": "b48d8212-95eb-dd19-91f3-fd31b93fe3f5", | |
"lease_id": "", | |
"renewable": false, | |
"lease_duration": 0, | |
"data": { | |
"data": { | |
"password": "123456", | |
"username": "postgres" | |
}, |
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
... | |
'channels' => [ | |
'stack' => [ | |
'driver' => 'stack', | |
'channels' => ['single'], | |
], | |
'single' => [ | |
'driver' => 'monolog', | |
'path' => storage_path('logs/laravel.log'), |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Api Doc Gen</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css"> | |
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script> | |
</head> |
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
<!-- Assumes that your project uses bootstrap 3 & jquery --> | |
<!-- Add this div for displaying the strength/suggestions. --> | |
<div id="passwordStrengthIndicator"> | |
</div> | |
NewerOlder