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
type Stage = { | |
name: string | |
description: string | |
status: string | |
}; | |
class StagesWatcher { | |
private _stages: Stage[]; | |
constructor() { |
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
const listings = document.querySelector("#\\39 9-root-app > div > div > div.sc-fodVxV.cYLuAZ > div > div.ui-container.flex.flex-justify-between.flex-align-start.relative > div.left-container-wrapper.flex.flex-row.flex-wrap.ui-row.flex-align-start.flex-justify-start > div"); | |
// melihat semua child nodes | |
listings.childNodes; | |
// Listing number must start from index 2 | |
// because listing is start from index 2 | |
const LISTING_NUMBER = 2; | |
// melihat 1 node listing |
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
threadsMock_Expected := []models.Thread{ | |
{ | |
ID: "123098ABCBCA", | |
Title: "Title in da house yeah", | |
Description: "Description description description", | |
IsActive: 0, | |
}, | |
{ | |
ID: "T001", | |
Title: "Thread title one", |
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
/* eslint-disable no-console */ | |
require('dotenv').config(); | |
const radius = require('radius'); | |
const dgram = require('dgram'); | |
const RADIUS_SECRET = process.env.RADIUS_SECRET; | |
const client = dgram.createSocket('udp4'); | |
const sent_packets = {}; |
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 quicksort(list) { | |
if (list.length > 0) { | |
const pivot = list.splice(0, 1)[0]; | |
const smaller = quicksort(list.filter(item => item < pivot) || []); | |
const bigger = quicksort(list.filter(item => item >= pivot) || []); | |
return smaller.concat([pivot]).concat(bigger); | |
} else { | |
return []; | |
} |
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
.flight-search-date-picker-popup { | |
height: 100%; | |
background-color: #ffffff; | |
.date-picker-content-wrap { | |
height: 100%; | |
background-color: #ffffff; | |
} | |
} |
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
import React, { Component } from 'react'; | |
import moment from 'moment'; | |
import 'pikaday/scss/pikaday.scss'; | |
import FlightSearchHeader from '../../../../components/FlightSearchHeader'; | |
import BackButton from '../../../../components/FlightSearchHeader/BackButton'; | |
import './styles.scss'; | |
let Pikaday; |
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
body{ | |
font-family: Century; | |
background-color: darkblue; | |
background: url("windows_8_wallpaper_large.png") fixed; | |
color: #fff; | |
padding:20px; | |
overflow: auto; | |
overflow-y: hidden; | |
white-space: nowrap; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Awesome React</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="styles.css" /> | |
</head> | |
<body> | |
<div id="react-app"></div> | |
<script type="text/javascript" src="/public/bundle-dist.js" charset="utf-8"></script> |
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
import React from 'react' | |
import { render } from 'react-dom' | |
import MainWrapper from './components/MainWrapper' | |
class App extends React.Component | |
{ | |
render() | |
{ | |
return ( |
NewerOlder