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
{ | |
"settingsVersion": "1.67", | |
"exclusionRules": [ | |
{ | |
"pattern": "https?://mail.google.com/*", | |
"passKeys": "" | |
}, | |
{ | |
"pattern": "https://tweetdeck.twitter.com/", | |
"passKeys": "nrmfjkthl1234567890" |
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: tekton.dev/v1beta1 | |
kind: Task | |
metadata: | |
name: yarn | |
labels: | |
app.kubernetes.io/version: "0.1" | |
annotations: | |
tekton.dev/categories: Build Tools | |
tekton.dev/tags: build-tool | |
spec: |
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
192.168.0.0/32 | |
192.168.255.255/32 |
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 json | |
import slack | |
token = 'xoxb-1122334455-123456789-aBCDEFGHIjklmn' | |
# 対象のユーザグループ | |
target_usergroup = ['S01A3456BCDED', 'S01098765XYZ'] | |
target_users = [] | |
client = slack.WebClient(token=token) |
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 slack | |
OAUTH_TOKEN = 'xoxb-112233445566778899-112233445566778899-112233445566778899-abcdefghi' | |
client = slack.WebClient(token=OAUTH_TOKEN) | |
res = client.users_list() | |
for member in res['members']: | |
print(member['id'] + ': ' + member['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
// ref. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/example-function-add-index.html | |
function handler(event) { | |
var request = event.request; | |
var uri = request.uri; | |
// Check whether the URI is missing a file name. | |
if (uri.endsWith('/')) { | |
request.uri += 'index.html'; | |
} | |
// Check whether the URI is missing a file extension. |
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
# Click here for the manual | |
# https://github.com/albinekb/favicon-emoji | |
yarn global add favicon-emoji | |
favicon-emoji --emoji ✍️ |
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 Slack = require('slack-node') | |
var request = require('request') | |
var fs = require('fs') | |
apiToken = "<API_TOKEN>" | |
slack = new Slack(apiToken) | |
slack.api("emoji.list", function (err, response) { | |
for(key in response.emoji){ |