(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| # To check if this is up-to-date with the tax rates go to | |
| # http://www.expatax.nl/tax-rates-2016.php and see if there's anything | |
| # newer there. | |
| # | |
| # I make no guarantees that any of this is correct. I calculated this | |
| # at the time and have been updating it when new tax rates come along | |
| # because people keep finding this useful. | |
| # | |
| # There's also an interactive JS version of this created by | |
| # @stevermeister at |
| #!/bin/bash | |
| # | |
| # The reason of creating this script is that Endpoint Security VPN installs it's own application firewall kext cpfw.kext | |
| # which prevents for example PPTP connections from this computer, which is not appropriate if you need subj connection just | |
| # from time to time | |
| # | |
| # Usage: ./checkpoint.sh | |
| # | |
| # The script checks if Enpoint Security VPN is running. If it is, then it shuts it down, if it is not, it fires it up. | |
| # Or, make an Automator action and paste the script. |
| function get_cert() | |
| { | |
| local host="$1" | |
| local port="$2" | |
| if [ -z "$port" ] | |
| then | |
| port="443" | |
| fi | |
| openssl s_client -showcerts -connect $host:$port -servername $host </dev/null 2>/dev/null | openssl x509 -text -noout |
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
| mkdir src_dir | |
| mkdir exec_dir | |
| python generate_variants.py | |
| ls src_dir | xargs -P 100 -IF gcc src_dir/F -o exec_dir/F.x 2>/dev/null | |
| find exec_dir/ | xargs -n 1 -P 1000 ./check_prog.sh |
| #!/bin/bash | |
| # | |
| # The reason of creating this script is that Endpoint Security VPN installs it's own application firewall kext cpfw.kext | |
| # which prevents for example PPTP connections from this computer, which is not appropriate if you need subj connection just | |
| # from time to time | |
| # | |
| # Usage: ./checkpoint.sh | |
| # | |
| # The script checks if Enpoint Security VPN is running. If it is, then it shuts it down, if it is not, it fires it up. | |
| # Or, make an Automator action and paste the script. |
# View public IP
| - Blameless culture. | |
| Don’t blame people blame processes. | |
| Mistakes happen to everyone. | |
| Culture in the team should allow for team members to take blame without repercussion. | |
| After a postmoterm, steps should be taken for making sure it won’t happen again. | |
| Great learning, and feedback moment for the team. | |
| - Just deliver, Deadline is a deadline, | |
| If your stuck or won’t make deadline share it immediately with the team, | |
| Part two part when technical discussion arises, |
| import pandas as pd | |
| import numpy as np | |
| import multiprocessing | |
| from functools import partial | |
| def _df_split(tup_arg, **kwargs): | |
| split_ind, df_split, df_f_name = tup_arg | |
| return (split_ind, getattr(df_split, df_f_name)(**kwargs)) | |
| def df_multi_core(df, df_f_name, subset=None, njobs=-1, **kwargs): |