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
| DECLARE | |
| message varchar2(20):= 'Hello, World!'; | |
| BEGIN | |
| dbms_output.put_line(message); | |
| END; | |
| / |
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
| console.log('sa'); |
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 React from 'react'; | |
| import styled from '@emotion/styled'; | |
| import { valueExistInSelected } from '../util'; | |
| const handlePlaceHolder = (props, state) => { | |
| const noValues = state.values && state.values.length === 0; | |
| const hasValues = state.values && state.values.length > 0; | |
| if (hasValues && props.addPlaceholder && props.searchable) { | |
| return props.addPlaceholder; |
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
| <scheme name="Monokai Sublime Text 3" version="142" parent_scheme="Default"> | |
| <option name="FONT_SCALE" value="1.0" /> | |
| <metaInfo> | |
| <property name="created">2018-09-25T20:33:45</property> | |
| <property name="ide">WebStorm</property> | |
| <property name="ideVersion">2018.3.0.0</property> | |
| <property name="modified">2018-09-25T20:34:03</property> | |
| <property name="originalScheme">Monokai Sublime Text 3</property> | |
| </metaInfo> | |
| <option name="LINE_SPACING" value="1.0" /> |
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
| Hello, I am some test 22 |
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
| handleClick = () => { | |
| const chart = this.chart.state.chart; | |
| chart.export.capture({}, () => { | |
| chart.export.toJPG({}, (data) => { | |
| chart.export.download(data, chart.export.defaults.formats.JPG.mimeType, 'amCharts.JPG'); | |
| }); | |
| }); | |
| } |
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 { Directive, HostListener, Input } from '@angular/core'; | |
| import { ElectronService } from 'ngx-electron'; | |
| /** | |
| * @Usage: <a external href="https://www.gistoapp.com">link</a> | |
| * @dependencies: ngx-electron | |
| */ | |
| @Directive({ | |
| selector: '[external]' |
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 { Directive, HostListener, Input } from '@angular/core'; | |
| /** | |
| * @Usage: <a CopyToClipBoard="I am to be copied">Copy to Clipboard</a> | |
| */ | |
| @Directive({ | |
| selector: '[CopyToClipBoard]' | |
| }) | |
| export class CopyToClipBoardDirective { |
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 { Pipe, PipeTransform } from '@angular/core'; | |
| import { sortBy, reverse, flow, identity } from 'lodash/fp'; | |
| @Pipe({ name: 'sortBy' }) | |
| export class SortByPipe implements PipeTransform { | |
| transform(list, field, direction = 'DESC') { | |
| return flow([ | |
| sortBy([field]), |