- Distinguir entre o que é uma service, componente, model, mock ou utility
- shared/
- components/
- models/
- directives/
- pipes/
- endpoints/
- shared/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const configuration = [ | |
// YOUR EXPORTED AZURE CONFIGURATION | |
]; | |
let exportedConfig = {}; | |
configuration.forEach(setting => { | |
const subkeys = setting.name.split(':'); | |
subkeys.reduce((acc, curr) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
░ | |
░ ░ | |
░ ░ | |
░ ░[30m [33m▄▀ ▄▀[37m | |
░ [33m▄▀ ▄▀[37m | |
[0;1m▄▄█[0;1;30;47m\[0;1m█▄[0;33m▄▀[37m [33m▄▀[37m | |
[31m__[0;37m▄[0;1;30;47m`/[0;1m█[0;1;30;47m/`[0;1m██[0;1;30;47m`[0;1m█[0;33;47m▄▀[0;31m__[37m | |
[31m▄[0;31;47m▀[0;1;30;47m·`.,[0;1m█[0;1;30;47m.[0;1m██[0;1;30;47m\-[0;1m██[0;1;30;47m/[0;1m█[0;1;30;47m`·[0;31;47m▀[0;31m▄[37m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Minimal scrollbar - 2/13/2020, 7:05:30 PM | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description Replaces the ugly standard scrollbar on all webpages | |
@author index | |
==/UserStyle== */ | |
@-moz-document regexp(".*") { | |
::-webkit-scrollbar { | |
width: 8px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// extensions.shared.ts | |
namespace global { | |
export interface Array<T> { | |
sortBy(modifier: string, isReverse: boolean): T[]; | |
}; | |
}; | |
Array.prototype.sortBy = function (modifier: string, isReverse: boolean): User[] { | |
const isNumber = (x: string | number) => typeof x == 'number'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uptime: 4 days, 2 hours, 50 minutes | |
* TODO Simp'o'matic: Commands to implement | |
- [-] .cron | |
- [-] parse cron's official syntax | |
- [X] step values (/) | |
- [ ] range of values (-) | |
- [ ] limit ranges (hours: [0, 24], months: [0, 30/31]) | |
- [X] any value (*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function firstNonRepeatableChar(string) { | |
let chars = []; | |
[...string].forEach(letter => { | |
if (!(letter in chars)) | |
chars[letter] = 0; | |
chars[letter] += 1; | |
}); | |
return Object.keys(chars).filter(c => chars[c] === 1)[0]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unmap s | |
map e scrollPageUp | |
map R nextTab | |
map E previousTab | |
map s scrollDown | |
map w scrollUp | |
map t Vomnibar.activateInNewTab |
NewerOlder