Skip to content

Instantly share code, notes, and snippets.

Martin Rocek silencesys

Block or report user

Report or block silencesys

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@silencesys
silencesys / groupBy.js
Last active Jun 18, 2019
Javascript Helper functions
View groupBy.js
Array.prototype.groupBy = function(prop) {
return this.reduce(function(groups, item) {
var val = item[prop];
groups[val] = groups[val] || [];
groups[val].push(item);
return groups;
}, {});
}
var myList = [
@silencesys
silencesys / readme.md
Last active Jun 18, 2019
Usefull and often used snippets of code for Laravel or any other php application with similar design.
View readme.md

Snippets for Laravel

Some usefull and often used snippets of code for Laravel framework or any other php framework with similar design.

List will be extended in future.

@silencesys
silencesys / commit-emoji.md
Last active Apr 26, 2019 — forked from pocotan001/commit-emoji.md
List of emoji for git commits.
View commit-emoji.md

Git Commit Message

All Git Commit Messages MUST meet with this Text Format:

:emoji: Subject
(Only One NewLine)
Message Body
(Only One NewLine)
Ref <###>
@silencesys
silencesys / charactermap.php
Last active May 20, 2017
Anglo-saxon Character map
View charactermap.php
<?php
$characterMap = [
'ð' => 'th', 'Ð' => 'Th', 'Þ' => 'Th', 'þ' => 'th', 'đ' => 'd',
'Ƿ' => 'W', 'ƿ' => 'w', 'Ȝ' => 'G', 'ȝ' => 'g', 'æ' => 'ae',
'Æ' => 'AE'
];
You can’t perform that action at this time.