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
@Eunit99
Eunit99 / app.ts
Created March 8, 2024 03:40
The provided code snippet showcases the animation implementation details.
// src/app.ts
import * as PIXI from 'pixi.js'
const canvasWidthHeight = Math.min(Math.min(window.innerHeight, window.innerWidth), 512);
const GRAVITY = 9.8;
const GAME_SPEED_X = 40;
const BIRD_FRAME_LIST = [
'./assets/images/frame-1.png',
@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