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
// ==UserScript== | |
// @name twitter/x spam blocking helper | |
// @version 1 | |
// @grant none | |
// @include https://twitter.com/* | |
// @include https://x.com/* | |
// ==/UserScript== | |
//configuration | |
const EXCLUDE_PATH = [ |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# ref by https://qiita.com/suo-takefumi/items/30a225cef8ea42366f8e | |
# usage | |
# gen_dict_6x6_250.py | |
# result file -> ar_0.png | |
# | |
# gen_dict_6x6_250.py 1 | |
# result file -> ar_1.png |
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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.amazonaws:aws-java-sdk-codeartifact:1.11.801' | |
} | |
} | |
import com.amazonaws.services.codeartifact.AWSCodeArtifactClient; |
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 json | |
import boto3 | |
import os | |
import logging | |
#https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/python-logging.html | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
client = boto3.client('codepipeline') |
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
sudo apt-get remove python-pip python3-pip | |
wget https://bootstrap.pypa.io/get-pip.py | |
sudo python get-pip.py | |
sudo python3 get-pip.py | |
sudo pip3 install --upgrade google-api-python-client oauth2client |
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
#!/bin/bash | |
# 無限ループ | |
while : | |
do | |
echo "おみくじ please wait"| show_txt - | |
num=$((RANDOM%100)) | |
#echo "debug:"${num} | show_txt - | |
if [ ${num} -gt 50 ];then |