Skip to content

Instantly share code, notes, and snippets.

View XTechnology-TR's full-sized avatar
:shipit:
Focusing

xtechnology XTechnology-TR

:shipit:
Focusing
View GitHub Profile
@XTechnology-TR
XTechnology-TR / Understanding the Role of a Day Trader.md
Created February 11, 2025 18:02 — forked from johntday/Understanding the Role of a Day Trader.md
Day trading represents a high-stakes, fast-paced approach to trading financial instruments, where traders buy and sell assets within the same trading day.

Understanding the Role of a Day Trader

Date: January 27, 2025

Introduction

Day trading represents a high-stakes, fast-paced approach to trading financial instruments, where traders buy and sell assets within the same trading day. This method is characterized by its focus on short-term price movements and the avoidance of overnight risks. The allure of day trading lies in its potential for high returns and financial independence, offering traders the flexibility to work from virtually anywhere with an internet connection. However, this potential is counterbalanced by significant risks, including financial losses and the psychological demands of maintaining emotional control under pressure (Forbes).

The mechanics of day trading involve a variety of strategies such as scalping, momentum trading, and news-based trading, each designed to exploit market inefficiencies. These strategies require a deep understanding of market dynamics and th

@XTechnology-TR
XTechnology-TR / calendar.py
Created February 8, 2025 00:06 — forked from mustafa-qamaruddin/calendar.py
Import Custom CSV into Zipline
from zipline.utils.calendars import TradingCalendar
from datetime import time
from pandas.tseries.offsets import CustomBusinessDay
from pytz import timezone
from zipline.utils.memoize import lazyval
class CryptoCalendar(TradingCalendar):
"""
Exchange calendar for 24/7 trading.
@XTechnology-TR
XTechnology-TR / Complete MailWizz Setup
Created November 17, 2024 21:18 — forked from amanjuman/Complete MailWizz Setup
Install MailWizz on Ubuntu 22.04 using LEMP (Nginx)
## System Update and Install required softwares
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get autoremove -y && sudo add-apt-repository ppa:ondrej/php -y && add-apt-repository ppa:nginx/stable -y
sudo apt-get install curl cron nano nginx mariadb-server unzip zip python3-certbot-nginx php-pear php8.0-{curl,fpm,imap,gd,memcache,mbstring,mysql,pspell,sqlite3,tidy,xsl,xml,xmlrpc,zip} -y
sudo update-alternatives --set php /usr/bin/php8.0
## Create DATABASE
sudo mysql_secure_installation
mysql -u root -p
@XTechnology-TR
XTechnology-TR / secure_with_htaccess
Created November 16, 2024 09:49 — forked from hugopereira84/secure_with_htaccess
Security with cookies: - PREVENTING SESSION HIJACKING - PREVENTING SESSION FIXATION - Uses a secure connection (HTTPS) if possible
With .htaccess just need to add these flags:
php_value session.cookie_httponly 1
php_value session.cookie_secure 1
@XTechnology-TR
XTechnology-TR / email_send.md
Created November 7, 2024 16:29 — forked from mimepost/email_send.md
Some example to send test email using MimePost

Send test email using MimePost

(by @MimePost)


Using curl

curl -XPOST \
-H 'X-Auth-Token: api_token' \
<?php
/***** WORDPRESS OPTIMIZATION CODE *****/
// REMOVE EMOJIS
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'wp_print_styles', 'print_emoji_styles' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );
@XTechnology-TR
XTechnology-TR / Responsive-ekran-boyutlari.css
Created February 27, 2024 19:13 — forked from serhanozcan/Responsive-ekran-boyutlari.css
Responsive ekran boyutları ve css media listesi
/*
##Cihaz = Masaüstü
##Ekran = 1281px 'den yüksek çözünürlükler için
*/
@media (min-width: 1281px) {
//CSS
}
@XTechnology-TR
XTechnology-TR / tor-proxy-as-podman-containder.md
Created October 23, 2023 01:20 — forked from valyakuttan/tor-proxy-as-podman-containder.md
Configue tor as a podman container in Fedora Silverblue

Configue tor as a podman container in Fedora Silverblue

Installation

  1. Pull image from dockerhub

         $ podman pull docker.io/osminogin/tor-simple
@XTechnology-TR
XTechnology-TR / privacy_policy.markdown
Created October 21, 2023 11:31 — forked from shinzui/privacy_policy.markdown
Devver Open Source Privacy Policy

Privacy Policy

Last revised on [DATE]

The Gist

[COMPANY] will collect certain non-personally identify information about you as you use our sites. We may use this data to better understand our users. We can also publish this data, but the data will be about a large group of users, not individuals.

We will also ask you to provide personal information, but you'll always be able to opt out. If you give us personal information, we won't do anything evil with it.

@XTechnology-TR
XTechnology-TR / meta-tags.md
Created September 16, 2023 16:01 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>