This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="get" id="search" action="http://duckduckgo.com/"> | |
<input type="hidden" name="sites"value="hardikpandya.com"/> | |
<input type="hidden" name="ka" value="h"/> | |
<input type="hidden" name="k7" value="#fafafa"/> | |
<input type="hidden" name="kj" value="#3f3f3f"/> | |
<input type="hidden" name="ky" value="#fafafa"/> | |
<input type="hidden" name="kx" value="b"/> | |
<input type="hidden" name="kt" value="Helvetica"/> | |
<input type="text" name="q" maxlength="255" placeholder="Search"/> | |
<input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.search | |
{ | |
padding-bottom: 0px; | |
} | |
.search li | |
{ | |
list-style: none; | |
margin: 0 0 0em 0; | |
padding-left: 1em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime #date and time fetching | |
import urllib | |
import webbrowser #for opening links in the in-app browser | |
now= datetime.datetime.now() | |
print datetime.time(now.hour, now.minute) | |
# creating shorthands for larger variable names | |
nh = now.hour | |
nm = now.minute | |
nd = now.day | |
nmonth = now.month |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +hardik is my openname (Bitcoin username). https://onename.io/hardik |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>Interactive Download Button in jQuery</title> | |
<style id="jsbin-css"> | |
.download-button { | |
font-size: 85%; | |
background-color: #4786f1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<meta charset="utf-8"> | |
<title>Interactive Download Button in jQuery</title> | |
<style id="jsbin-css"> | |
.download-button { | |
font-size: 85%; | |
background-color: #4786f1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var uglify = require('gulp-uglify'); | |
var minifyCSS = require('gulp-minify-css'); | |
var imagemin = require('gulp-imagemin'); | |
var pngquant = require('imagemin-pngquant'); | |
var notify = require('gulp-notify'); | |
gulp.task('css-js', function() { |