profile
viewpoint

denysdovhan/spaceship-prompt 12914

:rocket::star: A Zsh prompt for Astronauts

salmanulfarzy/dotfiles 1

Configuration files for vim, zsh, macOS, aliases, git, tmux, brew and some scripts.

salmanulfarzy/awesome-opensource-apps 0

:house::information_source: Curated list of awesome open source crafted web & mobile applications - Learn, Fork, Contribute & Most Importantly Enjoy!

salmanulfarzy/book-example 0

Example code for my book on TDD with Python

salmanulfarzy/Book-TDD-Web-Dev-Python 0

Book - TDD web dev with Python

salmanulfarzy/caprine 0

Elegant Facebook Messenger desktop app

salmanulfarzy/dj-static 0

Serve production static files with Django.

issue closedtanaikech/goodls

Feature Request : Renaming files downloaded in bulk downloads

Option to rename files downloaded via multiple URL file inputs. So while passing list of URL via file like, goodls < list.csv would it be possible to provide an option to rename the downloaded files ?

<details> <summary> Previous description</summary> I was trying to download bulk files with goodls and renaming them by passing information from CSV file. But the -f doesn't seem to have any effect.

If I understand correctly, file input doesn't support file naming. It would be great if you could let me know what I'm missing here.

while IFS=, read -r id gdlink; do
   echo "Fetching $gdlink to $id"
   goodls -u "$gdlink" -f "$id"
done < goodls_sample_products.csv

Output

Fetching //drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX to 3911401000000874007
Downloading (bytes)... 80817
{"Filename": "1.jpg", "Type": "file", "MimeType": "image/jpeg", "FileSize": 80817}
Downloading (bytes)... 24986
{"Filename": "LATINE BEIGE.jpg", "Type": "file", "MimeType": "image/jpeg", "FileSize": 24986}

Sample data

3911401000000874007,//drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX
3911401000000874003,//drive.google.com/uc?export=download&id=1mKPzSb2_XdERUwcKYkT5DV3FVhvnPWmv
3911401000000872221,//drive.google.com/uc?export=download&id=1pplVG_66kUiAarPo98X8dfy3vCpuO9bS

</details>

closed time in 3 days

salmanulfarzy

issue commenttanaikech/goodls

Feature Request : Renaming files downloaded in bulk downloads

Never mind. Is it okay if I keep this open as feature request for renaming downloaded files from several URLs ? Feel free to close this otherwise.

salmanulfarzy

comment created time in 3 days

issue commenttanaikech/goodls

Usage from bash for bulk fetching and renaming

Let me try to explain my use case, I have CSV file with id and gdlink in two columns. I need to download links specified in second column and save it as id specified in first column.

So in following data, I need to save file in location https://drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX as 3911401000000874007. File in location https://drive.google.com/uc?export=download&id=1mKPzSb2_XdERUwcKYkT5DV3FVhvnPWmv as 3911401000000874003 and so forth for about 9500+ rows.

3911401000000874007,//drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX
3911401000000874003,//drive.google.com/uc?export=download&id=1mKPzSb2_XdERUwcKYkT5DV3FVhvnPWmv
3911401000000872221,//drive.google.com/uc?export=download&id=1pplVG_66kUiAarPo98X8dfy3vCpuO9bS

I was trying to iterate through rows with bash and invoke goodls for each row. So for each row, goods will be called to download file at location $gdlink and be saved to local as $id.

goodls -u "$gdlink" -f "$id"

But the execution get bypassed after processing first row. echo in first line of loop was never executed after first file.

Would it be possible to pass filenames while bulk downloading links ?

Thank you for your patience.

salmanulfarzy

comment created time in 4 days

issue commenttanaikech/goodls

Usage from bash for bulk fetching and renaming

This would rename the file as sample.csv, right ? I would like to rename them with values in column 1. Excuse me if I'm not understanding this.

So file in //drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX has to be renamed as 3911401000000874007. What happens is, once, first command to fetch file is called, following shell commands are not executed. Tried running command in sub-shell also.

// echo of first file
Fetching //drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX to 3911401000000874007
// no execution of echo after this. 
// Only two files are downlaoded. First file was never downloaded.
Downloading (bytes)... 80817
{"Filename": "1.jpg", "Type": "file", "MimeType": "image/jpeg", "FileSize": 80817}
Downloading (bytes)... 24986
{"Filename": "LATINE BEIGE.jpg", "Type": "file", "MimeType": "image/jpeg", "FileSize": 24986}
salmanulfarzy

comment created time in 4 days

issue openedtanaikech/goodls

Usage from bash for bulk fetching and renaming

I was trying to download bulk files with goodls and renaming them by passing information from CSV file. But the -f doesn't seem to have any effect.

If I understand correctly, file input doesn't support file naming. It would be great if you could let me know what I'm missing here.

while IFS=, read -r id gdlink; do
   echo "Fetching $gdlink to $id"
   goodls -u "$gdlink" -f "$id")
done < goodls_sample_products.csv

Output

Fetching //drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX to 3911401000000874007
Downloading (bytes)... 80817
{"Filename": "1.jpg", "Type": "file", "MimeType": "image/jpeg", "FileSize": 80817}
Downloading (bytes)... 24986
{"Filename": "LATINE BEIGE.jpg", "Type": "file", "MimeType": "image/jpeg", "FileSize": 24986}

Sample data

3911401000000874007,//drive.google.com/uc?export=download&id=1HGkFBVuKHx5jokRf5ToH_03UOhVB6ScX
3911401000000874003,//drive.google.com/uc?export=download&id=1mKPzSb2_XdERUwcKYkT5DV3FVhvnPWmv
3911401000000872221,//drive.google.com/uc?export=download&id=1pplVG_66kUiAarPo98X8dfy3vCpuO9bS

created time in 5 days

startedgorhill/uMatrix

started time in 7 days

startedwfxr/forgit

started time in 9 days

startedInboxen/Inboxen

started time in 10 days

startedmaterial-shell/material-shell

started time in 10 days

fork salmanulfarzy/learning

Becoming 1% better at data science everyday

fork in 10 days

startedamitness/learning

started time in 10 days

startedblackjack4494/youtube-dlc

started time in 12 days

startedtanaikech/goodls

started time in 12 days

startedsdushantha/tmpmail

started time in 13 days

startedalexeygrigorev/data-science-interviews

started time in 13 days

startedcaprover/one-click-apps

started time in 13 days

startedfastai/fastmac

started time in 14 days

startedabhivaikar/howtheytest

started time in 17 days

startedAntlerVC/firetable

started time in 17 days

startedzedeus/nitter

started time in 18 days

startedtenderlove/analog-terminal-bell

started time in 18 days

startedlocalstack/localstack

started time in 18 days

startedveeral-patel/how-to-secure-anything

started time in 18 days

startednostalgy/nostalgy

started time in 21 days

startedjgthms/web-design-in-4-minutes

started time in 21 days

startedwillmcgugan/rich

started time in 22 days

startedinfracost/infracost

started time in 23 days

startediggredible/Learn-Vim

started time in 23 days

startedboltgolt/howdy

started time in 23 days

startedsoraxas/shsh

started time in 23 days

startedhirusi/bill-my-pocket

started time in 25 days

startedsissbruecker/linkding

started time in 25 days

startedHarsh-23/Musify

started time in a month

startedmikecao/umami

started time in a month

startedhediet/vscode-debug-visualizer

started time in a month

startedtheos/theos

started time in a month

PullRequestEvent

pull request commentdenysdovhan/spaceship-prompt

WIP: Render prompt asyncronuosly using zsh-async

Sure. I'll leave this PR open and branch unmodified.

salmanulfarzy

comment created time in a month

push eventdenysdovhan/spaceship-prompt

Salmanul Farzy

commit sha b9a89d326c3729b7a81f68791e8e2e961a72aad1

Deploy denysdovhan/spaceship-prompt to github.com/denysdovhan/spaceship-prompt.git:gh-pages

view details

push time in a month

startedRanchero-Software/NetNewsWire

started time in a month

PR closed regisphilibert/Sublime-Hugo-Snippets

Add snippet for shortcode

Expand to shortcode with single argument.

+11 -0

0 comment

2 changed files

salmanulfarzy

pr closed time in a month

PR closed denysdovhan/spaceship-prompt

4.0 breaking

Umbrella pr to handle next release. All new features would be merged to this branch after completing async rendering.

Following list would be updated with confirmed changes.

  • [ ] asynchronous section rendering
  • [ ] Better custom section integration
  • [ ] Migrate documentation (#670)
  • [ ] Use (Ferris the) crab for Rust symbol (#516)
  • [ ] Make sure all options follow chosen naming conventions (#594)
  • [x] Get user environment with spaceship::env (#579)
  • [x] Drop pyenv section in favour of python section (#431)

PS: We could really use some help with testing #697 implementing async rendering and custom sections.

+163 -56

0 comment

10 changed files

salmanulfarzy

pr closed time in a month

PR closed denysdovhan/spaceship-prompt

WIP: Render prompt asyncronuosly using zsh-async frozen improvement

#315 already exists for async rendering, Didn't want to mess up @sei40kr work there by pushing into it so made a new PR. To see previous discussion on async see #307 and #315

  • [x] Loading zsh-async (>= v1.7.0)
  • [x] API for sections
  • [ ] API documentation
  • [ ] Async git section
    • [ ] async git_branch section
    • [ ] async git_status section
  • [ ] Updated testcases
+666 -55

14 comments

8 changed files

salmanulfarzy

pr closed time in a month

pull request commentdenysdovhan/spaceship-prompt

WIP: Render prompt asyncronuosly using zsh-async

It's been two year since I've made the last commit on this pull request. I'm closing this and my other open pull requests.

salmanulfarzy

comment created time in a month

PR closed denysdovhan/spaceship-prompt

Reviewers
Check for Julia project file frozen improvement review-required

Close #678

+2 -2

2 comments

2 changed files

salmanulfarzy

pr closed time in a month

startedlaozhu/hugo-nuo

started time in a month

startedmiekg/lean

started time in a month

startedmozilla/web-ext

started time in a month

startedRaymo111/i3lock-color

started time in a month

starteddylanaraps/neofetch

started time in a month

startedtanmayrajani/notifications-preview-github

started time in a month

startedcamelot-dev/excalibur

started time in a month

issue closedtanaikech/goodls

Unable to download shared files

I've a couple of thousand files with their external share link. While trying the URL pattern it always returns URL Error. I'm not familar with go, but I believe checkURL functions is skipping this URL pattern ?

Sample link : https://drive.google.com/uc?export=download&id=1pFOCG0vBrrx5wLedCLWydMoEaP_8301H

closed time in a month

salmanulfarzy

issue commenttanaikech/goodls

Unable to download shared files

Awesome !! Thanks for the quick implementation.

salmanulfarzy

comment created time in a month

pull request commentmikecao/umami

Add Dockerfile and docker-compose.yml

@Jean-Cote I'm actually working on it. Will be creating a PR there soon.

dbirks

comment created time in a month

issue openedtanaikech/goodls

Unable to download shared files

I've a couple of thousand files with their external share link. While trying the URL pattern it always returns URL Error. I'm not familar with go, but I believe checkURL functions is skipping this URL pattern ?

Sample link : https://drive.google.com/uc?export=download&id=1pFOCG0vBrrx5wLedCLWydMoEaP_8301H

created time in a month

startedr-darwish/topgrade

started time in a month

startedalias-rahil/handwritten.js

started time in a month

starteddracula/wallpaper

started time in a month

startedytmdesktop/ytmdesktop

started time in a month

startedmadd86/awesome-system-design

started time in a month

created repositorysalmanulfarzy/eco-tech.in

created time in a month

fork salmanulfarzy/kross-hugo-starter

A portfolio template editable in Forestry

fork in a month

created repositorysalmanulfarzy/kross-hugo-starter

created time in a month

created repositorysalmanulfarzy/casper-cms-template

created time in a month

push eventsalmanulfarzy/kross-hugo

Salmanul Farzy

commit sha adf460216b368d8e5c59c5518dde1d108e861b10

Update from Forestry.io Salmanul Farzy updated config.toml

view details

push time in a month

push eventsalmanulfarzy/kross-hugo

Salmanul Farzy

commit sha fee3c203bbdd5ae4bb5750765ce335b659fd87d8

Update from Forestry.io - Updated Forestry configuration

view details

push time in a month

create barnchsalmanulfarzy/kross-hugo

branch : master

created branch time in a month

created repositorysalmanulfarzy/kross-hugo

created time in a month

startedrobinsloan/perfect-edition

started time in 2 months

startedgithub/roadmap

started time in 2 months

startedharelba/q

started time in 2 months

PR opened caprover/one-click-apps

Add Miniflux feed reader

Thank you for this awesome project.


First of all, thank you for your contribution! 😄

☑️ Self Check before Merge

  • [x] I have tested the template using the method described in README.md thoroughly
  • [x] I have ensured that I put as much default values as possible (except passwords) to ensure minimum effort required for end users to get started.
  • [x] I have ensured that I am not using the "latest" tag as this tag is dynamically changing and might break the one-click app. Use a fixed version.
  • [x] I have made sure that instructions.start and instructions.end are clear and self-explanatory.
  • [x] Icon is added as a png file to the logos directory.
+73 -0

0 comment

2 changed files

pr created time in 2 months

push eventsalmanulfarzy/one-click-apps

Salmanul Farzy

commit sha b32f7c955d107ad3f97bce2a58122e9f22c8de26

Add Miniflux feed reader

view details

push time in 2 months

push eventsalmanulfarzy/one-click-apps

Ethan Edwards

commit sha 8e4d8c0ed8dea12e1bf9a0aca003385006d3f731

added cron container, many apps like the news app will not function (#234) without a cron container

view details

Ethan Edwards

commit sha 3a88ff218ed998a00ff172df2c0a1bf734a22b0d

added option to select database, mariadb or mysql (#233) * added option to select database, mariadb or mysql * better naming convention * fix regex?

view details

Sérgio

commit sha 23c608375ac98b5983289f0eda92872013ce7eff

Kibana one click app (#235) * Kibana one click app * Prettier formatting

view details

Kasra Bigdeli

commit sha d72088b7157cd8d9f3950157ebd42e7a3f7b7847

Update nextcloud.json

view details

Salmanul Farzy

commit sha d0354335d993f8dbef29af1ff518bc8c0284f382

Add Miniflux feed reader

view details

push time in 2 months

push eventsalmanulfarzy/one-click-apps

Salmanul Farzy

commit sha 0921f97070f96388307e05e056e0556d7145a678

Add Miniflux

view details

push time in 2 months

fork salmanulfarzy/one-click-apps

Repo for CapRover One Click Apps (https://github.com/caprover/caprover)

fork in 2 months

startedlawl/NoiseTorch

started time in 2 months

startedmanzinello/mailgo

started time in 2 months

startedmicrosoft/ProcMon-for-Linux

started time in 2 months

starteddwmkerr/hacker-laws

started time in 2 months

startedtauri-apps/tauri

started time in 2 months

startedpomber/placeholdifier

started time in 2 months

startedspotify/backstage

started time in 3 months

startedGitSquared/edex-ui

started time in 3 months

startedrepeats/Repeat

started time in 3 months

startedsimonarvin/eyeloop

started time in 3 months

startedimpressivewebs/frontend-feeds

started time in 3 months

startedfoambubble/foam

started time in 3 months

startedthingsboard/thingsboard

started time in 3 months

startedhonkit/honkit

started time in 3 months

startedbenbusby/whoogle-search

started time in 3 months

push eventdenysdovhan/spaceship-prompt

Salmanul Farzy

commit sha c34d940816832f896ce17730c854291ebf17463e

Deploy denysdovhan/spaceship-prompt to github.com/denysdovhan/spaceship-prompt.git:gh-pages

view details

push time in 3 months

push eventdenysdovhan/spaceship-prompt

Salmanul Farzy

commit sha 9e4de54a3fb34eb4434bc7dbbd274c6ba70fbf56

Deploy denysdovhan/spaceship-prompt to github.com/denysdovhan/spaceship-prompt.git:gh-pages

view details

push time in 3 months

startedmaxgoedjen/secretive

started time in 3 months

more