Skip to content

Instantly share code, notes, and snippets.

Presented By D3C0D3

vamsee. vamsee9

Presented By D3C0D3
View GitHub Profile
View Input reading and output

Input reading and output formatting #2

Problem Submissions Leaderboard Discussions This problem is designed for you to improvise on how to read input and format the output.

Input Format

echo "This is automated script for run python flask creation"
echo ""
py -m venv env
echo ""
echo "Wait for 5 seconds"
echo ""
sleep 5
cd env/Scripts
# Step 1:
git clone --bare <REPOSITORY URL with ".git" extention>
cd <repository folder>
# Step 2:
# ~ Required GitHub Email and Username
git filter-branch -f --env-filter "
View Mic.js
navigator.mediaDevices.getUserMedia({ audio: true })
.then(function(stream) {
console.log('You let me use your mic!')
.catch(function(err) {
console.log('No mic for you!')
View Project Euler #81: Path sum: two
import sys
n = int(input())
ar = []
ar2 = []
for a in range(n):
ar.append([int(x) for x in input().split()])
ar2.append([0 for x in range(5)])
View kgtopoundsApp.js
import React, { Component } from "react";
import "./App.css";
import TextField from "@material-ui/core/TextField";
import Button from "@material-ui/core/Button";
const initialState = {
pounds: "",
kilograms: "",
vamsee9 /
Last active Sep 1, 2020
Custom Settings for 📷 and 📁
protected void onCreate(Bundle savedInstanceState) {
if (checkAndRequestPermissions()) {
Log.d(TAG, "onCreate: Permission checking ---------");
View dependencies
dependencies {
// ...
implementation '<version>'
// ...
View dependencies
dependencies {
// ...
implementation '<version>'
// ...
public class MainActivity extends AppCompatActivity implements View.OnClickListener {
//in this you have to declare the functions
private static final String TAG = "MainActivity" ;
FloatingActionButton FabMainAdd, FabCamera, FabImportImage;
Float translationY = 100f;
OvershootInterpolator interpolator = new OvershootInterpolator();
Boolean isMenuOpen = false;