This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use utf8; | |
use feature 'say'; | |
use Furl; | |
use Mojo::DOM; | |
my ($http, $url, $results) = (Furl->new, 'https://shindanmaker.com/832038', []); | |
for my $count (1..1e6) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: ./get_all_own_repositories.sh <your github token> | |
# Requirements: jq, ghq | |
TOKEN=$1 | |
PAGE=1; | |
while true; do | |
REPOS=`curl -sS -H "Authorization: Bearer $TOKEN" -H 'Accept: application/vnd.github.v3+json' https://api.github.com/user/repos?page=$PAGE | jq -r .[].ssh_url` | |
if [ -z "$REPOS" ]; then | |
exit |
OlderNewer