This file contains 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
function getNumber(word){ | |
for(let index = 0; index < word.length; index++) { | |
if(!isNaN(word[index])) { | |
return word[index]; | |
} | |
} | |
return -1; | |
} | |
function sortString(str) { |
This file contains 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
### | |
### ejabberd configuration file | |
### | |
### The parameters used in this configuration file are explained at | |
### | |
### https://docs.ejabberd.im/admin/configuration | |
### | |
### The configuration file is written in YAML. | |
### ******************************************************* | |
### ******* !!! WARNING !!! ******* |
This file contains 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" | |
// Qnode ... | |
type Qnode struct { | |
key, value int | |
prev, next *Qnode | |
} |
This file contains 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
/** | |
* Hypertext Transfer Protocol (HTTP) response status codes. | |
* @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes} | |
*/ | |
enum HttpStatus { | |
/** | |
* The server has received the request headers and the client should proceed to send the request body | |
* (in the case of a request for which a body needs to be sent; for example, a POST request). | |
* Sending a large request body to a server after a request has been rejected for inappropriate headers would be inefficient. |
This file contains 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
hin class 'CitydialogComponent'. | |
src/app/main/setup/pages/city/citydialog/citydialog.component.html(6,27): : Property 'data' is private and only accessible within class 'CitydialogComponent'. | |
src/app/main/setup/pages/district/district-dialog/district-dialog.component.html(6,27): : Property 'data' is private and only accessible within class 'DistrictDialogComponent'. | |
src/app/main/setup/pages/district/district-dialog/district-dialog.component.html(6,27): : Property 'data' is private and only accessible within class 'DistrictDialogComponent'. | |
src/app/main/setup/pages/blood-group/blood-group-dialog/blood-group-dialog.component.html(5,27): : Property 'data' is private and only accessible within class 'BloodGroupDialogComponent'. | |
src/app/main/setup/pages/blood-group/blood-group-dialog/blood-group-dialog.component.html(5,27): : Property 'data' is private and only accessible within class 'BloodGroupDialogComponent'. | |
src/app/main/setup/pages/division/division-dialog/division-dialog.component.html(6,27): : Property 'da |
This file contains 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
<?php | |
public function getEmergencyGraph() | |
{ | |
$start_date = Carbon::today()->subDays(10); | |
$queryResult = EmployeeHealthChecker::whereDate('survey_date', '>=', $start_date)->get(); | |
$qeurySet = []; | |
foreach ($queryResult as $result) { | |
$date = $result->survey_date; | |
if (!in_array($date, $qeurySet)) { | |
$qeurySet[$date] = [ |
This file contains 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 fazlulkabir94 on github. | |
* I am brain_art (https://keybase.io/brain_art) on keybase. | |
* I have a public key ASDW5jGyN5KzwaBnmqVw-Z-LgGemzBmm0jn_CrzXJfYb_wo | |
To claim this, I am signing this object: |
This file contains 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 Tower: | |
def __init__(self): | |
self.terminate = 1 | |
def printMove(self, source, destination): | |
print("{} -> {}".format(source, destination)) | |
def move(self, disc, source, destination, auxiliary): | |
if disc == self.terminate: |
This file contains 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
<?php | |
class Node { | |
private $data; | |
private $next; | |
public function __construct() { | |
$this->data = 0; | |
$this->next = null; | |
} |
This file contains 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
//// -- LEVEL 1 | |
//// -- Tables and References | |
// Creating tables | |
Table users as U { | |
id int [pk, increment] // auto-increment | |
full_name varchar | |
created_at timestamp | |
country_code int | |
} |
NewerOlder