Skip to content

Instantly share code, notes, and snippets.

View arup-b's full-sized avatar
🥰
Awesome GitHub

Arup Bhattacharya arup-b

🥰
Awesome GitHub
View GitHub Profile
@arup-b
arup-b / Nework_throttling_profiles.md
Created December 7, 2023 13:42 — forked from theodorosploumis/Nework_throttling_profiles.md
Web development - Custom network throttling profiles
Profile download (kb/s) upload (kb/s) latency (ms)
Native 0 0 0
GPRS 50 20 500
56K Dial-up 50 30 120
Mobile EDGE 240 200 840
2G Regular 250 50 300
2G Good 450 150 150
3G Slow 780 330 200
var list = [{"endAt":1546327200621,"endTime":770,"location":{"latitude":22.563032,"longitude":88.3148152},"minutes":1,"punchType":2,"reverseGeocode":"392, Sarat Chatterjee Road, Bataitala, Kazipada, Shalimar, Howrah, West Bengal 711103, India","startAt":1546327117421,"startTime":768,"teamRef":"-LQJBi69vfFfvU9Dmz-x","timeStamp":1546327200621,"day":"1 January 2019"},
{"endAt":1546327400397,"endTime":773,"location":{"latitude":22.563032,"longitude":88.3148152},"minutes":3,"punchType":1,"reverseGeocode":"392, Sarat Chatterjee Road, Bataitala, Kazipada, Shalimar, Howrah, West Bengal 711103, India","startAt":1546327200632,"startTime":770,"teamRef":"-LQJBi69vfFfvU9Dmz-x","timeStamp":1546327400397,"day":"1 January 2019"},
{"endAt":1546442735609,"endTime":1255,"location":{"latitude":22.5630316,"longitude":88.3148142},"minutes":6,"punchType":1,"reverseGeocode":"392, Sarat Chatterjee Road, Bataitala, Kazipada, Shalimar, Howrah, West Bengal 711103, India","startAt":1546442344340,"startTime":1249,"team
@arup-b
arup-b / sample.json
Created January 1, 2019 13:30
Sample JSON for SO Question post
{
"-LQJBi69vfFfvU9Dmz-x": {
"-LV7JI-LKLfgp4-4xENJ": {
"endAt": 1546327767380,
"location": {
"latitude": 22.563032,
"longitude": 88.3148152
},
"minutes": 1,
"punchType": 1,
@arup-b
arup-b / variable.scss
Created November 10, 2017 06:11
Common CSS styling for Ionic 2 theme
// Ionic Variables and Theming. For more info, please see:
// http://ionicframework.com/docs/theming/
// Font path is used to include ionicons,
// roboto, and noto sans fonts
$font-path: "../assets/fonts";
// The app direction is used to include
// rtl styles in your app. For more info, please see:
@arup-b
arup-b / center-align.scss
Last active December 26, 2019 04:52
Centering elements (other than texts) inside a <ion-col></ion-col> is painful. Apply the following CSS in your respective component level scss or global theme to align items centrally.
.center{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
@arup-b
arup-b / duplicateFinder.js
Last active September 16, 2016 07:06
Function to check if an Array has duplicate elements
var ar = ['https://scontent.cdninstagram.com/t50.2886-16/13351747_1548398895467100_1473273865_n.mp4',
'https://scontent.cdninstagram.com/t50.2886-16/13427635_553906271448787_1921670084_s.mp4',
'http://planetairsport.digitalsign.social/files/ae5fbf6e17d3f99a65742fff88abe1fd.jpg',
'http://planetairsport.digitalsign.social/files/2242d160aec87a46a7c9a12395b02c80.jpg',
'http://planetairsport.digitalsign.social/files/09e72e18197a3c19eb48e364e1486b50.jpg',
'https://scontent.cdninstagram.com/t50.2886-16/13647809_902603383185427_359341575_n.mp4',
'http://planetairsport.digitalsign.social/files/bfde5b157d067023e5216ea2316c4cb7.jpg',
'https://scontent.cdninstagram.com/t50.2886-16/13728792_1738082423127752_382512439_n.mp4',
'http://planetairsport.digitalsign.social/files/d6ed32c3784bd6883db17c6282203727.jpg',
'http://planetairsport.digitalsign.social/files/c82e093fcab76c4105d74221ed1fa78e.jpg',
@arup-b
arup-b / Ionic : Slidebox with Dynamic Slides.markdown
Created September 10, 2015 10:09
Ionic : Slidebox with Dynamic Slides
@arup-b
arup-b / index.html
Created September 6, 2015 14:50
qOEebb
<html ng-app="ionicApp">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>Side Menus</title>
<link href="http://code.ionicframework.com/1.0.0-beta.9/css/ionic.css" rel="stylesheet">
<script src="http://code.ionicframework.com/1.0.0-beta.9/js/ionic.bundle.js"></script>
</head>
@arup-b
arup-b / Zigzag Horizontal Rule.markdown
Created August 29, 2015 05:47
Zigzag Horizontal Rule
@arup-b
arup-b / Customizing An Ionicon.markdown
Created August 24, 2015 17:14
Customizing An Ionicon