Skip to content

Instantly share code, notes, and snippets.

View behiunforgiven's full-sized avatar

Behzad Shirani behiunforgiven

View GitHub Profile
@carmelodevuz
carmelodevuz / How-to.md
Last active February 7, 2023 19:34
Metronic React v8.1.2 - RTL
  1. Copy and paste rtl.config.js file.
  2. Add packages to the package.json file (copy them from the package.json) below and re-install packages with yarn command.
  3. Run the command: yarn run webpack --config webpack-rtl.config.js
  4. In the file src/index.tsx file comment rows [18, 19]: // import './_metronic/assets/sass/plugins.scss' // import './_metronic/assets/sass/style.scss'
  5. In the file src/index.tsx add the row: import './_metronic/assets/css/style.rtl.css' (! before style.react.scss).
  6. In the file public/index.html update the html tag with: <html direction="rtl" dir="rtl" style="direction: rtl">
  7. Find and replace next attributes in the project: data-kt-menu-placement='bottom-start' =&gt; data-kt-menu-placement='bottom-end'
@davidfowl
davidfowl / MinimalAPIs.md
Last active June 28, 2024 17:42
Minimal APIs at a glance
@tjmoses
tjmoses / mssql_dump.sh
Last active June 17, 2022 07:02
Bash Script to Automate SQL Server Database Backups with mssql-scripter
#!/bin/bash
###################################################################
#Script Name : mssql_dump.sh
#Description : will create SQL scripts as defined by mssql-scripter
# and will zip backup files and store for X days (set to 30)
#Author : Tim Moses
#Github : https://github.com/tjmoses
#Notes : Make sure to add the appropriate MSSQL_SCRIPTER_CONNECTION_STRING
# for your db connection. Also, revise your target & edition
# sql server for the mssql-scripter command below. The zip library is
@bumbeishvili
bumbeishvili / .block
Last active September 22, 2022 12:59
Employees Hierarchy Chart using d3.js
license: mit
@Hameds
Hameds / ReplaceYeKe.sql
Last active April 23, 2024 08:23
Replace Arabic ي & ك in SQL Server Database with Persian characters
use [DATABASE_NAME];
DECLARE @Table NVARCHAR(MAX)
DECLARE @Col NVARCHAR(MAX)
DECLARE Table_Cursor CURSOR
FOR
--پيدا کردن تمام فيلدهاي متني تمام جداول ديتابيس جاري
SELECT a.name, --table
b.name --col
FROM sysobjects a,
syscolumns b