Skip to content

Instantly share code, notes, and snippets.

View rlingineni's full-sized avatar
💭
building cool stuff

Raviteja Lingineni rlingineni

💭
building cool stuff
View GitHub Profile
@rlingineni
rlingineni / SketchSystems.spec
Last active July 8, 2019 20:48
Triage States
Triage States
Active
Assign to New Owner -> Waiting Acknowledgement
Investigating
Sets of Actions -> Pending Sign-Off
Assign to New Owner -> Waiting Acknowledgement
Pending Sign-Off
Finish Actions ->Resolved
Waiting Acknowledgement
@rlingineni
rlingineni / frame.xaml
Created July 4, 2019 19:24
Bottom Sheet Step-1
<Frame x:Name="bottomSheet" HasShadow="true" CornerRadius="8" Padding="1,4,1,0" BackgroundColor="#faf9f8"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent,Property=Height,Factor=.9,Constant=0}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,Property=Width,Factor=1,Constant=0}"
RelativeLayout.HeightConstraint="{ConstraintExpression
Type=RelativeToParent,Property=Height,Factor=1,Constant=0}">
</Frame>
@rlingineni
rlingineni / SketchSystems.spec
Last active June 17, 2019 17:57
Triage States
Triage States
Active
Assign to New Owner -> Waiting Acknowledgement
Investigating
Sets of Actions -> Pending Sign-Off
Assign to New Owner -> Waiting Acknowledgement
Pending Sign-Off
Finish Actions ->Resolved
Waiting Acknowledgement
Accept -> Investigating
@rlingineni
rlingineni / SketchSystems.spec
Last active June 14, 2019 19:34
Build Break Actions
Build Break Actions
Build Break
Rerun Build -> View Logs
Ping Possbile PR Owners -> Owner Notified
View Logs
Read Logs -> View Logs
Log Actions -> Resolve
@rlingineni
rlingineni / SketchSystems.spec
Created June 14, 2019 01:22
Build Break Actions
Build Break Actions
Build Break
Rerun Build -> View Logs
Ping Possbile PR Owners -> Owner Notified
View Logs
Read Logs -> View Logs
Log Actions -> Resolve
@rlingineni
rlingineni / SketchSystems.spec
Created March 31, 2019 22:17
Pilot Talk States
Pilot Talk States
Park
Request Take Off -> Runway
Runway
Clear Take Off -> Traffic Pattern
Request Parking -> Park
Traffic Pattern
Request Landing -> Runway
Stay In Pattern -> Traffic Pattern
Away
@rlingineni
rlingineni / SketchSystems.spec
Last active March 31, 2019 22:17
Pilot Voice Interaction
Pilot Voice Interaction
Request
Pilot Requests -> ATC Confirmation
ATC Confirmation
Pilot Repeats Instruction -> Complete
Complete
@rlingineni
rlingineni / SketchSystems.spec
Last active March 6, 2019 18:58
Change Owners Dialog
Change Owners Dialog
Select Only Files -> Approve Ownership
Select only directories-> Render Preview
Select mixture of directory of file -> Render Preview
# Respect the Undo, if the user
Render Preview
Checked Subfolders Option -> Show all files
Unchecked Subfolders Option -> Show only relevant files and folders
@rlingineni
rlingineni / index.js
Created November 4, 2018 06:58
AWS Lambda Proxy Response Builder
// Helper function for AWS Lambda API responses, can pass in JSON or string and status code and message to respond with
function BuildResponse(statusCode, responseBody, shouldStringify = false) {
let body = "invalid response";
if (shouldStringify) {
body = JSON.stringify(responseBody);
} else {
body = JSON.stringify({ msg: responseBody });
}
@rlingineni
rlingineni / pathconverter.js
Created October 29, 2018 00:43
Sourcepath to Nested Object Map
//pass in a csv file
//record looks like this: { item: 'another/test/blank.cpp', org: 'tester', churn: '1' }
//convert the source path to a tree like this:
/*
{
"another": {
"test":{
"blank.cpp":{}
}