Skip to content

Instantly share code, notes, and snippets.

View domenicomonaco's full-sized avatar
🎯
Focusing

Domenico Monaco domenicomonaco

🎯
Focusing
View GitHub Profile
@iloveitaly
iloveitaly / clustermarker.js
Created July 8, 2010 14:56
Google Maps V3 Cluster Marker With Minimum Cluster Size
// ==ClosureCompiler==
// @compilation_level ADVANCED_OPTIMIZATIONS
// @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/google_maps_api_v3.js
// ==/ClosureCompiler==
/**
* @author Michael Bianco <http://mabblog.com>
* @fileoverview Added minimum cluster size option
**/
@oodavid
oodavid / README.md
Last active June 12, 2024 00:28 — forked from aronwoost/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@lg0
lg0 / markdown.xml
Created April 10, 2012 19:58
Markdown Syntax Highlighting for Sublime text 2
<!-- copy this to YOUR_THEME.tmTheme-->
<dict>
<key>name</key>
<string>diff: deleted</string>
<key>scope</key>
<string>markup.deleted</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#EAE3CA</string>
@mitsuoka
mitsuoka / DumpHttpRequest.dart
Last active October 4, 2015 14:28
Dart HTTP server code sample : Returns available information from the request.
/*
Dart code sample : Simple tool for HTTP server development
Returns contents of the HTTP request to the client
1. Save these files into a folder named DumpHttpRequest.
2. From Dart editor, File > Open Folder and select this DumpHttpRequest folder.
3. Run DumpHttpRequest.dart as server.
4. Access the DumpHttpRequest.html file from your browser such as : file:///C:/ … /DumpHttpRequest/DumpHttpRequest.html
5. Enter some text to the text areas and click “Submit using POST” or “Submit using GET” button.
6. This server will return available data from the request. This data is also available on the Dart editor’s console.
Ref: www.cresc.co.jp/tech/java/Google_Dart/DartLanguageGuide.pdf (in Japanese)
@whitingx
whitingx / meta-tags.md
Created October 5, 2012 16:41 — forked from kevinSuttle/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@awshout
awshout / foundation4-topbar-menu.php
Last active August 19, 2023 02:44
WordPress Menu & Walker for ZURB's Foundation 4 Top Bar
<?php
add_theme_support('menus');
/**
* Register Menus
* http://codex.wordpress.org/Function_Reference/register_nav_menus#Examples
*/
register_nav_menus(array(
'top-bar-l' => 'Left Top Bar', // registers the menu in the WordPress admin menu editor
'top-bar-r' => 'Right Top Bar'
@domenicomonaco
domenicomonaco / SerialEchoLine.ino
Last active August 29, 2015 14:06
Simple Arduino Serial Communication with Echo of line
/**
* Author: Domenico Monaco
*
* Description: Simple Arduino Serial communication, with echo of entire line received.
*
* Source: https://gist.github.com/kiuz/d59519e0de7677df42c3/
*
* License: GNU v2 2014
*/