Skip to content

Instantly share code, notes, and snippets.

@mvark
mvark / IframedTweets.html
Last active January 14, 2021 17:49
Responsive Iframed Tweets Carousel
<html>
<head>
<title>
Iframed Tweets
</title>
<style>
.container {
position: relative;
overflow: hidden;
width: 100%;
@mvark
mvark / IFTTT_Webhook.html
Created May 10, 2020 10:49
IFTTT_Webhook demo
<html>
<head>
<title>Add</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<script src=https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js></script>
</head>
<body>
Input item details:
<input type="text" id="movie" placeholder="Movie:" size="50"><br><br>
<input type="text" id="description" placeholder="Description:" size="50"><br><br>
@mvark
mvark / ReadingViewBookmarklet.js
Created March 3, 2020 18:19
Readable version of Reading View Bookmarklet for Microsoft Edge
javascript:(function() {
a = document.getElementsByTagName('a');
for (i = 0; i < a.length; i++) {
a[i].href = 'read:' + a[i].href;
a[i].target='_blank';
a[i].style.backgroundColor = '#f0f0f0';
}
}())
@mvark
mvark / gist:10298300eabc2965e039a4a02b69faab
Created March 3, 2020 18:13
Reading View Bookmarklet for Microsoft Edge
javascript:(function(){a=document.getElementsByTagName('a');for(i=0;i<a.length;i++){a[i].href='read:'+a[i].href;a[i].target='_blank';a[i].style.backgroundColor='#f0f0f0';}}());
<!DOCTYPE html>
<html>
<head>
<title>OCR Sample</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>
<script type="text/javascript">
function processImage() {
javascript:(function()%7Bdocument.getElementById("captchaTexttab1").value%3Ddocument.getElementById("captchaDivtab1").innerHTML.split(" ").join("")%7D)()
@mvark
mvark / BingSearchv5More.html
Last active June 9, 2016 09:20
Fetching results using version 5 of Bing Search API
<!DOCTYPE html>
<html>
<head>
<title>Bing Search v5 - show all results</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>
<script>
// more info: http://mvark.blogspot.com/2016/06/how-to-use-bing-search-v5-api-with.html
@mvark
mvark / BingSearchv5Simple.html
Last active June 9, 2016 09:22
A simple jQuery based sample to show Bing Search v5 API in action
<!DOCTYPE html>
<html>
<head>
<title>Bing Search v5 - Simple, show fewer results</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>
<script type="text/javascript">
// more info: http://mvark.blogspot.com/2016/06/how-to-use-bing-search-v5-api-with.html
@mvark
mvark / desc.html
Last active March 12, 2016 17:50
The page ZXing Barcode Scanner will send the scanned barcode text
<!-- Read related post: http://mvark.blogspot.in/2016/03/how-to-scan-barcode-with-android.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Desc</title>
</head>
<body>
<script>document.write(location.href);</script>
</body>
@mvark
mvark / zxing.html
Last active March 12, 2016 17:54
HOW TO scan a barcode with Android smartphone camera from a web page (works within an Android browser & smartphone having ZXing Barcode Scanner installed)
<!-- Read related post: http://mvark.blogspot.in/2016/03/how-to-scan-barcode-with-android.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<a href="zxing://scan/?ret=http://example.azurewebsites.net/desc.html?code={CODE}">Scan</a>
</body>