{"id":18514001,"url":"https://github.com/daddye/gist","last_synced_at":"2026-01-25T00:02:25.739Z","repository":{"id":8141775,"uuid":"9560713","full_name":"DAddYE/gist","owner":"DAddYE","description":"Repo as a gist","archived":false,"fork":false,"pushed_at":"2013-07-27T19:59:52.000Z","size":196,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T13:18:44.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nimrod","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DAddYE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-20T07:22:02.000Z","updated_at":"2015-11-07T10:41:00.000Z","dependencies_parsed_at":"2022-07-20T17:08:42.446Z","dependency_job_id":null,"html_url":"https://github.com/DAddYE/gist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DAddYE/gist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAddYE%2Fgist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAddYE%2Fgist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAddYE%2Fgist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAddYE%2Fgist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DAddYE","download_url":"https://codeload.github.com/DAddYE/gist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAddYE%2Fgist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T15:41:41.028Z","updated_at":"2026-01-25T00:02:25.721Z","avatar_url":"https://github.com/DAddYE.png","language":"Nimrod","funding_links":[],"categories":[],"sub_categories":[],"readme":"## BUILD YOUR OWN GIST REPO\n\nCreate a repo called `gist` then clone it somewhere (in my case) `/usr/src/extras/gist`, then add in\nyour `.bash_profile`\n\n```sh\ngist(){\n  cd /usr/src/extras/gist\n  $EDITOR $1\n  read -p 'Do you want push changes? (y/n) ' reply\n  if [[ $reply =~ ^[Yy]$ ]]; then\n    git add $1 \u0026\u0026 git commit -a \u0026\u0026 git push \u0026\u0026 (\n    echo\n    echo \"**************************************************************************\"\n    echo \"Link: https://raw.github.com/DAddYE/gist/master/$1\"\n    echo \"Diff: https://github.com/DAddYE/gist/commit/`git rev-list head | head -n1`\"\n    echo \"**************************************************************************\")\n    cd - \u003e /dev/null\n   fi\n}\n```\n\nIf you want to add bash completion of content of your workingdir add in your `.bash_profile`\n\n```sh\n__gist_complete(){\n  local cur len wrkdir;\n  local IFS=$'\\n'\n  wrkdir=\"/usr/src/extras/gist/\"\n  cur=${COMP_WORDS[COMP_CWORD]}\n  len=$((${#wrkdir} + 2))\n  COMPREPLY=( $(compgen -df $wrkdir/$cur| cut -b $len-) )\n}\n\ncomplete -o nospace -F __gist_complete gist\n```\n\nNow you can use `gist [tab][tab]` and will autocomplete with the content of `/usr/src/extras/gist`\n(in my case).\n\n## Shortner\n\nYou may want to shortcut your gist files, so here a function:\n\n```sh\ngitio(){\n  curl http://git.io -siF \"url=$1\" | grep Location: | sed \"s/Location: //\"\n}\n```\n\nYou can add it in your bash profile and use like:\n\n```sh\n$ gitio http://github.com/daddye/gist\n```\n\n## License\n\nDWYW: Do whatever you want!\n\n## Author\n\n* Github, Twitter: @DAddYE\n* Website: http://daddye.it\n* Email: info[-]daddye.it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaddye%2Fgist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaddye%2Fgist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaddye%2Fgist/lists"}