View index.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="author" content=""> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> |
View .regex
^(?!(SocketClient|DeviceStorageMonitorService|libc-netbsd|wpa_supplicant|EnterpriseController|Netd|BufferQueueProducer|SurfaceFlinger|NetworkController|memtrack_graphic|ConnectivityService|MARsPolicyManager|MARsDBManager|SSRM|Clock|DateView|SSRM|BatteryService|Watchdog|NetlinkEvent|AlarmManager|KeyguardUpdateMonitor|arqp|armt|SignalClusterView|GameManagerService|PowerUI|MotionRecognitionService|ContactsProvider_EventLog|Tzdaemon|TLC_TIMA_PKM_measure_kernel|BroadcastQueue|BatteryMeterView|SensorManager|Sensors|PowerManagerService|BatteryStatsImpl|BarTender|Authzen|AbsListView|ViewRootImpl|InputDispatcher|PointerIcon|PhoneStatusBar|StatusBarManagerService|BufferQueue|BufferQueueConsumer|Surface|mali_winsys|GraphicBuffer|AbsListView|bt_btm)) |
View jest.config.js
module.exports = { | |
globals: { | |
'ts-jest': { | |
tsConfigFile: 'tsconfig.json' | |
} | |
}, | |
moduleFileExtensions: [ | |
'ts', | |
'js' | |
], |
View .js
console.clear(); | |
var Track = function(attrs) { | |
this.icon = (attrs && attrs.icon || 'play_arrow'); | |
this.toggle = (attrs && attrs.toggle || 'close'); | |
this.arrow = (attrs && attrs.arrow || 'keyboard_arrow_down'); | |
this.toObject = function() { | |
var newObject = {}; | |
for (var prop in this) { | |
if (this.hasOwnProperty(prop) && typeof this[prop] !== 'function') { |
View .js
class Movie { | |
constructor() { | |
this.title = ''; | |
} | |
getTitle() { | |
return this.title; | |
} | |
setTitle(title) { | |
this.title = title; | |
} |
View .css
ul { margin: 0; padding: 0; } | |
ul li { list-style: none; margin-bottom: 8px; } | |
hr { border: 0; border-top: solid 1px #d9d9d9; } |
View .js
console.clear(); | |
var data = []; | |
for (var i = 1; i <= 15; i++) { | |
var uuid = faker.random.uuid(); | |
data.push({ | |
id: i, | |
name: faker.name.findName(), | |
email: faker.internet.email(), |
View .js
(function() { | |
console.clear() | |
const a = () => { | |
return Promise.resolve({ value: 'a' }) | |
} | |
const b = () => { | |
return Promise.resolve({ value: 'b' }) | |
} |
View .html
<div class="container-fluid h-100 d-flex align-items-stretch bg-red"> | |
<div class="row"> | |
<div class="col-12 d-flex align-items-stretch bg-orange"> | |
<div class="row"> | |
<div class="col-3 bg-green"> | |
<div class="row d-flex flex-column h-100"> | |
<div class="col-12 bg-pink">filter</div> | |
<div class="col-12 bg-blue"> | |
<table class="table"> | |
<thead> |
View settings.json
{ | |
"editor.minimap.enabled": false, | |
"html.format.wrapLineLength": 0 | |
} |
NewerOlder