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 / bradvin.social.share.urls.txt
Last active April 9, 2019 06:53 — forked from HoldOffHunger/bradvin.social.share.urls.txt
Social Share URL's (Summary) #resources
http://compose.mail.yahoo.com/?to={email_address}&subject={title}&body={url}
http://digg.com/submit?url={url}
http://pinterest.com/pin/create/link/?url={url}
http://service.weibo.com/share/share.php?url={url}&appkey=&title={title}&pic=&ralateUid=
http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={url}
http://surfingbird.ru/share?url={url}&description={text}&screenshot={image}&title={title}
http://vk.com/share.php?url={url}&title={title}&comment={text}
http://widget.renren.com/dialog/share?resourceUrl={url}&srcUrl={url}&title={title}&description={text}
http://www.addthis.com/bookmark.php?url={url}
http://www.douban.com/recommend/?url={url}&title={title}
@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 / 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 / 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
@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
This file has been truncated, but you can view the full file.
Loading extensions.
Asserting extension nativescript-cloud is installed.
Extension nativescript-cloud is installed.
Asserting extension nativescript-starter-kits is installed.
Extension nativescript-starter-kits is installed.
Trying to get macOS version.
Exec system_profiler SPSoftwareDataType -detailLevel mini
stdout: Software:
System Software Overview:
@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 / 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/

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 / isCallable.js
Last active April 15, 2021 08:11
Return true if the given value is a callable object or function.
/**
* Return true if the given value is a callable object or function.
* @param value
*/
export default function isCallable(value) {
if (value === null || typeof value === 'number' || typeof value === 'undefined' || typeof value.call === 'undefined') {
return false;
}
return true;