echo "..." | grep -v -- ----- | tr -d '\n' | base64 -d | openssl asn1parse -inform DER
More at https://www.youtube.com/watch?v=2pL28CcEijU
Number.MAX_VALUE > 0;
Number.MIN_VALUE < 0;1 < 2 < 3;
3 > 2 > 1;
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
| /** | |
| * Assign value to the context by key path | |
| * @param {array} path ['foo', 'bar'] | |
| * @param {mixed} value | |
| * @returns {*} result {foo:{bar: value}} | |
| */ | |
| function _define (path, value){ | |
| return path.reduce((x, y, i) => { | |
| return x[y] = i === path.length - 1 && typeof value !== 'undefined' ? value : x[y] || {}; | |
| }, this) |
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
| // Works out the width of elements based | |
| // on total number of columns and width | |
| // number of columns being displayed. | |
| // Values for @grid would be 12, 16 or 24 | |
| .grid-inline-block(@grid: 12, @margin: 0, @width: 100%) { | |
| @actions: column, prefix, suffix, pull, push; | |
| .grid-action(block){ | |
| display: inline-block; | |
| vertical-align: top; |
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
| <?php | |
| $url = 'http://www.cbr.ru/scripts/XML_daily.asp'; | |
| $ch = curl_init( $url ); | |
| curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
| $result = curl_exec( $ch ); | |
| curl_close($ch); | |
| $xml = new SimpleXMLElement($result); |
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
| t=this.open(); | |
| t.addEventListener('DOMContentloaded',(e)=>{ | |
| console.log(this, e); | |
| e.target.close(); | |
| }); | |
| t.dispatchEvent(new CustomEvent('DOMContentloaded')); |
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
| <body><script>eval('!function(t,i,s,h,n,o,e,a,r){function f(){var t=this.contro\ | |
| ls,i=this.id=this.id||(1e17*Math.random()).toString(32);this.I=function(s){for(\ | |
| var h in t)s.which===t[h]&&dispatchEvent(new Event(h+i))},this.A()}function p(t\ | |
| ){return function(){var i,s=this.controls,h=this.id;for(i in s)t(i+h,this[i].bi\ | |
| nd(this));t(\"keydown\",this.I)}}function l(i){this.h=this.g=0,s(this,i),this.x\ | |
| =this.g,this.y=this.h,this.path=new t(this.d),f.apply(this,arguments),this.move\ | |
| To()}function u(){l.apply(this,arguments)}function d(){clearInterval(this.m),th\ | |
| is.i()}function y(){l.apply(this,arguments)}function v(){l.apply(this,arguments\ | |
| ),this.o()}function b(t){var c=i.body.appendChild(i.createElement(\"canvas\"));\ | |
| s(this,t),c.height=1.5*(c.width=170),this.a=[],this.b=c.getContext(\"2d\"),f.ap\ |