start new:
tmux
start new with session name:
tmux new -s myname
key_move_song_up = 'K' | |
key_move_song_down = 'J' | |
key_next_found_position = 'n' | |
key_prev_found_position = 'N' | |
key_prev_column = 260 'h' | |
key_next_column = 261 'l' | |
key_lyrics = '.' | |
key_home = 262 'g' | |
key_end = 360 'G' |
/* | |
* Random-Number Utilities (randutil) | |
* Addresses common issues with C++11 random number generation. | |
* Makes good seeding easier, and makes using RNGs easy while retaining | |
* all the power. | |
* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2015-2022 Melissa E. O'Neill | |
* |
# MikroTik (RouterOS) script for automatically setting DNS records | |
# for clients when they obtain a DHCP lease. | |
# | |
# author SmartFinn <https://gist.github.com/SmartFinn> | |
:local dnsTTL "00:15:00"; | |
:local token "$leaseServerName-$leaseActMAC"; | |
# Normalize hostname (e.g. "-= My Phone =-" -> "My-Phone") | |
# - truncate length to 63 chars |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
TL;DR* Here's what the license entails:
1. Anyone can copy, modify and distribute this software.
2. You have to include the license and copyright notice with each and every distribution.
3. You can use this software privately.
4. You can use this software for commercial purposes.
5. If you dare build your business solely from this code, you risk open-sourcing the whole code base.
Starting with 1.12 in July 2016, Docker Swarm Mode is a built-in solution with built-in key/value store. Easier to get started, and fewer ports to configure.
bind -T root F12 \ | |
set prefix None \;\ | |
set key-table off \;\ | |
set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\ | |
set window-status-current-format "#[fg=$color_window_off_status_bg,bg=$color_window_off_status_current_bg]$separator_powerline_right#[default] #I:#W# #[fg=$color_window_off_status_current_bg,bg=$color_window_off_status_bg]$separator_powerline_right#[default]" \;\ | |
set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\ | |
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\ | |
refresh-client -S \;\ | |
bind -T off F12 \ |
$('td:contains("2.0")').parent().remove(); //usunięcie wpisów z oceną 2 | |
$('td:contains("k.cz.")').parent().remove(); //usunięcie wpisów z ocen cząstkowych | |
$('td:contains("---")').parent().remove(); //usunięcie wpisów bez ocen | |
var sum=0; //suma ECTS | |
var mulSum=0; // suma ECTS * ocena | |
$('td[title="ocena"]').each(function(){ | |
mulSum += parseFloat($(this).text()) * parseFloat($(this).next().next().text()); | |
sum += parseFloat($(this).next().next().text()); | |
console.log(parseFloat($(this).text()), parseFloat($(this).next().next().text())); | |
}); |