Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

yaasita yaasita

💭
I may be slow to respond.
Block or report user

Report or block yaasita

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View main.js
"use strict";
const fs = require("fs");
const zlib = require("zlib");
const path = require("path");
(async () => {
console.log(
[
"ログファイル",
"リージョン",
View app-type.md
type client_secret(Authorizationヘッダ内) 認証
CONFIDENTIAL OK
CONFIDENTIAL NG
PUBLIC OK
PUBLIC OK
View ProfessorBanditBakery.txt
Mi4wMTl8fDE1NTcxNTI2ODc4MDg7MTU1NzE1MjY4NzgwODsxNTU5MzE2NjQxMzQ3O1Byb2Zlc3NvciBCYW5kaXQ7cnFhbXB8MDAxMTAwMDAxMDAwMDAwMDAxMDAwfDExNjgzMzk3MzMxNDMyOTc4OzE0Nzk0MzU1ODkyMTQ4MjQ0MDAwOzEwNzQzOzEzNzsyMDQ5NzkyNjUyNzEyNTY5OzEwNzEzOzA7MDswOzM7NDswOzA7LTE7MDsxMzc7MTE3OTc5Mjg0NTc4MTczODgwMDsxMDg7MDswOzA7MDs7MDswOzA7MDswOzA7MDstMTstMTstMTstMTstMTswOzA7MDswOzUwOzA7MDsyMDsyNTsxNTU5MzAzOTQ5ODQ4OzA7MDs7Mzc7fDIxOSwyMTksODY4Njk4MjU4MDU1Njg0LDAsLDA7MjE0LDIxNCwxNTc5NzE1NjY2MzU4MDQ1OCwwLCwxOzE5MywxOTMsMTc4ODU4ODI5MjI1MSwwLCwxOzE3MiwxNzIsNDU0NjYxMTc5MDcyMCwwLCwxOzE1OCwxNTgsMTY0NzAwODM2ODk2MjIsMCwsMTsxNDQsMTQ0LDU2NzY5NTI4MjM4ODE5LDAsLDE7MTIzLDEyMywyMTM2NjM3NzU1MDM3MjksMSw4LzEwLzIgMyAxNTU3NTY1OTI3MTMxIDAsMTsxMDAsMTAwLDYxNjI4MDM2Njg5MDc1NSwwLCwxOzgzLDgzLDI2NzAxNTAxMTcxMzc2NDEsMCwsMTs2OSw2OSwxMTkwNzI5ODcwNTcyMjU4NiwxLCwxOzU3LDU3LDM5NDYxODYzOTUyMDU1NTc2LDAsLDE7NDQsNDQsMTEzMjgzNjY0NjY0NjcwNDUwLDAsLDE7MzAsMzAsMzA5ODYxNDE5NDY4MTAyOTAwLDIsLDE7MjEsMjEsNTI4NTM4ODQ1NTEyNDkzNTAwLDAsLDE7MTcsMTcsODY4MjQzMTU3ODI4NTg2NjAwLDAsLDE7OSw5LDEyNjA0MTgxNTQ
View index.js
"use strict";
const express = require("express");
const util = require("util");
const exec = util.promisify(require("child_process").exec);
const app = express();
app.get("/", async (req, res) => {
const wait_time = parseInt(req.query.wait) || 150;
let state = false;
cmd(wait_time, () => {
View hiduke.sh
#!/bin/bash
set -eu
function before2weeks {
if [[ $1 =~ 20[0-9]{6} ]];then
local file_date=${BASH_REMATCH[0]}
if [ $file_date -le $(date +%Y%m%d -d "2 weeks ago") ];then
return 0
fi
fi
View wareki.pl
#!/usr/bin/perl
use strict;
use warnings;
use feature qw(:5.10);
use utf8;
use Date::Japanese::Era;
binmode STDOUT, ":utf8";
my $era = Date::Japanese::Era->new(2019, 5, 1);
say $era->name, $era->year,"";
View swagger-patch.diff
diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml
index d5b6593..0b4dedd 100644
--- a/swagger/swagger.yaml
+++ b/swagger/swagger.yaml
@@ -2323,28 +2323,31 @@ paths:
/me/applications:
get:
description: '管理アプリケーションの一覧を取得する'
- schema:
- type: object
View find.pl
#!/usr/bin/perl
use strict;
use warnings;
use feature qw(:5.10);
use utf8;
use File::Find;
use Getopt::Long;
my $base = '';
my $target = '';
View cron-script-letsencrypt-weekly1.sh
#!/bin/bash
set -e
/usr/local/bin/certbot-auto renew
/etc/init.d/nginx restart
You can’t perform that action at this time.