$ docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Executing pathogen, which helps organise plugins | |
execute pathogen#infect() | |
"""""""""" PACKAGES """""""""" | |
set runtimepath^=~/.vim/bundle/ctrlp.vim | |
""""" SPELLCHECKER """"" | |
:map <F7> :setlocal spell! spelllang=en_gb<CR> | |
"""""""""""""""""""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
General | |
======= | |
git -- Version control | |
dos2unix -- Converts end of line dos<=>unix<=>mac | |
build-essential | |
libssh-dev | |
curl | |
Ubuntu specific |
The best view is through the browser by checking the url from the AWS console.
However, sometimes these it's not easy/possible, and then it's easier to do it by tunneling ssh into mplayer
:
> ssh aws_cam@{cam_IP} cat /tmp/results.mjpeg | mplayer -demuxer lavf -lavfdopts format=mjpeg:probesize=32 -
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kretyn@meland:~/$ mkdir -p ~/.config/systemd/user | |
kretyn@meland:~/$ mkdir -p ~/.scripts | |
kretyn@meland:~/$ cd ~/.config/systemd/user | |
kretyn@meland:~/.config/systemd/user$ cat light.service | |
[Unit] | |
Description=Automatically change the "Window Theme" to "light" in the morning. | |
[Service] | |
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def convert_tb_data(root_dir, sort_by=None): | |
"""Convert local TensorBoard data into Pandas DataFrame. | |
Function takes the root directory path and recursively parses | |
all events data. | |
If the `sort_by` value is provided then it will use that column | |
to sort values; typically `wall_time` or `step`. | |
*Note* that the whole data is converted into a DataFrame. | |
Depending on the data size this might take a while. If it takes |
- Definitions
"You" (or "Your") means the party making Contributions under this Contributor License Agreement ("Agreement") with Agents Bar Ltd. (the "Project Manager") who is either the copyright owner, or a person or Entity authorized by the copyright owner to enter into this Agreement on such owner’s behalf. An organization or entity (each, an "Entity") making a Contribution, and all other Entities that control, are controlled by, or are under common control with that Entity, are considered to be a single contributor for purposes of this Agreement (where