Skip to content

Commit

Permalink
Add chrome disable web security command
Browse files Browse the repository at this point in the history
  • Loading branch information
ArunGovil committed May 3, 2024
1 parent 95ab5cb commit 0d39aa3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/Listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function Listing() {
return (
<div className="flex flex-col justify-center items-center p-4 w-full max-w-5xl mt-8">
<nav ref={sectionRef} className="pt-4">
<ul className="flex">
<ul className="flex justify-center w-screen overflow-y-scroll">
{tabs.length > 0 &&
tabs.map((item) => (
<li
Expand Down
6 changes: 6 additions & 0 deletions content/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,11 @@
"code": "sudo find / -type f -size +10M -exec ls -lh {} \\;",
"technology": "linux",
"tags": ["linux", "files"]
},
{
"title": "Open chrome with web security disabled",
"code": "open -na Google Chrome --args --user-data-dir=/tmp/temporary-chrome-profile-dir --disable-web-security --disable-site-isolation-trials",
"technology": "browser",
"tags": ["browser", "chrome"]
}
]
4 changes: 4 additions & 0 deletions utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export const tabs = [
id: 6,
title: "linux",
},
{
id: 7,
title: "browser",
},
];

export const placeholders = [
Expand Down

0 comments on commit 0d39aa3

Please sign in to comment.