Skip to content

Instantly share code, notes, and snippets.

@mehran-prs
mehran-prs / ldoceonline.css
Last active April 21, 2021 08:42
ldoceonline just dictionary style
/* stylish theme, this style should apply on the domain: ldoceonline.com in stylish settings */
/* hide google adds */
iframe,.footer,.quizzes,.share_panel,.topslot-container,
.exercises,.logo_link,.text_welcome,.home_content+.carousel,
#iotd{
display: none!important;
}
.header{
text-align: center;
@brandonmwest
brandonmwest / example.cs
Last active January 7, 2025 07:39
Generating base64-encoded Authorization headers in a variety of languages
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue(
"Basic",
Convert.ToBase64String(
System.Text.ASCIIEncoding.ASCII.GetBytes(
string.Format("{0}:{1}", username, password))));