Skip to content

Instantly share code, notes, and snippets.

CodeMaxter

Block or report user

Report or block CodeMaxter

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
@CodeMaxter
CodeMaxter / auto-setup-scoop.ps1
Created Nov 15, 2018
PowerShell script to install a software development environment using scoop package manager
View auto-setup-scoop.ps1
# git
scoop install git
# add the optional 'extras' bucket
scoop bucket add extras
# utils
scoop install colortool cmder 7zip curl sudo coreutils grep cygwin totalcommander nvm paint.net
# colaboration
View hexToDec.js
/**
*
* @param {string} number
* @return {number}
*/
function hexToDec(number) {
// Return error if number is not hexadecimal or contains more than ten characters (10 digits)
if (!/^[0-9A-Fa-f]{1,10}$/.test(number)) {
return NaN;
}
View manga.txt
http://www.mangasail.com/content/memesis
http://www.mangasail.com/content/raisekamika-manga
http://www.mangasail.com/content/berserk-gluttony
http://mangakakalot.com/manga/rakujitsu_no_pathos
http://mangakakalot.com/manga/game_obu_familia_family_senki
https://www.mangasail.co/content/drifters-manga
https://www.mangasail.co/content/assassin-de-aru-ore-no-sutetasu-ga-yuusha-yori-mo-akiraka-ni-tsuyoi-nodaga
https://www.mangasail.co/content/everlasting-god-sword
https://www.mangasail.co/content/maken-ki-manga
https://www.mangasail.co/content/overgeared
@CodeMaxter
CodeMaxter / regular-expressions.txt
Last active Aug 22, 2018
Regular expressions examples
View regular-expressions.txt
// Select characters between two string
'100001000010001000'.match(/(?<=1)(0+)(?=1)/g)
// Convert a string to spinal case
function spinalCase(str) {
return str.replace(/(_?\s?([A-Z]))|[_\s]/g, (match, p1, p2, offset) => {
return (offset > 0 ? '-' : '') + (p2 ? p2.toLowerCase() : '');
});
}
View music.txt
https://www.youtube.com/watch?v=sHj5_pBprOg - (Die Ärzte - Schrei nach liebe (Subtítulos en español))
View chunk-array.js
/**
* chunk array into specific chunks :)
* @param arr
* @param len
* @returns {Array}
*/
function chunkArray(arr, len) {
if (!Array.isArray(arr)) return [];
let chunks = [],
i = 0,
View software-development.txt
https://sourcemaking.com/refactoring
https://github.com/grab/front-end-guide
https://www.youtube.com/watch?v=7kVeCqQCxlk
http://2ality.com/2011/11/super-references.html
https://moduscreate.com/blog/javascript-performance-tips-tricks/
http://2ality.com/2014/01/eval.html
https://www.toptal.com/javascript/10-most-common-javascript-mistakes
https://www.katacoda.com/courses/docker/
https://www.stefanjudis.com/today-i-learned/the-complicated-syntax-of-lookaheads-in-javascript-regular-expressions/
https://medium.freecodecamp.org/reduce-f47a7da511a9
@CodeMaxter
CodeMaxter / frontend-tutorials.txt
Last active Oct 12, 2018
Frontend Tutorials URLs
View frontend-tutorials.txt
React
https://egghead.io/courses/advanced-react-component-patterns
https://frontendmasters.com/courses/advanced-react-patterns (https://github.com/kentcdodds/advanced-react-patterns)
NodeJS
https://pirple.thinkific.com/courses/the-nodejs-master-class
View tools.txt
Agile
https://funretro.io/
https://monday.com/
Bash
https://docs.microsoft.com/en-us/windows/wsl/install-on-server (WSL Windows Server Installation Guide or Store Disabled)
https://curl.haxx.se/download.html
https://tmuxcheatsheet.com/
https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#bash-loses-network-connectivity-once-connected-to-a-vpn
https://www.frostbyte.us/fixing-windows-subsystem-for-linux-wsl-name-resolution-errors-with-vpn/
You can’t perform that action at this time.