This file contains hidden or 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 h4k1mou | |
" Add pathogen to vim | |
execute pathogen#infect() | |
" Enable file type specific plugins | |
filetype plugin on | |
" Set color scheme | |
set t_Co=256 |
This file contains hidden or 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> | |
<title>Imgur Memes</title> | |
<link href="{{ url_for('static', filename='style.css') }}" rel="stylesheet" /> | |
<script type="text/javascript" src="{{ url_for('static', filename='masonry.pkgd.min.js') }}"></script> | |
<script type="text/javascript"> | |
var memes = document.querySelector('.memes') | |
var masonry = new Masonry(memes, { | |
columnWidth: 200, | |
itemSelector: '.meme' | |
}); |
This file contains hidden or 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
# | |
# /etc/apache2/httpd.conf | |
# | |
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs-2.2/> for detailed information about | |
# the directives. | |
# Based upon the default apache configuration file that ships with apache, | |
# which is based upon the NCSA server configuration files originally by Rob |
This file contains hidden or 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
`deploy.wsgi file` | |
#!/usr/bin/python | |
from color import app | |
import sys | |
# add app path to python's path | |
sys.path.insert(0, "/home/hakim/public_html/flaskColourlovers") | |
# initialize wsgi app | |
application = app |
This file contains hidden or 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
# | |
# VirtualHost template | |
# Note: to use the template, rename it to /etc/apache2/vhost.d/yourvhost.conf. | |
# Files must have the .conf suffix to be loaded. | |
# | |
# See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints | |
# about virtual hosts. | |
# | |
# NameVirtualHost statements can be added to /etc/apache2/listen.conf. | |
# |
This file contains hidden or 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
# | |
# VirtualHost template | |
# Note: to use the template, rename it to /etc/apache2/vhost.d/yourvhost.conf. | |
# Files must have the .conf suffix to be loaded. | |
# | |
# See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints | |
# about virtual hosts. | |
# | |
# NameVirtualHost statements can be added to /etc/apache2/listen.conf. | |
# |
This file contains hidden or 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 s2 = ee.ImageCollection('COPERNICUS/S2'); |
This file contains hidden or 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 collection = s2.filterDate('2017-12-20', '2018-01-07').filterBounds(ee.Geometry.Point([3, 37])); |
This file contains hidden or 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 image = ee.Image(collection.sort('CLOUDY_PIXEL_PERCENTAGE').first()); |
This file contains hidden or 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
Map.addLayer(image, {bands: ['B4', 'B3', 'B2'], min: 0, max: 1500}); |
OlderNewer