// Leaflet JS - note the *className* attribute
// [...]
L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
className: 'map-tiles'
}).addTo(map);
// [...]
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> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>SVG Masking Test</title> | |
<style> | |
body { | |
background-color: #F0F; |
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 : Baldwin D. | |
# Description : Empty Recycle Bin with Retention (Logoff Script) | |
# Source : http://baldwin-ps.blogspot.be/2013/07/empty-recycle-bin-with-retention-time.html | |
# | |
# ----------------------------------------------------------------------- | |
$Global:Collection = @() |
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
<?php | |
/** | |
* Copyright (c) 2005 Richard Heyes (http://www.phpguru.org/) | |
* | |
* All rights reserved. | |
* | |
* This script is free software. | |
*/ | |
/** |
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
Show hidden characters
// Settings in here override those in "Default/Preferences.sublime-settings", | |
// and are overridden in turn by file type specific settings. | |
{ | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_with_fields": true, | |
"caret_style": "phase", | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme", | |
"font_face": "Courier New", | |
"font_size": 10, |
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
SELECT AUTO_INCREMENT | |
FROM information_schema.tables | |
WHERE table_name = 'table_name' | |
AND table_schema = DATABASE( ) ; | |
--- or --- | |
$result = mysql_query("SHOW TABLE STATUS LIKE 'table_name'"); |
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
<?php | |
header('Content-Type: text/html; charset=utf-8'); | |
?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Test Image Preview Pre-Upload</title> | |
<style type="text/css"> | |
form div.upload label { font-weight:bold; display:block; margin-bottom:0.25em; } | |
img.file-preview { border:3px solid #000; } |
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
<?php | |
/* | |
Plugin Name: Theme and Plugin Auto-Update | |
Description: Forces automatic updates of installed plugins and themes. Be sure to have backups running! | |
Version: 1.0 | |
Author: Brendon Kozlowski | |
Author URI: http://www.bytekick.com | |
License: MIT | |
*/ |
NewerOlder