install termux from F-Droid.
apt update
# paste code into bash/zsh | |
hidedesktop() { | |
local state && state=$(defaults read com.apple.finder CreateDesktop) | |
if [ "$state" == "true" ]; then | |
defaults write com.apple.finder CreateDesktop false | |
else | |
defaults write com.apple.finder CreateDesktop true | |
fi | |
killall Finder | |
} |
At the very least, we need two pieces of functionality:
class ErrorBoundaryWithRetry extends React.Component<Props, State> { | |
state = {error: null}; | |
static getDerivedStateFromError(error): State { | |
return {error: error}; | |
} | |
_retry = () => { | |
this.setState({error: null}); | |
} |
// create a bookmark and use this code as the URL, you can now toggle the css on/off | |
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
javascript: (function() { | |
var elements = document.body.getElementsByTagName('*'); | |
var items = []; | |
for (var i = 0; i < elements.length; i++) { | |
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
items.push(elements[i]); | |
} | |
} |
# Import libraries | |
import requests | |
import urllib.request | |
import time | |
from bs4 import BeautifulSoup | |
# Set the URL you want to webscrape from | |
url = 'http://web.mta.info/developers/turnstile.html' | |
# Connect to the URL |
I bundled these up into groups and wrote some thoughts about why I ask them!
If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email carl.vitullo@gmail.com
https://blog.vcarl.com/interview-questions-onboarding-workplace/
Hmm... I don't see any docs for 4.0 on https://webpack.js.org. I guess I'll just wing it.
All I need to do is npm i -D webpack@next
, right?
+ webpack@4.0.0-beta.2