Skip to content

Instantly share code, notes, and snippets.

View Eunit99's full-sized avatar
🏠
Working from home

Ξunit Eunit99

🏠
Working from home
View GitHub Profile
@Eunit99
Eunit99 / main.py
Last active April 24, 2024 20:23
Complete code for the article: Scraping real estate data: Step-by-step guide for Apify Blog.
"""
This module defines the `main()` coroutine for the Apify Actor, executed from the `__main__.py` file.
Feel free to modify this file to suit your specific needs.
To build Apify Actors, utilize the Apify SDK toolkit, read more at the official documentation:
https://docs.apify.com/sdk/python
"""
from apify import Actor
@vicradon
vicradon / Downloading-youtube-dl-and-spliting-a-video-using-ffmpeg.md
Last active January 23, 2024 04:37
Get YouTube DL on your computer and split a video using ffmpeg

Get YouTube-DL and Split video

Hi there programmer. So you need to download a YouTube video? Why use savefrom.net or Vidmate when you can use YouTube-DL, or DLP in this case. You simply need to go to the Github, and find the download link for your OS:

image

After downloading the binary, and moving it to path, (/usr/local/bin for mac or Linux, just add to path environment variable for windows), you can then run it like:

yt-dl  -o my-video.mp4
@Eunit99
Eunit99 / stutern_javascript_task.js
Last active June 30, 2021 04:50
All Stutern JavaScript Task
// Task 1
function isOldEnoughToDrink(age) {
var output;
if (age >= 18) {
output = true;
console.log(`isOldEnoughToDrink: ${output}`); // --> true
} else {
output = false;
console.log(`isOldEnoughToDrink: ${output}`); // --> false
@klamping
klamping / wdio-best-practices.md
Last active February 27, 2024 08:25 — forked from jrobinson01/wdio-best-practices.md
WDIO testing best practices

WDIO Testing Best Practices

  • Use page objects
  • avoid protocol methods and prefer commands
  • don't use timeouts unless you have a good reason
  • use waitFor, waitForVisible etc
  • avoid caching elements
  • avoid arbitrary pause() calls
  • use mocks

Protocol commands

@hootlex
hootlex / laravellocal.md
Last active May 3, 2024 08:06
Run laravel project locally

##Windows users:

cmder will be refered as console

##Mac Os, Ubuntu and windows users continue here:

  • Create a database locally named homestead utf8_general_ci
@DavidWells
DavidWells / language-list.txt
Created September 15, 2014 20:59
List of all language abbreviations for localization purposes
<label>French (France)</label> <value>fr_FR</value>
<label>Romanian (Romania)</label> <value>ro_RO</value>
<label>Portuguese (Brazil)</label> <value>pt_BR</value>
<label>Hebrew (Israel)</label> <value>he_IL</value>
<label>Ukrainian</label> <value>uk</value>
<label>German (Germany)</label> <value>de_DE</value>
<label>Italian (Italy)</label> <value>it_IT</value>
<label>Russian (Russia)</label> <value>ru_RU</value>
<label>Dutch (Netherlands)</label> <value>nl_NL</value>
<label>Hungarian (Hungary)</label> <value>hu_HU</value>

CSS image slider w/ next/prev btns & nav dots

A 100% pure CSS image slider with next/previous buttons, nav dots and image transitions.

Updated with simplified HTML and CSS, better image transitions and resized images.

A Pen by A973C on CodePen.

License.