- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
//Auto playing vimeo videos in Android webview | |
mWebView.getSettings().setJavaScriptEnabled(true); | |
mWebView.getSettings().setAppCacheEnabled(true); | |
mWebView.getSettings().setDomStorageEnabled(true); | |
// how plugin is enabled change in API 8 | |
if (Build.VERSION.SDK_INT < 8) { | |
mWebView.getSettings().setPluginsEnabled(true); | |
} else { | |
mWebView.getSettings().setPluginState(PluginState.ON); |
- What do Etcd, Consul, and Zookeeper do? | |
- Service Registration: | |
- Host, port number, and sometimes authentication credentials, protocols, versions | |
numbers, and/or environment details. | |
- Service Discovery: | |
- Ability for client application to query the central registry to learn of service location. | |
- Consistent and durable general-purpose K/V store across distributed system. | |
- Some solutions support this better than others. | |
- Based on Paxos or some derivative (i.e. Raft) algorithm to quickly converge to a consistent state. | |
- Centralized locking can be based on this K/V store. |
DB
ovs-vsctl list open_vswitch
ovs-vsctl list interface
ovs-vsctl --columns=ofport,name list Interface
ovs-vsctl --columns=ofport,name --format=table list Interface
ovs-vsctl --format=table --columns=name,mac_in_use find Interface name=br-dpdk1
ovs-vsctl get interface vhub656c3cb-23 name
ovs-vsctl set port vlan1729 tag=1729
#!/bin/bash | |
user="CHANGEME" | |
pages=$(curl -I https://api.github.com/users/$user/starred | sed -nr 's/^Link:.*page=([0-9]+).*/\1/p') | |
for page in $(seq 0 $pages); do | |
curl "https://api.github.com/users/$user/starred?page=$page&per_page=100" | jq -r '.[].html_url' | | |
while read rp; do | |
git clone $rp | |
done |
This week NN Group released a video by Jakob Nielson in which he attempts to help designers deal with the problem of customers being resistant to their new site/product redesign. The argument goes thusly:
There's slightly more to it than that, he caveats his argument with requiring you to have of course followed their best practices on product design, and allows for a period of customers being able to elect to continue to use the old site, although he says this is obviously only a temporary solution as you don't want to support both.
Working from home is a very tricky task that a lot of people think they can get accustomed to. In reality, some workers can cope with this very well, whereas others get the illusion that they are productive when they are actually not.
Our wonderful brain plays a lot of tricks on us, and being mindful of your personality type, as well as those tricks, can make the difference between an efficient and a deficient remote working experience.
This post will underscore a few tips to remain productive while working from home.