Skip to content

Instantly share code, notes, and snippets.

@TilakMaddy
TilakMaddy / Main.java
Last active October 7, 2024 01:53
A Java Starter Template for competitive programming in CodeChef, Hackerrank, etc w/ efficient coding rules and pre-designed pattern Ready to Use
/*
* No package must be added here because some Online Judges don't support it
* please remove, if any.
*
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/*
@nyancodeid
nyancodeid / README.md
Last active May 22, 2025 21:02
Make RESTful API with Google Apps Script and SpreadSheet

Google Script CRUD

By Ryan Aunur Rassyid

Simply create RESTful API with Google Script and store it to Google SpreadSheet like a Pro.

@li0nel
li0nel / service.yaml
Last active January 31, 2019 16:01
CloudFormation stack for the web service
Service:
Type: AWS::ECS::Service
DependsOn:
- ListenerRuleHTTPS
Properties:
Cluster: !Ref Cluster
Role: !Ref ServiceRole
DesiredCount: !Ref DesiredCount
TaskDefinition: !Ref TaskDefinition
LoadBalancers:
@ryotako
ryotako / man_argparse.md
Last active May 26, 2023 01:32
argparseの日本語訳(若干の意訳を含む)

argparse(1)

名称

argparse - argparse - fishのスクリプトや関数に渡されるオプションの解析

記述

このコマンドはfishのスクリプトや関数が,fishのビルトイン関数が引数を扱うのと100%同じ方法で引数を取り扱うのを簡単にします. ユーザは有効なオプションを定義する引数の組を渡し,リテラル--を続け,その後に解析される引数(リテラル--を含んでもよい)を渡します. これに関する詳細は以下の「使い方」の節で述べます.

@shortjared
shortjared / list.txt
Last active June 26, 2025 12:00
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com

最新のステータス: 追記: 2019/7/10

転職しました。長らくのご愛顧誠にありがとうございました。


転職先をちょくちょく探しています。

興味ある方は twitter @mizchi へのリプライorDM、または [email protected] まで。

@wreulicke
wreulicke / README.md
Last active April 8, 2025 15:48
Optimal Loggingの和訳

Optimal Logging

あなたのシステムで、失敗の根本的な原因を探すのにどのくらい時間がかかりますか?5分?5日? もし、5分近くで答えられたなら、あなたのプロダクションシステムやテストは素晴らしいロギングを持っていることでしょう。 多くの場合、ロギングや例外ハンドリングや(あえて言いますが)テストなどの一見、本質的ではない機能は実装の後に行われます。 例外ハンドリングやテストと同様に、あなたのシステムやテストの両方にロギングの戦略が本当に必要です。 ロギングの力を過小評価しないでください。最適なロギングは、デバッガの必要性を排除することさえできます。

@carceneaux
carceneaux / cf-veeam-parameter-retrieval.yaml
Created March 21, 2019 15:07
CloudFormation Template - API Gateway acting as Lambda Proxy with Custom Authorizer and CORS enabled.
---
AWSTemplateFormatVersion: '2010-09-09'
Description: AWS CloudFormation deployment for Veeam Parameter Retrieval solution.
Resources:
# API Gateway Configuration
ApiGateway:
Type: AWS::ApiGateway::RestApi
Properties:
Name: !Sub ${AWS::StackName}-API
@vanbrands
vanbrands / FargateCF.md
Last active May 14, 2019 01:59
[AWS Ticket Cloudformation & ECS] #aws #ebanx

Cannot trigger a Fargate Task with a CloudWatch event using CloudFormation.

NetworkConfiguration and LaunchType are not supported.

Cloudformation Template:

ScheduleExample:
  Type: AWS::Events::Rule
  Properties:
 Description: Run every 1 hour.
@prateekkathal
prateekkathal / data.ts
Created August 14, 2019 14:50
Seeding Databases Using NestJS
export const languages: ILanguage[] = [
{ name: 'English' },
{ name: 'French' },
{ name: 'Spanish' },
{ name: 'Russian' },
// ... and others ...
];