Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #2655

Merged
merged 1 commit into from
Jun 23, 2022
Merged

update #2655

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
867 changes: 451 additions & 416 deletions README.md

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions bash-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<summary> Bash Cheat Sheet (MY COMMANDS) </summary


## 99. Cheat Sheet

### Description
Expand Down Expand Up @@ -541,10 +542,17 @@ printf "${Red} This is red \n"

```



</details>



>




#### Find

## To find files by case-insensitive extension (ex: .jpg, .JPG, .jpG)
Expand Down Expand Up @@ -645,7 +653,6 @@ for i in *.*; do mv "$i" "${i%-*}.${i##*.}"; done
###### code:

```js
//
//APPEND-DIR.js
const fs = require('fs');
let cat = require('child_process')
Expand All @@ -655,7 +662,7 @@ fs.writeFile('output.md', cat, err => {
if (err) throw err;
});

````
```

---

Expand Down Expand Up @@ -1024,7 +1031,6 @@ for d in ./*; do mv $d ${d:0:12}; done
###### code

```js
//
//APPEND-DIR.js
const fs = require('fs');
let cat = require('child_process').execSync('cat *').toString('UTF-8');
Expand Down Expand Up @@ -1639,7 +1645,7 @@ lebab --replace ./ --transform includes

###### code

```
```ps1

wsl.exe --shutdown

Expand Down Expand Up @@ -1876,7 +1882,7 @@ for i in */; do zip -r "${i%/}.zip" "$i"; done

###### code

```
```ps1

PARAM (
[string] $ZipFilesPath = "./",
Expand Down
20 changes: 9 additions & 11 deletions docs/README.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Generated with [Docky](https://github.com/markmur/docky)

---

\#\#\#\#\# [Cloudfare-Backup](https://bgoonz-blog-2-0.pages.dev/) ⇨ [search](https://www.algolia.com/realtime-search-demo/web-dev-resource-hub-9e6b8aa8-6106-44c5-9f59-ff3f9531abd4) ⇨ [Backup Repo Deploy](https://bgoonzblog20-backup.netlify.app/#gsc.tab=0) ⇨ [Github pages](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) ⇨ [Go To Site Wiki](https://github.com/bgoonz/BGOONZ_BLOG_2.0/wiki) ⇨ [Gatsby Cloud Version](https://bgoonzblog20master.gtsb.io/)
\#\#\#\#\# [Cloudfare-Backup](https://bgoonz-blog-2-0.pages.dev/) ⇨ [search](https://www.algolia.com/realtime-search-demo/web-dev-resource-hub-9e6b8aa8-6106-44c5-9f59-ff3f9531abd4) ⇨ [Backup Repo Deploy](https://bgoonzblog20-backup.netlify.app/#gsc.tab=0) ⇨ [Github pages](https://bgoonz.github.io/BGOONZ_BLOG_2.0/) ⇨ [Go To Site Wiki](https://github.com/bgoonz/BGOONZ_BLOG_2.0/wiki) ⇨ [Gatsby Cloud Version](https://bgoonzblog20master.gatsbyjs.io/)

[![Netlify Status](https://api.netlify.com/api/v1/badges/a1b7ee1a-11a7-4bd2-a341-2260656e216f/deploy-status)](https://app.netlify.com/sites/bgoonz-blog/deploys)[![CodeFactor](https://www.codefactor.io/repository/github/webdevhub42/bgoonz_blog_2.0/badge)](https://www.codefactor.io/repository/github/webdevhub42/bgoonz_blog_2.0)[![CodeScene System Mastery**](https://codescene.io/projects/17026/status-badges/system-mastery)](https://codescene.io/projects/17026)![Profile views**](https://views.whatilearened.today/views/github/bgoonz/views.svg)[![Gitter**](https://badges.gitter.im/bgoonz/community.svg)](https://gitter.im/bgoonz/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![CodeScene Code Health](https://codescene.io/projects/17026/status-badges/code-health)](https://codescene.io/projects/17026)[![CodeQL](https://github.com/bgoonz/BGOONZ_BLOG_2.0/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/bgoonz/BGOONZ_BLOG_2.0/actions/workflows/codeql-analysis.yml)

Expand Down Expand Up @@ -138,16 +138,14 @@ find . -type f -exec chmod 644 {} \\;


```js

//
//APPEND-DIR.js
const fs = require('fs');
let cat = require('child_process')
.execSync('cat \*')
.toString('UTF-8');
fs.writeFile('output.md', cat, err => {
if (err) throw err;
});
//APPEND-DIR.js
const fs = require('fs');
let cat = require('child_process')
.execSync('cat *')
.toString('UTF-8');
fs.writeFile('output.md', cat, err => {
if (err) throw err;
});

---

Expand Down
Loading