create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| // Get binary file using XMLHttpRequest | |
| function getBinary(file) { | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open("GET", file, false); | |
| xhr.overrideMimeType("text/plain; charset=x-user-defined"); | |
| xhr.send(null); | |
| return xhr.responseText; | |
| } | |
| // Base64 encode binary string |
| {"lastUpload":"2018-11-29T13:15:35.863Z","extensionVersion":"v3.2.2"} |
| function h(type, props, ...children) { | |
| props = props != null ? props : {}; | |
| return { type, props, children }; | |
| } | |
| function render(vdom, parent = null) { | |
| if (parent) parent.textContent = ""; | |
| const mount = parent ? (el => parent.appendChild(el)) : (el => el); | |
| if (typeof vdom == "string" || typeof vdom == "number") { | |
| return mount(document.createTextNode(vdom)); |
| <?php | |
| $fileName = $_FILES['afile']['name']; | |
| $fileType = $_FILES['afile']['type']; | |
| $fileContent = file_get_contents($_FILES['afile']['tmp_name']); | |
| $dataUrl = 'data:' . $fileType . ';base64,' . base64_encode($fileContent); | |
| $json = json_encode(array( | |
| 'name' => $fileName, | |
| 'type' => $fileType, | |
| 'dataUrl' => $dataUrl, |
| function promise(ex) { | |
| var e = {}, r = {} | |
| r.then = function (resolve, reject) { | |
| e.resolve = resolve || function() {}, | |
| e.reject = reject || function() {} | |
| } | |
| ex(function() { e.resolve.apply(this, arguments) }, | |
| function() { e.reject.apply(this, arguments) }) | |
| return r | |
| } |
Pure CSS glitched, noisy, analog-y text.
Forked from Lucas Bebber's Pen CSS Glitched Text.
A Pen by Rinat Safin on CodePen.
| Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
| tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
| quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
| consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | |
| cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non | |
| proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
| Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
| tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
| quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo |