Skip to content

Instantly share code, notes, and snippets.

View samyarmodabber's full-sized avatar
🎯
Focusing

Samyar Modabber samyarmodabber

🎯
Focusing
View GitHub Profile
@samyarmodabber
samyarmodabber / concatenate_videoclips.md
Last active May 2, 2024 06:42
Concatenate Videoclips with python

Concatenate Videoclips with Python

Concatenate Videoclips with Python

To concatenate video clips in Python, you can use the moviepy library. Note that the concatenate_videoclips function takes a list of clips as its argument, so you can concatenate more than two clips by adding more clips to the list. Also, the moviepy library supports a variety of video formats, so you can use it to concatenate clips in other formats as well.

Here's an example of how you can concatenate a list of video clips those are in a folder:

Screenshot 2024-04-11 at 11 54 38

LeetCode

LeetCode is about developers. It supports 14 common programming languages and includes sophisticated development tools like Playground, which allows you to test, debug, and even build your own applications online.

LeetCode

@samyarmodabber
samyarmodabber / Language Reactor.md
Last active April 11, 2024 09:46
Language Reactor

image

Language Reactor

Watching films and series in the language you learn can help you improve your abilities in an effective and enjoyable way.

Language Reactor is a sophisticated language-learning toolset. It enables you to find, comprehend, and learn from local content. Studying will be more productive, fascinating, and pleasant! (Previously named 'Language Learning with Netflix')

Netflix

When viewing films and TV shows on the Netflix website, the plugin provides dual language subtitles, a popup dictionary, precise video playback settings, and many other features!

@samyarmodabber
samyarmodabber / Global Ad Blocker.md
Last active April 11, 2024 09:29
Global Ad Blocker extension

image

Ad blocking software using powerful net request filtering technology.

Global Ad Blocker extension blocks many types of ads like banners, overlay and video ads. You can choose to disable the ad blocking feature on any site you want by clicking on the extension icon. Filters lists are regularly updated to achieve an excellent ad free experience.

See more details and installation:

@samyarmodabber
samyarmodabber / texmacs.md
Last active March 13, 2024 22:32
texmacs

TeXmacs

GNU TeXmacs

GNU TeXmacs is a free scientific editing platform designed to create beautiful technical documents using a wysiwyg interface. It can runs on all major Unix platforms, MacOS, and Windows.

  • It provides a unified and user friendly framework for editing structured documents with different types of content: text, mathematics, graphics, interactive content, slides, etc.
  • TeXmacs can be used as a graphical front-end for many systems in computer algebra, numerical analysis, statistics, etc.
  • Documents can be saved in TeXmacs, Xml or Scheme format and printed as Pdf or Postscript files.
@samyarmodabber
samyarmodabber / Convert HTML to Markdown.md
Last active March 13, 2024 22:31
Convert HTML to Markdown

pexels-pixabay-270404

Convert HTML to Markdown

World's simplest online HTML to Markdown transformer for web developers and programmers. Just paste your HTML in the form below, press the Convert to Markdown button, and you'll get Markdown. Press a button – get Markdown. No ads, nonsense, or garbage.

A HTML to Markdown converter can be useful if you're doing cross-browser testing. For example, if you're implementing comments for your website that support both HTML and Markdown, then you can write tests that check if the HTML and Markdown produce the same results. Another example is if you have blog posts that are in HTML format and you're moving to a Markdown-powered blog, then you can quickly convert them to Markdown with this program. Additionally, if you forgot Markdown syntax for certain HTML elements, then you can enter short snippets in this utility and see what the Markdown for these elements looks like.

[SEE WEBSITE](

@samyarmodabber
samyarmodabber / potplayer.md
Last active March 13, 2024 22:46
PotPlayer

PotPlayer

PotPlayer

PotPlayer is a multimedia software player developed by South Korean company Kakao. It is a versatile media player that supports a wide variety of audio and video formats, including high-definition content. PotPlayer offers a highly customizable user interface, allowing users to personalize the player according to their preferences.

Key Features:

  1. Wide Format Support: PotPlayer can play a vast range of multimedia formats, including popular ones like AVI, MP4, MKV, FLV, and more.

image

How to color duplicate items in Google Sheets?

To apply conditional formatting to color cells that contain repeated items in a Google Sheets, you can use the COUNTIF function. Here's an example of how you can use it:

  • Select the range of cells that you want to format.
  • Click on the "Format" menu and select "Conditional formatting".
  • In the "Conditional format rules" pane, select "Format cells if..." from the dropdown menu.
  • Select "Custom formula is" from the list of options.

Chapter 1: Introduction

Interpretation of probability

The frequentist interpretation and Bayesian interpretation of probability are two philosophical and mathematical frameworks for understanding probability. They differ in their assumptions about the nature of probability, the role of data and evidence, and the interpretation of results.

Frequentist

The frequentist interpretation of probability defines probability as the long-run relative frequency of an event occurring in a large number of independent repetitions of a random experiment.

It does not allow for subjective beliefs or uncertainty in a proposition, but instead defines probability in terms of the observed frequency of an event. The frequentist interpretation is often used in statistical inference, where probabilities are associated with the likelihood of obtaining a certain data sample given a particular hypothesis or model.

Interpretation of probability

The frequentist interpretation and Bayesian interpretation of probability are two philosophical and mathematical frameworks for understanding probability. They differ in their assumptions about the nature of probability, the role of data and evidence, and the interpretation of results.

Frequentist

The frequentist interpretation of probability defines probability as the long-run relative frequency of an event occurring in a large number of independent repetitions of a random experiment.

It does not allow for subjective beliefs or uncertainty in a proposition, but instead defines probability in terms of the observed frequency of an event. The frequentist interpretation is often used in statistical inference, where probabilities are associated with the likelihood of obtaining a certain data sample given a particular hypothesis or model.

Bayesian

The Bayesian interpretation of probability defines probability as **a measure of subjective belief or uncertainty in a prop