Skip to content

Instantly share code, notes, and snippets.

Shivam Rastogi shivamsupr

Block or report user

Report or block shivamsupr

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 appium.log
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},null,{"alwaysMatch":{"deviceName":"iPhone X","platformName":"iOS","platformVersion":"12.1","orientation":"PORTRAIT","browserName":"safari","newCommandTimeout":240},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1561265459876 (10:20:59 GMT+0530 (India Standard Time))
[BaseDriver] The capabilitie
View jinja-macro-react-equivalent.js
/**
----------------------------------------------------------------------
Jinja Macro with simple Call
----------------------------------------------------------------------
{% macro render_dialog(title, class='dialog') -%}
<div class="{{ class }}">
<h2>{{ title }}</h2>
<div class="contents">
{{ caller() }}
</div>
@shivamsupr
shivamsupr / horizontal-scroll.scss
Last active May 25, 2017
Make div or list scroll horizontally with overflow hidden
View horizontal-scroll.scss
/*
Demo:
Codepen: https://codepen.io/shivamupr/full/GmeMOR/
(Check it in mobile view mode)
List Scroll: https://vimeo.com/218911885
Div Scroll: https://vimeo.com/218911851
*/
.scrl {
You can’t perform that action at this time.