Instance | Branch |
---|
This file contains hidden or 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
package main | |
import "fmt" | |
func main() { | |
var a []int | |
a = make([]int, 5) | |
for i := 0; i < 5; i++ { | |
a = append(a, i) | |
fmt.Println(a) |
This file contains hidden or 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
package main | |
import "fmt" | |
func main() { | |
n := make([]int, 4, 5) | |
fmt.Printf("len=%d, cap=%d, slice=%v\n", len(n), cap(n), n) | |
n = append(n, 1) | |
fmt.Printf("len=%d, cap=%d, slice=%v\n", len(n), cap(n), n) | |
n = append(n, 2) |
This file contains hidden or 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
import requests | |
import os | |
import urllib | |
import json | |
import datetime | |
from google.cloud import bigquery | |
bearer_token = "[Your Token]" | |
headers = {"Authorization": "Bearer {}".format(bearer_token)} |
This file contains hidden or 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": [ | |
{ | |
"possibly_sensitive": false, | |
"lang": "ja", | |
"source": "Twitter Web App", | |
"created_at": "2022-10-30T15:16:28.000Z", | |
"author_id": "1299285051436273664", | |
"entities": { | |
"urls": [ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder