Skip to content

Instantly share code, notes, and snippets.

{
"configurations": [
{
"type": "vscode-edge-devtools.debug",
"request": "launch",
"name": "Launch Microsoft Edge and open the Edge DevTools",
"url": "http://localhost:5500",
"webRoot": "${workspaceFolder}index.html"
},
{
@modulardata
modulardata / PortClener.ps1
Created July 9, 2023 20:32
PortCleaner.ps1
netsh int ip reset
ipconfig /release
netsh winsock reset
ipconfig /flushdns
net stop http
net start http
ipconfig /release
ipconfig /renew
@modulardata
modulardata / .graphqlconfig
Last active August 31, 2021 13:07
GraphQl
{
"name": "Gatsby Schema",
"schemaPath": "schema.graphql",
"extensions": {
"endpoints": {
"Gatsby GraphQL Endpoint": {
"url": "http://127.0.0.1:8000/___graphql",
"headers": {
"user-agent": "JS GraphQL"
},
@modulardata
modulardata / reset.css
Last active August 31, 2021 13:06
Gatsby
/* Reset provided by https://github.com/gatsbyjs/gatsby-starter-blog via MIT license */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
-webkit-font-smoothing: antialiased;
@modulardata
modulardata / queries.scss
Created November 9, 2020 09:16
Media Queries Breakpoints For Responsive Design In 2020
/*=============================================
= Using min-width =
=============================================*/
// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }
// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }
// Large devices (desktops, 992px and up)
/* suggest-widget size */
.monaco-editor .suggest-widget.docs-side {
width: 1000px;
}
.monaco-editor .suggest-widget.docs-side>.details {
width: 60%;
max-height: 800px !important;
}
@modulardata
modulardata / composer.md
Last active August 30, 2021 20:40
Linux_Install_Manuals
#!/bin/sh

#Home
~

# Refresh Packages
sudo apt update
@modulardata
modulardata / PHP_CheetSheet.md
Last active September 1, 2021 02:34
Quick_@link_Reference
@modulardata
modulardata / VimCheatsheet.md
Last active August 30, 2021 20:41
Vim_Manual

Vim Cheatsheet

Disclaimer: This cheatsheet is summarized from personal experience and other online tutorials. It should not be considered as an official advice.

Global

:help keyword # open help for keyword
:o file       # open file
:saveas file  # save file as
@modulardata
modulardata / ohmyzsh.md
Last active September 1, 2021 02:34 — forked from cferdinandi/terminal-cheat-sheet.txt
Terminal Cheat Sheet

To try it out if you have just cloned it (to your home directory):

source ~/.oh-my-zsh/templates/zshrc.zsh-template

Commands