Skip to content

Instantly share code, notes, and snippets.

View znck's full-sized avatar
🎯
Focusing

Rahul Kadyan znck

🎯
Focusing
View GitHub Profile
@znck
znck / meta-tags.md
Last active August 26, 2015 12:32 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@znck
znck / EEG Database:SSL connection failure
Created March 19, 2014 08:44
logcat output on logging in to test server - https://uu404p22-kiv.kiv.fav.zcu.cz
03-19 14:11:50.468 20853-21456/cz.zcu.kiv.eeg.mobile.base D/TestCredentials﹕ https://uu404p22-kiv.fav.zcu.cz:8080/rest/user/login
03-19 14:11:53.668 20853-21456/cz.zcu.kiv.eeg.mobile.base E/TestCredentials﹕ I/O error: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x1c27da0: Failure in SSL library, usually a protocol error
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (external/openssl/ssl/s23_clnt.c:766 0x522a3d5c:0x00000000); nested exception is javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x1c27da0: Failure in SSL library, usually a protocol error
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol (external/openssl/ssl/s23_clnt.c:766 0x522a3d5c:0x00000000)
org.springframework.web.client.ResourceAccessException: I/O error: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x1c27da0: Failure in SSL library, usually a protocol error
error:140770FC:SSL routines:SSL23_GET_
@znck
znck / a.rb
Last active August 29, 2015 14:02
Merge made by the 'recursive' strategy.
assets/PersonOdml.xml | 263 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
project.properties | 2 +-
res/layout/form_row.xml | 12 +++---
res/menu/form_detail_menu.xml | 11 ++++++
res/menu/form_edit_menu.xml | 11 +-----
res/menu/form_list_menu.xml | 7 ++++
res/menu/form_local_edit_menu.xml | 18 ++++++---
res/values/colors.xml | 1 +
res/values/strings.xml | 1 +
Matrix: 2, 2
Total iterations: 2
cost: 1100
Time taken: 0 seconds
Matrix: 4, 4
Total iterations: 18
cost: 520
Time taken: 0 seconds
Matrix: 4, 4
Total iterations: 4
@znck
znck / experiment-generated.xml
Created August 14, 2014 18:21
Reviewing OdML format
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="odml.xsl"?>
<?xml-stylesheet type="text/xsl" href="odmlTerms.xsl"?>
<odML version="1">
<date>2014-08-14</date>
<section>
<type>form</type>
<name>Experiment</name>
<reference>Experiment</reference>
<property>
@znck
znck / Makefile
Last active August 29, 2015 14:05
Genric Makefile
#!/bin/bash
#
# Folder structure
# project/ - Project folder
# project/src - All .cpp files (sub folders also included)
# project/inc - All .h files
#
# make clean - to delete all output files
# make build - to build only
# make all - to compile and link
{{--a--}}
<a>Link without href</a>
<a class="button">Link without href: Button</a>
<a href="#">Link without href</a>
<a class="button" href="#">Link without href: Button</a>
{{--abbr--}}
<abbr title="Abbreviation">abbr</abbr>
{{--address--}}
@znck
znck / setproxy.py
Created February 15, 2015 15:27
Ubuntu Proxy Settings
#! /bin/sh
""":"
exec python $0 ${1+"$@"}
"""
import sys
import re
import fileinput
if len(sys.argv) != 5 and len(sys.argv) != 3:
print "Wrong command, sample commands: \n python setproxy.py 202.141.80.19 3128 username password \n OR \n python setproxy.py 202.141.80.19 3128"
@znck
znck / -
Created September 1, 2015 17:04
{
"_id": "55c191fc9f9553312368df1e",
"location": [
13.0063555,
80.25238880000006
],
"name": "Prems Graama Bhojanam",
"phone": "9840062772",
"image": "http://s3-ap-southeast-1.amazonaws.com/clozerr/app/coupons-alpha/",
"fid": "5161203245370561",
@znck
znck / -
Created September 1, 2015 17:05
{
"_id": "55c191fc9f9553312368df1e",
"location": [
13.0063555,
80.25238880000006
],
"name": "Prems Graama Bhojanam",
"phone": "9840062772",
"image": "http://s3-ap-southeast-1.amazonaws.com/clozerr/app/coupons-alpha/",
"fid": "5161203245370561",