Skip to content

Instantly share code, notes, and snippets.

View monkeymonk's full-sized avatar
😶
β+∂(ℤ²-i)ℕ×g³=α!

Stéphan Zych monkeymonk

😶
β+∂(ℤ²-i)ℕ×g³=α!
View GitHub Profile
@monkeymonk
monkeymonk / meta-tags.md
Last active April 9, 2019 06:48 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags #resources

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

Basic HTML Meta Tags

<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">
<meta name="language" content="ES">
@monkeymonk
monkeymonk / meta-tags.md
Last active April 9, 2019 06:47 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags #resources

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'>
@monkeymonk
monkeymonk / install.sh
Last active April 9, 2019 06:45 — forked from fideloper/install.sh
Server quick install PHP 5 #server
#!/usr/bin/env bash
echo ">>> Starting Install Script"
# Update
sudo apt-get update
# Install MySQL without prompt
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@monkeymonk
monkeymonk / Props
Created October 5, 2018 10:05 — forked from mynameispj/Props
Estimated reading time in PHP, by Brian Cray
Total props to Brian Cray: http://briancray.com/posts/estimated-reading-time-web-design/
function parseVideo (url) {
// - Supported YouTube URL formats:
// - http://www.youtube.com/watch?v=My2FRPA3Gf8
// - http://youtu.be/My2FRPA3Gf8
// - https://youtube.googleapis.com/v/My2FRPA3Gf8
// - Supported Vimeo URL formats:
// - http://vimeo.com/25451551
// - http://player.vimeo.com/video/25451551
// - Also supports relative URLs:
// - //player.vimeo.com/video/25451551
@monkeymonk
monkeymonk / easing.js
Created September 6, 2018 09:08 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
@monkeymonk
monkeymonk / reinstall_cocoapods.sh
Last active August 10, 2018 18:26 — forked from derekli66/Reinstall_Cocoapods
Reinstall Cocoapods
#!/bin/bash
# When pod install or pod update gets hanged at "Analyzing dependencies", please consider to reinstall cocoapods.
# 1. Uninstallation
# Reference: http://superuser.com/questions/686317/how-to-fully-uninstall-the-cocoapods-from-the-mac-machine
for x in `gem list --no-versions | grep cocoapods`; do gem uninstall $x -a -x -I; done
# 2. Reinstall cocoapods
sudo gem install cocoapods

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@monkeymonk
monkeymonk / cron.sh
Created July 9, 2018 08:27 — forked from mpneuried/cron.sh
bash helpers
# CRON: crontab header to run node and grunt within a cron job
#!/bin/sh
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin