This Python script is not maintained and was replaced by the more robust Rust version below:
class Account | |
include Mongoid::Document | |
field :name, :type => String | |
field :surname, :type => String | |
has_and_belongs_to_many :kenim_rakaz, :class_name => 'Ken', :inverse_of => :rakazim | |
end |
$("input[name]").bind("keyup paste", function() { | |
elm = $(this); | |
elm_name = elm.attr('name'); | |
$('input[name='+elm_name+']').val( elm.val() ) | |
}); |
CookieUtil.setCookie('HtzPusr', 'its-my-right-to-use-the-internet-as-i-want-to'); | |
// This will make the website think you're a registered user. | |
// While allowing you to use an ad blocker, it should also | |
// allow to you "Zen Reading" mode etc'. |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Hebrew text with Arabic diacritics</title> | |
</head> | |
<body dir="rtl"> | |
<h1>אֶלסָّלָאם אלשָّאמֶל ואלעָאדֶל ואלכָּאמֶל</h1> | |
==> Retrieving sources... | |
-> Found gitin-0.1.5.tar.gz | |
==> Validating source files with sha256sums... | |
gitin-0.1.5.tar.gz ... Passed | |
==> Removing existing $srcdir/ directory... | |
==> Extracting sources... | |
-> Extracting gitin-0.1.5.tar.gz with bsdtar | |
==> Sources are ready. | |
==> Making package: gitin 0.1.5-2 (Sun 03 Mar 2019 16:02:32 CET) | |
==> Checking runtime dependencies... |
// Run in the browser console | |
songlist = "" | |
for (const song of document.getElementsByClassName('two-lines')) { | |
title = song.getElementsByClassName('song-name')[0].textContent.trim() | |
artist = song.getElementsByClassName('by-line')[0].textContent.trim() | |
a += artist+" - "+title+"\n" |
"custom/events": { | |
"format": "{}", | |
"tooltip": true, | |
"interval": 300, | |
"format-icons": { | |
"default": "" | |
}, | |
"exec": "waybar-khal.py", | |
"return-type": "json" | |
}, |
"custom/cast": { | |
"format": "{icon} {}", | |
"tooltip": true, | |
"interval": 3, | |
"return-type": "json", | |
"format-icons": { | |
"default": "🎜" | |
}, | |
"exec": "/PATH/TO/waybar-catt.py", | |
"exec-if": "nmcli -t | grep -q NAME_OF_YOUR_HOME_WIFI", |
Everyone wants their website to be fast. For many years, we had synthetic tests: you spin up some automated browser, load your site, measure, done. It's not perfect, but it's a pretty good indicator for how fast your website is. You can simulate slow networks. You can run this automated browser on a different continent. It offers some flexibility.
But then someone convinced us all that it isn’t enough. You have to actually measure the peformance in the browsers of your users. RUM came into the world. From MDN:
Real User Monitoring or RUM measures the performance of a page from real users' machines. Generally, a third party script injects a script on each page to measure and report back on page load data for every request made. This technique monitors an application's actual user interactions. In real user monitoring, the browsers of real users report back performanc