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 Tweepy, sleep, credentials.py | |
import tweepy | |
from time import sleep | |
from credentials import * | |
# Access and authorize our Twitter credentials from credentials.py | |
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) | |
auth.set_access_token(access_token, access_token_secret) | |
api = tweepy.API(auth) |
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
consumer_key = 'your_consumer_key' | |
consumer_secret = 'your_consumer_secret' | |
access_token = 'your_access_token' | |
access_token_secret = 'your_access_token_secret' |
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
/*-----( WELCOME )-----*/ | |
// This tutorial is based on Arduino UNO R3 | |
// and DHT11 Sensor + LCD 16x2 with I2C Board | |
// Enjoy and visti my blog piotrgisworks.blogspot.com | |
/*-----( Import needed libraries )-----*/ | |
#include <Wire.h> // Comes with Arduino IDE | |
#include <dht.h> // Download from https://github.com/adafruit/DHT-sensor-library | |
// Get the LCD I2C Library here: | |
// https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads | |
// Move any other LCD libraries to another folder or delete them |
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
int led = 13; // the pin that the LED is atteched to | |
int sensor = 2; // the pin that the sensor is atteched to | |
int state = LOW; // by default, no motion detected | |
int val = 0; // variable to store the sensor status (value) | |
void setup() { | |
pinMode(led, OUTPUT); // initalize LED as an output | |
pinMode(sensor, INPUT); // initialize sensor as an input | |
Serial.begin(9600); // initialize serial |
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> | |
<style> | |
#map-canvas { width:100%; height:800px; } | |
.layer-wizard-search-label { font-family: sans-serif }; | |
</style> | |
<script type="text/javascript" | |
src="http://maps.google.com/maps/api/js?sensor=false"> | |
</script> |
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 lang='en'> | |
<head> | |
<title>SOWC 2016 - State of the World Children's Report 2016 |Data Visualization| Piotr Krosniak </title> | |
<meta charset='utf-8' /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<meta content='Each year, UNICEF’s flagship publication, The State of the Worlds Children, closely examines a key issue affecting children. This site present data visualization for 2016 Report edition ' name='description' /> | |
<meta content='UNCIEF Data |Piotr Krosniak Visualization' name='author' /> | |
<!-- Styles --> |
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
<!-- | |
Author: W3layouts | |
Author URL: http://w3layouts.com | |
License: Creative Commons Attribution 3.0 Unported | |
License URL: http://creativecommons.org/licenses/by/3.0/ | |
--> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>MABUR Bootstarp Website Template | Home :: w3layouts</title> |
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
(function(){if(window.PU&&window.PU.extend){return}var emptyFn=function(){},getElementsByClassName;if(document.getElementsByClassName){getElementsByClassName=function(classname,parent){return(parent||document).getElementsByClassName(classname)}}else{getElementsByClassName=function(theClass,parent){parent=parent||document;var els=(typeof parent.all!="undefined")?parent.all:parent.getElementsByTagName("*");var matchedArray=[],pattern=new RegExp("(^| )"+theClass+"( |$)");PU.forEach(els,function(el){if(pattern.test(el.className)){matchedArray.push(el)}});return matchedArray}}var PU=window.PU={extend:function(b,a){for(var p in a||{}){b[p]=a[p]}return b},forEach:function(items,fn){for(var i=items.length-1;i>=0;i--){fn(items[i])}},forEachElement:function(els,fn){if(!els){return}els=els.nodeName?[els]:els;PU.forEach(els,function(el){if(el){fn(el)}})},toArray:function(items){var results=[];PU.forEach(items,function(item){results.push(item)});return results},getParameterByName:function(name){name=name.replace(/[\[]/,"\ |
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
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
//Those two scripts below You should host on your server | |
<script src="http://serwer1478551.home.pl/hellobags/bef-after-script/jquery.imageReveal.js"></script> | |
<script src="http://serwer1478551.home.pl/hellobags/bef-after-script/jquery.imageReveal.css"></script> | |
</head> | |
<div class="imageReveal" id="example1"> | |
<img src="http://4.bp.blogspot.com/-6uFyFTCRW04/UqoZKBe_YDI/AAAAAAAAGUI/VUIWx3dV7gQ/s1600/before1.jpg" title="Before" /> | |
<img src="http://3.bp.blogspot.com/-MjqFNi4yihY/UqoZKLubRwI/AAAAAAAAGUM/YnprXgivATQ/s1600/after2.jpg" title="After" /> | |
</div> |
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> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
width: 960px; | |
height: 500px; | |
position: relative; | |
} |