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
from google.oauth2.service_account import Credentials | |
from googleapiclient.discovery import build | |
import datetime | |
# Setup the service account credentials | |
SCOPES = ['https://www.googleapis.com/auth/spreadsheets.readonly', | |
'https://www.googleapis.com/auth/calendar'] | |
SERVICE_ACCOUNT_FILE = 'path/to/your/service-account-file.json' | |
credentials = Credentials.from_service_account_file( |
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
{ | |
"data": { | |
"repository": { | |
"defaultBranchRef": { | |
"name": "master", | |
"target": { | |
"history": { | |
"edges": [ | |
{ | |
"node": { |
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
query { | |
repository(owner: "facebook", name: "react") { | |
defaultBranchRef { | |
name | |
target { | |
... on Commit { | |
history(first: 2) { | |
edges { | |
node { | |
messageHeadline |
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
query { | |
repository(owner: "facebook", repo: "react") { | |
defaultBranchRef { | |
name | |
... on Commit { | |
history { | |
dates { | |
commits { | |
messageHeadline | |
friendlyTime |
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
{ | |
"data": { | |
"repository": { | |
"owner": { | |
"login": "facebook" | |
}, | |
"isPrivate": false, | |
"isDisabled": false, | |
"isArchived": false, | |
"isLocked": false, |
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
{ | |
"data": { | |
"repository": { | |
"owner": { | |
"login": "facebook" | |
}, | |
"isPrivate": false, | |
"isDisabled": false, | |
"isArchived": false, | |
"isLocked": false, |
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
query { | |
repository(owner: "facebook", name: "react") { | |
owner { | |
login | |
} | |
isPrivate | |
isDisabled | |
isArchived | |
isLocked | |
name |
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
query { | |
repository(owner: "facebook", repo: "react") { | |
owner { | |
login | |
} | |
name | |
usedByCount | |
watchersCount | |
stargazersCount | |
forksCount |
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 this script to unfollow lots of people/companies at once on LinkedIn, without clicking the | |
// "Unfollow" button for every person. | |
// 1. Visit https://www.linkedin.com/feed/following | |
// 2. Apply a filter if you'd like (like only list companies) | |
// 3. Copy/paste the script below in your browser's JavaScript console. | |
// WARNING: make sure you have the right filter set! if you run this on a page with people, it will unfollow all the | |
// people you're following, which you may not want! |