Skip to content

Instantly share code, notes, and snippets.

View mritunjaysharma394's full-sized avatar

Mritunjay Kumar Sharma mritunjaysharma394

View GitHub Profile
@mritunjaysharma394
mritunjaysharma394 / stateful-set-cassandra.yaml
Created August 4, 2023 19:11
stateful-set-cassandra.yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: cassandra
namespace: cassandra
labels:
app: cassandra
spec:
serviceName: cassandra
replicas: 3
@mritunjaysharma394
mritunjaysharma394 / README.md
Created September 10, 2020 14:11
Working Example of autoyapf action.

Working example

This configuration will work something like this. As an example here, my friend Naman is contributing to the Project with a Pull Request of a code that is not formatted or styled. On merging this PR, autoyapf action will be triggered which will automatically style the code according to PEP-8 Guidelines.:

1. Pull Request Initiated by Naman which I later merged

Pull Request Initiated by Naman

2. GitHub Action worked successfully

import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Adobe xD to Flutter Demo',
debugShowCheckedModeBanner: false,