Skip to content

Instantly share code, notes, and snippets.

View lcfd's full-sized avatar
🦙

Luca Fedrizzi lcfd

🦙
View GitHub Profile
@lcfd
lcfd / installwp.sh
Created June 16, 2016 09:04
Install latest wordpress with bash
#!/bin/bash
wget http://wordpress.org/latest.tar.gz
tar xfz latest.tar.gz
mv wordpress/* ./
rmdir ./wordpress/
rm -f latest.tar.gz
@lcfd
lcfd / gist:da2e108faf9022cb56be4c157e042e67
Created April 27, 2016 13:41 — forked from neilcarpenter/gist:8979ea9ed91b10e36af9
Enable Emmet in .JSX files, using Babel JSX Syntax highlighter
// add to Preferences > Key Bindings - User
// see http://stackoverflow.com/a/26619524 for context
{ "keys": ["tab"], "command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.js",
"operator": "equal",
"match_all": true,
"key": "selector"
@lcfd
lcfd / angular.html
Last active March 16, 2016 14:02
Bootstrap v4 - Angular 1.5.0 boilerplate
<!doctype html>
<html ng-app="*">
<head>
<title>Title</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
<link rel="stylesheet" href="site.css" type="text/css">
</head>
<body ng-controller="*">
/*==================================================
= Bootstrap 3 Media Queries =
==================================================*/
/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}