Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
$ git remote rm origin | |
$ git remote add origin [email protected]:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
/* ---------------------------------------------------------------------------------------------------- | |
SCSS Form Reset Helpers - Forked from: https://gist.github.com/anthonyshort/552543 | |
Intended usage: | |
- MIXINS: for very specific use cases, when you dont want to reset absolutly all the forms, very verbose output. | |
- PLACEHOLDER SELECTORS: use as extending classes. Less verbose, more generic overrides. | |
A couple of things to watch out for: |
<?php | |
/** | |
* Palette Library | |
* | |
* A simple class that wraps color modification operations | |
* into a simple and elegant chainable clas | |
*/ | |
class Palette | |
{ |
# System | |
.DS_Store | |
Thumbs.db | |
.Trashes | |
._* | |
Icon | |
.AppleDouble | |
.LSOverride | |
# Editors |
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
@echo off | |
SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
rem add it for all file types | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
rem add it for folders | |
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
// Deep Breaths // | |
////////////////// | |
// Gulp | |
var gulp = require('gulp'); | |
// Sass/CSS stuff | |
var sass = require('gulp-sass'); | |
var prefix = require('gulp-autoprefixer'); | |
var minifycss = require('gulp-minify-css'); |
<?php | |
function getTwitterFollowers($screenName = 'wpbeginner') | |
{ | |
// some variables | |
$consumerKey = 'YIQPxqfqQto5yaskourlA'; | |
$consumerSecret = 'OH3xiYM4oN3mjGK3as9m37zkKeyiHgKhBIgiNhoM'; | |
$token = get_option('cfTwitterToken'); | |
// get follower count from cache |
# | |
# CORS header support | |
# | |
# One way to use this is by placing it into a file called "cors_support" | |
# under your Nginx configuration directory and placing the following | |
# statement inside your **location** block(s): | |
# | |
# include cors_support; | |
# | |
# As of Nginx 1.7.5, add_header supports an "always" parameter which |