Skip to content

Instantly share code, notes, and snippets.

View netalex's full-sized avatar

Alessandro Aprile netalex

View GitHub Profile
@maximelebreton
maximelebreton / front-end-developer-toolkit.md
Last active January 5, 2023 16:52
Front end developer toolkit

Because I think that the best css/js framework is composed by many agnostic micro libraries.

JavaScript

Vue

@patik
patik / styles.css
Last active April 20, 2024 06:59 — forked from joshbode/numbered_headings.md
Numbered Headings in Markdown via CSS
body { counter-reset: h1counter h2counter h3counter h4counter h5counter h6counter; }
h1 { counter-reset: h2counter; }
h2 { counter-reset: h3counter; }
h3 { counter-reset: h4counter; }
h4 { counter-reset: h5counter; }
h5 { counter-reset: h6counter; }
h6 {}
h2:before {
@nrollr
nrollr / MySQL_macOS_Sierra.md
Last active January 31, 2024 14:45
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

// Modifies $httpProvider for correct server communication (POST variable format)
angular.module('httpPostFix', [], function($httpProvider)
{
// Use x-www-form-urlencoded Content-Type
$httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8';
// Override $http service's default transformRequest
$httpProvider.defaults.transformRequest = [function(data)
{
/**
@skylamer
skylamer / HTML-presentation-tools.md
Created January 25, 2012 09:32 — forked from vasilisvg/HTML-presentation-tools.md
HTML presentation tools

#HTML presentation tools

There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.

##CSSS

CSS-based SlideShow System

@macdonst
macdonst / video.html
Created December 21, 2011 18:45
PhoneGap Android VideoPlayer Plugin example
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=320; user-scalable=yes" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>PhoneGap</title>
<script type="text/javascript" charset="utf-8" src="phonegap-1.1.0.js"></script>
<script type="text/javascript" charset="utf-8" src="video.js"></script>
<script type="text/javascript">
@dpetersen
dpetersen / product_grid.js
Created September 23, 2011 17:10
Product Grid JSON sample
{
"CO":[
{
"product-name":"MEN'S BETTER THAN NAKED&trade; JACKET",
"product-image-url":"http://images.thenorthface.com/is/image/TheNorthFace/236x204_CLR/mens-better-than-naked-jacket-AVMH_LC9_hero.png",
"header-top-right-text":"Shop All",
"header-top-left-text":"Men's",
"product-url":"http://www.thenorthface.com/catalog/sc-gear/men-39-s-better-than-naked-8482-jacket.html",
"header-top-right-url":"http://www.thenorthface.com/en_US/shop-mens/",
"product-cta-text":"Shop Now"