Skip to content

Instantly share code, notes, and snippets.

Hakuna Matata

Bhaavan Merchant bhaavanmerchant

Hakuna Matata
Block or report user

Report or block bhaavanmerchant

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
bhaavanmerchant / .c
Created Sep 25, 2018
autogenerated git patch
View .c
diff --git a/include/uapi/linux/netfilter/xt_CONNMARK.h b/include/uapi/linux/netfilter/xt_CONNMARK.h
index 36cc956ead1a..1aa5c955ee1e 100644
--- a/include/uapi/linux/netfilter/xt_CONNMARK.h
+++ b/include/uapi/linux/netfilter/xt_CONNMARK.h
@@ -1,7 +1,42 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-#ifndef _XT_CONNMARK_H_target
-#define _XT_CONNMARK_H_target
+/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
+#ifndef _XT_CONNMARK_H
View xkcd facebook
from bs4 import BeautifulSoup
import urllib2
soup = BeautifulSoup(html_doc, '')
img = urllib2.urlopen(soup.find_all(id='comic')[1].get_src()).read()
# do facebook stuff here
bhaavanmerchant / RAM profile of Bullhead and Mako
Created Dec 21, 2016
Two devices with near identical RAM but a fairly different profile and signature of RAM Usage.
View RAM profile of Bullhead and Mako
bullhead:/ $ cat /proc/meminfo
MemTotal: 1857660 kB
MemFree: 40880 kB
Buffers: 7976 kB
Cached: 445308 kB
SwapCached: 4156 kB
Active: 681412 kB
Inactive: 360836 kB
Active(anon): 508108 kB
Inactive(anon): 176064 kB
View templates.json
"sender": "IDBI Bank",
"senderCategory": "bank",
"entry": "Debit",
"contentCategory": "OTP",
"template": "OTP {%buffer%} generated at {%buffer%} valid for single txn with expiry of {%buffer%}. Do not disclose OTP to anyone/Bank official. Call Cust Care if not requested by you."
"sender": "ICICI Bank",
You can’t perform that action at this time.