Skip to content

Instantly share code, notes, and snippets.

View muath-ye's full-sized avatar
🚀
npx muath

Muath Alsowadi muath-ye

🚀
npx muath
View GitHub Profile
@muath-ye
muath-ye / TablePlus-Diagram.md
Created July 29, 2023 11:52
Generate a diagram with TablePlus

Install the plugin From Menu > Plugins > Manage Plugings or press Command + L.

image

After that, you can go to your database, choose the tables you want to generate the diagram for and right-click. You'll see the Generate diagram > Generate diagram option.

image

@muath-ye
muath-ye / aliases.sh
Created March 8, 2023 06:25
A:\Git\etc\profile.d
# Some good standards, which are not used if the user
# creates his/her own .bashrc/.bash_profile
# --show-control-chars: help showing Korean or accented characters
alias ls='ls -F --color=auto --show-control-chars'
alias ll='ls -l'
case "$TERM" in
xterm*)
# The following programs are known to require a Win32 Console
@muath-ye
muath-ye / get-line-of-codes
Created August 9, 2022 11:39
Get line of codes
https://api.github.com/repos/<user>/<repo>/languages
Ex:
https://api.github.com/repos/muath-ye/miniature-octo/languages
@mtimbs
mtimbs / tsconfig.json
Last active October 15, 2024 21:37
basic default tsconfig for use in TypeScript projects
{
"compilerOptions": {
// project options
"lib": [
"ESNext",
"dom"
], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
"outDir": "lib", // .js (as well as .d.ts, .js.map, etc.) files will be emitted into this directory.,
"removeComments": true, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space
"target": "ES6", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3)
@muath-ye
muath-ye / settings.json
Created August 28, 2020 07:04
This is vscode settings to work with vector mono font as italic
{
//C:\Users\me\AppData\Roaming\Code\User\settings.json
"todo-tree.tree.showScanModeButton": false,
"files.autoSave": "afterDelay",
"git.enableSmartCommit": true,
"cSpell.userWords": [
"Abdullah",
"Assawadi",
"Laravel",
"Muath",
#!bash
#
# git-flow-completion
# ===================
#
# Bash completion support for [git-flow](http://github.com/nvie/gitflow)
#
# The contained completion routines provide support for completing:
#
# * git-flow init and version
@adilmughal
adilmughal / blog.web.config
Last active September 14, 2023 17:56 — forked from anonymous/blog.web.config
Web.config URL rewriting rules for hosting WordPress (PHP) on IIS
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Remove html" stopProcessing="true">
<match url="(.*).html$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />