This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: BaysanSoft Deneme Plugin | |
Plugin URI: https://baysansoft.com | |
Description: BaysanSoft tarafından oluşturulan deneme plugini | |
Version: 1.0 | |
Author: Baysan | |
Author URI: https://baysansoft.com | |
License: GPL2 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plotly.express as px | |
import plotly.graph_objects as go | |
import dash_html_components as html | |
import dash_core_components as dcc | |
import pandas as pd | |
from plotly.subplots import make_subplots | |
import math | |
class ComponentBuilder(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# Dataset: https://www.kaggle.com/grouplens/movielens-20m-dataset | |
raw_movie = pd.read_csv('Datasets/movie_lens_dataset/movie.csv') | |
raw_rating = pd.read_csv('Datasets/movie_lens_dataset/rating.csv') | |
movie_df = raw_movie.copy() | |
rating_df = raw_rating.copy() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from functools import wraps | |
def my_decorator(func): | |
@wraps(func) | |
def wrapper(*args, **kwargs): | |
print('Do something before the function call') | |
func(*args, **kwargs) | |
print('Do something after the function call') | |
return wrapper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
ÖRNEK BİR CUSTOM ACTION | |
""" | |
from typing import Any, Text, Dict, List | |
from rasa_sdk import Action, Tracker | |
from rasa_sdk.executor import CollectingDispatcher | |
import requests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="board-of-directors"> | |
<h4>İhya Vakfı</h4> | |
<div class="bd-items"> | |
<div class="first title">{{ baskan.isim }}</div> | |
<div class="items first"> | |
{% for uye in baskan.uyeler.all %} | |
<div class="item"> | |
<div class="image"><img src="{{ uye.resim.url }}" alt=""/></div> | |
<div class="content"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name <DOMAIN> <AND / OR> <SERVER IP>; | |
location = /favicon.ico { access_log off; log_not_found off; } | |
location /static/ { | |
root /home/serverUsername/projectfolder/; | |
} | |
location /media/ { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
sudo docker run \ | |
-v /home/mebaysan/Desktop/NorthwindDB.sqlite:/databases/NorthwindDB.sqlite \ | |
--net=host \ | |
--env SQLPAD_PORT=8000 \ | |
--env SQLPAD_USERPASS_AUTH_DISABLED="false" \ | |
--env SQLPAD_ADMIN="[email protected]" \ | |
--env SQLPAD_ADMIN_PASSWORD="123." \ | |
--env SQLPAD_CONNECTIONS__defaultcon__name="Nortwhind Conn" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!pip install pymssql | |
!pip install pandas | |
!pip install numpy | |
import pandas as pd | |
import numpy as np | |
import pymssql | |
def create_server_map(CONN): | |
# create base connection to get all databases on server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
server_name videomeet.app; | |
server_name_in_redirect off; | |
access_log /var/log/nginx/reverse-access.log; | |
error_log /var/log/nginx/reverse-error.log; | |
location / { |