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
import requests | |
import logging | |
from threading import Thread | |
from slack_bolt import App | |
from slack_bolt.adapter.socket_mode import SocketModeHandler | |
import os | |
import threading | |
import time | |
logging.basicConfig(level=logging.DEBUG) |
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 pytrends.request import TrendReq | |
pytrends = TrendReq(hl='en-US', tz=360) | |
trending = pytrends.trending_searches(pn='united_states') | |
trending_list = trending[0].tolist() | |
print(trending_list) |
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
app: | |
title: Test | |
baseUrl: http://localhost:3000 | |
organization: | |
name: Test | |
backend: | |
# Used for enabling authentication, secret is shared by all backend plugins | |
# See https://backstage.io/docs/auth/service-to-service-auth for |
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
/* | |
This example puts data to a secure API endpoint | |
*/ | |
#include <SPI.h> | |
#include <WiFiNINA.h> | |
#include "arduino_secrets.h" |
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
\ | |
2022/07/07 17:37:37 [INFO] Terraform version: 0.13.7 | |
2022/07/07 17:37:37 [INFO] Go runtime version: go1.14.7 | |
2022/07/07 17:37:37 [INFO] CLI args: []string{"/bin/terraform", "init", "REDACTED"} | |
2022/07/07 17:37:37 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
2022/07/07 17:37:37 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2022/07/07 17:37:37 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2022/07/07 17:37:37 [DEBUG] ignoring non-existing provider search directory /root/.terraform.d/plugins | |
2022/07/07 17:37:37 [DEBUG] ignoring non-existing provider search directory /root/.local/share/terraform/plugins | |
2022/07/07 17:37:37 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins |
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
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# aws_s3_bucket.b will be created | |
+ resource "aws_s3_bucket" "b" { | |
+ acceleration_status = (known after apply) | |
+ acl = (known after apply) | |
+ arn = (known after apply) |
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
import argparse | |
from botocore.exceptions import ClientError | |
import boto3 | |
from cryptography.fernet import Fernet | |
import json | |
import logging | |
from pprint import pprint | |
import uuid | |
''' |
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
import os | |
import io | |
import json | |
import boto3 | |
from boto3.exceptions import ResourceNotExistsError | |
from botocore.exceptions import ClientError | |
import pprint | |
import logging | |
import tempfile | |
from wand.image import Image |
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
var nock = require('nock') | |
var http = require('http'); | |
var request = require('request-promise'); | |
nock('http://greetings_api:3000') | |
.post('/getGreeting') | |
.matchHeader('content-type', 'application/json') | |
.matchHeader('language', 'es') | |
.matchHeader('host', 'greetings_api:3000') | |
.matchHeader('content-length', 0) |
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: coffee | |
namespace: ingress-nginx | |
spec: | |
tls: | |
- hosts: | |
- cafe.example.com | |
secretName: cafe-secret |
NewerOlder