GitHub API v4: How can I traverse with pagination? (GraphQL)

According to graphql documentation there are more than one pagination model. GitHub is using complete connection model In this model you can traverse with adding after:”Y3Vyc29yOjEwMA==” to your search query. query { search(first: 100, after:”Y3Vyc29yOjEwMA==”, type:USER, query:”location:usa repos:>0 language:java”) { pageInfo { startCursor hasNextPage endCursor } userCount nodes { … on User { bio company … Read more

x509: certificate signed by unknown authority – both with docker and with github

As mentioned in crypto/x509/root_unix.go, Go (which is what Docker uses) will check CA certificates in “/etc/ssl/certs/ca-certificates.crt”, // Debian/Ubuntu/Gentoo etc. “/etc/pki/tls/certs/ca-bundle.crt”, // Fedora/RHEL “/etc/ssl/ca-bundle.pem”, // OpenSUSE “/etc/ssl/cert.pem”, // OpenBSD “/usr/local/share/certs/ca-root-nss.crt”, // FreeBSD/DragonFly “/etc/pki/tls/cacert.pem”, // OpenELEC “/etc/certs/ca-certificates.crt”, // Solaris 11.2+ Make sure those files are available and not corrupted. There can be also sporadic issue with the … Read more

Git pull – smudge filter lfs failed

In my case the SSH-authenticated repository was updated to use LFS from another client and on my side Git-LFS didn’t know about the SSH remote-url. What I did to fix it was the following: Copy the URL configured in remote.origin.url (push URL for origin) to lfs.url (the URL LFS uses): $ git config lfs.url $(git … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)