start new:
tmux
start new with session name:
tmux new -s myname
cat /proc/sys/net/ipv4/ip_local_port_range | |
firewall-cmd --permanent --add-port=32768-61000/udp | |
firewall-cmd --reload | |
firewall-cmd --permanent --zone=home --add-port=32768-61000/udp | |
iptables -A INPUT -s 192.168.0.0/24 -p udp -m udp --dport 32768:61000 -j ACCEPT |
npm users sorted by the monthly downloads of their modules, for the range May 6, 2018 until Jun 6, 2018.
Metrics are calculated using top-npm-users.
# | User | Downloads |
---|
[innotec@innotec ~]$ locate teamviewerd | |
/etc/init/teamviewerd.conf | |
/opt/teamviewer8/logfiles/install_teamviewerd.log | |
/opt/teamviewer8/tv_bin/teamviewerd | |
/opt/teamviewer8/tv_bin/script/teamviewerd.conf | |
/opt/teamviewer8/tv_bin/script/teamviewerd.service | |
/opt/teamviewer8/tv_bin/script/teamviewerd.sysv | |
/opt/teamviewer8/tv_bin/script/teamviewerdMint.conf | |
[innotec@innotec ~]$ sudo /opt/teamviewer/tv_bin/teamviewerd start | |
[innotec@innotec ~]$ teamviewer |
import { browserHistory } from 'react-router'; | |
/** | |
* @param {Object} query | |
*/ | |
export const addQuery = (query) => { | |
const location = Object.assign({}, browserHistory.getCurrentLocation()); | |
Object.assign(location.query, query); | |
browserHistory.push(location); | |
}; |
// This is an advanced example! It is not intended for use in application code. | |
// Libraries like Relay may make use of this technique to save some time on low-end mobile devices. | |
// Most components should just initiate async requests in componentDidMount. | |
class ExampleComponent extends React.Component { | |
_hasUnmounted = false; | |
state = { | |
externalData: null, | |
}; |
FROM node:10.15-alpine as base | |
RUN apk --no-cache --virtual build-dependencies add \ | |
python \ | |
make \ | |
g++ \ | |
&& rm -f /var/cache/apk/* \ | |
&& npm config set unsafe-perm true \ | |
&& npm install --quiet node-gyp -g --cache /tmp/empty-cache |
defmodule ExampleWeb.ArticleLive.Index do | |
alias Example.{Articles, Tags} | |
alias ExampleWeb.{ArticleLive, ComponentLive, Query} | |
use ExampleWeb, :live_view | |
@impl true | |
def render(assigns) do | |
~L""" | |
<div class="container max-w-screen-md mx-auto pt-6"> |