Skip to content

Instantly share code, notes, and snippets.

View siddht4's full-sized avatar
💭
I may be slow to respond.

siddht4

💭
I may be slow to respond.
View GitHub Profile
import subprocess
_msg= 'hello'
_pipe_line = subprocess.Popen(["/bin/bash", "-c", _msg], stdout=subprocess.PIPE)
import os,sys
_msg='hello '
os.system('notify-send '+_msg)
import os
_content =dir(os)
for item in _content:
print(item)
@siddht4
siddht4 / index.html
Created April 20, 2017 10:21 — forked from crofty/index.html
A example of using Google Map tiles with the Leaflet mapping library - http://matchingnotes.com/using-google-map-tiles-with-leaflet
<!DOCTYPE html>
<html>
<head>
<title>Leaflet</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.3.1/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.3.1/leaflet.js"></script>
<script src="http://maps.google.com/maps/api/js?v=3.2&sensor=false"></script>
<script src="http://matchingnotes.com/javascripts/leaflet-google.js"></script>
</head>
<body>
@siddht4
siddht4 / main.js
Created March 23, 2017 12:26 — forked from aeris/main.js
DI.fm & Sky.fm
function Station(name, url, description, image) {
this.name = name;
this.url = url;
this.description = description;
this.image = image;
}
var channels = {
'di': {
'name': 'DI.fm',