Create different ssh keys according to the article Generating a new SSH key and adding it to the ssh-agent
$ ssh-keygen -t ed25519 -C "your_email@example.com"
| const myObject = { | |
| a: 2, | |
| b: 3, | |
| }; | |
| Object.defineProperty(myObject, Symbol.iterator, { | |
| enumerable: false, | |
| writable: false, | |
| configurable: true, | |
| value: function () { |
| if (!Function.prototype.softBind) { | |
| Function.prototype.softBind = function(obj) { | |
| var fn = this, | |
| curried = [].slice.call(arguments, 1), | |
| bound = function bound() { | |
| return fn.apply( | |
| !this || | |
| (typeof window !== 'undefined' && this === window) || | |
| (typeof global !== 'undefined' && this === global) | |
| ? obj |
Create different ssh keys according to the article Generating a new SSH key and adding it to the ssh-agent
$ ssh-keygen -t ed25519 -C "your_email@example.com"
Regular expression for JavaScript:
/((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/
Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| {"version":1,"resource":"file:///mnt/5d1e8061-6874-4f8c-9799-b829cc414ff9/_garbage/google/batch/batch-response.js","entries":[{"id":"r4jf.js","timestamp":1654792627530},{"id":"CG9n.js","timestamp":1654792643818},{"id":"wqVL.js","timestamp":1654792864128},{"id":"mrxv.js","timestamp":1654792885496},{"id":"3h54.js","timestamp":1654796026058},{"id":"SMA9.js","timestamp":1654796040702},{"id":"OrZ2.js","timestamp":1654797175740},{"id":"JmBw.js","timestamp":1654814162439},{"id":"7F4E.js","timestamp":1655415384180}]} |
| // Attaching a new function toShortFormat() to any instance of Date() class | |
| Date.prototype.toShortFormat = function() { | |
| const months = ["Jan","Feb","Mar", "Apr","May","Jun", "Jul","Aug","Sep", "Oct","Nov","Dec"]; | |
| const day = this.getDate(); | |
| const monthIndex = this.getMonth(); | |
| const year = this.getFullYear(); | |
| return "" + day + "-" + months[monthIndex] + "-" + year; |
| /* | |
| * Add SVG to allowed file uploads | |
| */ | |
| add_filter( 'upload_mimes', function ( $mimes = array() ) { | |
| // allow SVG file upload | |
| $mimes['svg'] = 'image/svg+xml'; | |
| $mimes['svgz'] = 'image/svg+xml'; | |
| return $mimes; | |
| }); |
| add_action('wp_print_scripts', function () { | |
| wp_deregister_script('wpb_composer_front_js'); | |
| wp_dequeue_script('wpb_composer_front_js'); | |
| }, 100); |
| $data = $this->load->language('module/latest'); |