Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| /** | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2013 Thom Seddon | |
| * Copyright (c) 2010 Google | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| { | |
| "name" : "rarst/install-test", | |
| "description" : "Test project for WordPress stack via Composer", | |
| "authors" : [ | |
| { | |
| "name" : "Andrey Savchenko", | |
| "homepage": "http://www.Rarst.net/" | |
| } | |
| ], | |
| "type" : "project", |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Block encapsulates a standalone entity that is meaningful on its own.
While blocks can be nested and interact with each other, semantically they remain equal; there is no precedence or hierarchy.
Holistic entities without DOM representation (such as controllers or models) can be blocks as well.
| import urllib2 | |
| import json | |
| import re | |
| class SoccerwayTeamMatches: | |
| def __init__(self, teamId): | |
| self.teamId = str(teamId) | |
| self.data = {'all': [], 'home': [], 'away': []} |
| #!/usr/bin/env | |
| # curl https://gist.github.com/mattes/7041760/raw/wp-cli-install-with-brew.sh | bash | |
| brew tap homebrew/dupes | |
| brew tap josegonzalez/homebrew-php | |
| brew install wp-cli |
| /** | |
| * Optimize WooCommerce Scripts | |
| * Remove WooCommerce Generator tag, styles, and scripts from non WooCommerce pages. | |
| */ | |
| add_action( 'wp_enqueue_scripts', 'child_manage_woocommerce_styles', 99 ); | |
| function child_manage_woocommerce_styles() { | |
| //remove generator meta tag | |
| remove_action( 'wp_head', array( $GLOBALS['woocommerce'], 'generator' ) ); |
| @import "modular-scale"; | |
| @import "functions"; | |
| $base-font-size: 16px; | |
| $base-line-height: 24px; | |
| $rhythm-unit: "rem"; | |
| // Setup vertical rhythm | |
| @include establish-baseline; |
| 'use strict'; | |
| // Generated on 2014-04-14 using generator-leaflet 0.0.14 | |
| var gulp = require('gulp'); | |
| var open = require('open'); | |
| var wiredep = require('wiredep').stream; | |
| // Load plugins | |
| var $ = require('gulp-load-plugins')(); |