- Download the image.
| var uniqueArray = function(arrArg) { | |
| return arrArg.filter(function(elem, pos,arr) { | |
| return arr.indexOf(elem) == pos; | |
| }); | |
| }; | |
| var uniqEs6 = (arrArg) => { | |
| return arrArg.filter((elem, pos, arr) => { | |
| return arr.indexOf(elem) == pos; | |
| }); |
| <template name="jdes" value="describe('When $DESCRIBE_NAME$ is invoke', () => { it('should $SHOULD_NAME$', () => { $END$ }); });" description="Jasmine Describe" toReformat="false" toShortenFQNames="true"> | |
| <variable name="DESCRIBE_NAME" expression="" defaultValue="" alwaysStopAt="true" /> | |
| <variable name="SHOULD_NAME" expression="" defaultValue="" alwaysStopAt="true" /> | |
| <context> | |
| <option name="JAVA_SCRIPT" value="true" /> | |
| <option name="TypeScript" value="true" /> | |
| </context> | |
| </template> | |
| <template name="jit" value="it('should $SHOULD_NAME$', () => { $END$ });" description="It case" toReformat="false" toShortenFQNames="true"> | |
| <variable name="SHOULD_NAME" expression="" defaultValue="" alwaysStopAt="true" /> |
| var trimmed = '123456789'; | |
| var numbers = []; | |
| for (let i = 0; i < trimmed.length; i += 4) { | |
| numbers.push(trimmed.substr(i, 4)); | |
| } | |
| console.log(numbers.join('-')); |
| *, | |
| *::after, | |
| *::before { | |
| padding: 0; | |
| margin: 0; | |
| box-sizing: inherit; | |
| } | |
| html { | |
| font-size: 70%; |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| function memoize(fn) { | |
| const cache = {}; | |
| return function(...args) { | |
| if (cache[args]) { | |
| return cache[args]; | |
| } | |
| const result = fn.apply(this, args); | |
| cache[args] = result; |
| { | |
| "-KUtzPmBlLRE-1V2g_2N" : { | |
| "title" : "Tour hidden places in Bogota", | |
| "description" : "This is a tour through the centre of Bogota, in which you will have the opportunity to visit places that not even bogotanos know exist", | |
| "event": { | |
| "country" : "Colombia", | |
| "city" : "Bogota", | |
| "address" : "Calle 34 # 7A", | |
| "cost" : "0", | |
| "guest" : "20_50", |
| #!/bin/bash | |
| RED='\033[00;31m' | |
| GREEN='\033[00;32m' | |
| YELLOW='\033[00;33m' | |
| BLUE='\033[00;34m' | |
| NORMAL=$(tput sgr0) | |
| # Check if there are console or debugger statements |
| <outboundRules> | |
| <rule name="Remove Server"> | |
| <match serverVariable="RESPONSE_SERVER" pattern=".+" /> | |
| <action type="Rewrite" /> | |
| </rule> | |
| <rule name="Font Cache-Control"> | |
| <match serverVariable="RESPONSE_Cache_Control" pattern=".+" /> | |
| <conditions> | |
| <add input="{REQUEST_URI}" pattern="\.(eot|otf|ttf|woff|woff2)$" /> | |
| </conditions> |