using the terminal:
security find-generic-password -ga $WIFI_NAME | grep “password:”
tip from: How to See All Your Saved Wi-Fi Passwords on macOS | How-To Geek
using the terminal:
security find-generic-password -ga $WIFI_NAME | grep “password:”
tip from: How to See All Your Saved Wi-Fi Passwords on macOS | How-To Geek
import * as React from 'react'; | |
export enum JSTypeof { | |
UNDEFINED = 'undefined', | |
FUNCTION = 'function', | |
OBJECT = 'object', | |
STRING = 'string', | |
NUMBER = 'number', | |
} | |
/* | |
version updated to use the fetch API | |
source: | |
https://github.com/AdeyinkaAdegbenro/Detect_Location/blob/master/detect_location.js | |
*/ | |
function request(url) { | |
return fetch(url).then(response => response.json()); | |
} |
useful links about ts/js testing on a project with Gatsby.js
Jest - is a delightful JavaScript Testing Framework with a focus on simplicity.
Scrum game
Estimation exercise ~ 2 h
iteration 1 - strawberries eating association - individually, no collaboration, estimate (charge and deadline) consume x000 strawberries - 3 minutes to decide
Discuss exceptions, differences, approaches … All estimations are correct.
// hack to enable touch after focus on the iframe | |
html, | |
body { | |
touch-action: auto; | |
} |
past the following string into the google chrome address bar:
data:text/html,<html contenteditable>
# define a full backup of a git repository from one remote server to another one | |
origin="https://remote-source/repository.git"; | |
target="https://remote-target/repository.git"; | |
workDir="temp-directory"; | |
mkdir $workDir |
const DEVICES_REGEXP = new RegExp([ | |
/Android|webOS/, | |
/|iPhone|iPad|iPod/, | |
/|BB10|BlackBerry/, | |
/|IEMobile|Opera Mini/, | |
/|Mobile|mobile/ | |
].map(function(r) {return r.source}).join(''), 'i'); | |
// output: /Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i |
function isElementVisible(el, fullVisible) { | |
// efp - element from point | |
function efp(x, y) { | |
return window.document.elementFromPoint(x, y); | |
} | |
function getVWidth() { | |
return window.innerWidth || window.document.documentElement.clientWidth; | |
} |