Value | Binary | Alternative |
---|---|---|
7 | 111 | [+=]rwx |
6 | 110 | [+=]rw |
5 | 101 | [+=]rx |
4 | 100 | [+=]r |
3 | 011 | [+=]wx |
2 | 010 | [+=]w |
1 | 001 | [+=]x |
0 | 000 | [-=]rwx |
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
$ mocha | |
magicthegathering.io API test | |
1) Should return 100 cards max | |
√ Should receive the card 'Heedless One' (414ms) | |
1 passing (2s) | |
1 failing |
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
$ mocha | |
magicthegathering.io API test | |
√ Should return 100 cards max (1468ms) | |
√ Should receive the card 'Heedless One' (351ms) | |
2 passing (2s) |
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
/** | |
* API testing example | |
* API used | |
* @see https://magicthegathering.io/ | |
* | |
* This example is part of the post | |
* @see https://medium.com/@hdeodato/teste-autom%C3%A1tico-de-api-rest-usando-com-node-js-mocha-chai-6aec4613d100 | |
* | |
* @author Henrique Deodato | |
* @see twitter.com/hdeodato |
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
#https://thomaslevesque.com/2018/04/17/hosting-an-asp-net-core-2-application-on-a-raspberry-pi/, | |
#https://linuxize.com/post/how-to-install-node-js-on-raspberry-pi/ | |
#https://dejanstojanovic.net/aspnet/2018/december/running-net-core-on-raspberry-pi-with-raspbian-stretch/ | |
#https://thomaslevesque.com/2018/04/17/hosting-an-asp-net-core-2-application-on-a-raspberry-pi/ | |
#https://darenmay.com/blog/net-core-and-gpio-on-the-raspberry-pi---leds-and-gpio/ | |
#https://www.raspberrypi.org/documentation/remote-access/ssh/ | |
#https://www.raspberrypi.org/forums/viewtopic.php?t=246617 | |
#https://dejanstojanovic.net/aspnet/2018/june/setting-up-net-core-servicedaemon-on-linux-os/ | |
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
# run it from your project folder | |
# based on this link | |
# https://github.com/ionic-team/ionic-cli/issues/2835 | |
# erroroccurs when run... | |
cordova build android | |
# ANDROID_HOME=/usr/local/Caskroom/android-platform-tools/27.0.1 | |
# JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home | |
# Error: spawn EACCES |
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
/** | |
* Arquivo exemplo para teste de api | |
* A API utilizada neste projeto eh | |
* @see https://magicthegathering.io/ | |
* | |
* Este exemplo faz parte de um post no medium | |
* @see https://medium.com/@hdeodato/teste-autom%C3%A1tico-de-api-rest-usando-com-node-js-mocha-chai-6aec4613d100 | |
* | |
* @author Henrique Deodato | |
* @see twitter.com/hdeodato |
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
----- MX ----- | |
item Priority | |
mx3.zoho.com Copy 50 | |
mx2.zoho.com Copy 20 | |
mx.zoho.com Copy 10 | |
----- SPF - TXT ----- | |
@ v=spf1 include:zoho.com ~all | |
----- DKIM - TXT ----- |
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
#== Criacao de servidor NGINX + PHP == | |
apt-get update | |
apt-get install nginx | |
apt-get install unzip | |
sudo ufw allow 'Nginx HTTP' | |
sudo nano /etc/nginx/nginx.conf |
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
{ | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
// Columns in which to display vertical rulers | |
"rulers": [ | |
100, 130 | |
], | |
"tab_size": 4, |
NewerOlder