I hereby claim:
- I am abhinavlal on github.
- I am abhinavlal (https://keybase.io/abhinavlal) on keybase.
- I have a public key whose fingerprint is 51BC E4B1 7C19 DF32 33A8 6738 9908 9C59 EB37 CA92
To claim this, I am signing this object:
| WebOb==1.2.3 | |
| argparse==1.2.1 | |
| requests==0.7.5 | |
| wsgiref==0.1.2 |
| var a = 2; | |
| function() { | |
| alert(a); | |
| var a = 3; | |
| alert(a); | |
| } | |
| // output for first alert | |
| // output for second alert |
| import sqlite3 | |
| import urllib, re | |
| from flask import Flask, request, jsonify | |
| from dbapi import g, closing, create_contact, get_user_by_email, get_contacts_by_created_by_id, \ | |
| get_contact_by_id, update_contacts, delete_entity_contact, get_contacts_by_phone, search_contacts | |
| # configuration | |
| DATABASE = '/home/ubuntu/ui-project/ui-project.db' | |
| DEBUG = True |
| sudo install -o root -g root -m 0600 /dev/null /swapfile | |
| dd if=/dev/zero of=/swapfile bs=1k count=2048k | |
| mkswap /swapfile | |
| swapon /swapfile | |
| echo "/swapfile swap swap auto 0 0" | sudo tee -a /etc/fstab | |
| sudo sysctl -w vm.swappiness=10 | |
| echo vm.swappiness = 10 | sudo tee -a /etc/sysctl.conf |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "Service": [ | |
| "elasticmapreduce.amazonaws.com", | |
| "datapipeline.amazonaws.com" |
I hereby claim:
To claim this, I am signing this object:
| # coding: utf-8 | |
| import requests | |
| import csv | |
| jar = requests.cookies.RequestsCookieJar() | |
| paytm_cookie = 'add-your-cookie' | |
| jar.set('connect.sid', paytm-cookie, domain='paytm.com', path='/', secure=True) | |
| url = 'https://paytm.com/v1/api/wallet/txnhistory?page_size=100&page_number=' | |
| fieldnames = ['imageUrl', 'narration', "payeeId", "payerId", "txnDescription1", "txnStatus", "txnFrom", "txnTo", "txnamount", "txndate", "txntype", "walletOrderId"] | |
| with open('paytm-test.csv', 'w') as csvfile: |
| <html> | |
| <head> | |
| <title>CleverTap</title> | |
| <script type="text/javascript"> | |
| var clevertap = {event:[], profile:[], account:[], onUserLogin:[], notifications:[], privacy:[]}; | |
| // replace with the CLEVERTAP_ACCOUNT_ID with the actual ACCOUNT ID value from your Dashboard -> Settings page | |
| clevertap.account.push({"id": "TEST-86K-4Z9-K85Z"}); | |
| clevertap.privacy.push({optOut: false}); //set the flag to true, if the user of the device opts out of sharing their data | |
| clevertap.privacy.push({useIP: false}); //set the flag to true, if the user agrees to share their IP data | |
| (function () { |
| { | |
| "$id": "http://example.com/example.json", | |
| "$schema": "http://json-schema.org/draft-07/schema", | |
| "default": {}, | |
| "description": "Defines the component for showing a mini card for doctor pprofile", | |
| "examples": [ | |
| { | |
| "id": "myComponent", | |
| "version": "v1", | |
| "content": { |
| [ | |
| { | |
| "id": "infoComponent", | |
| "version": "v1", | |
| "content": { | |
| "title": "This is a title", | |
| "subtitle": "This is a subtitle" | |
| }, | |
| "events": { | |
| "onView": { |