A4988 Drivers
Vref set to ~90% of stepper rated current
Rs = 0.1ohm
X = 0,58v (0,725A)
Y = 0,58v (0,725A)
Z = 0,58v (0,725A)
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
/* smartphones, touchscreens */ | |
@media (hover: none) and (pointer: coarse) { | |
/* ... */ | |
} | |
/* stylus-based screens */ | |
@media (hover: none) and (pointer: fine) { | |
/* ... */ | |
} | |
/* Nintendo Wii controller, Microsoft Kinect */ | |
@media (hover: hover) and (pointer: coarse) { |
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
// ISO 3166-1 alpha-2 | |
// ⚠️ No support for IE 11 | |
const countryToFlag = isoCode => { | |
return typeof String.fromCodePoint !== 'undefined' | |
? isoCode.toUpperCase().replace(/./g, char => String.fromCodePoint(char.charCodeAt(0) + 127397)) | |
: isoCode | |
} | |
export default countryToFlag |
- Amex Card:
^3[47][0-9]{13}$
- BCGlobal:
^(6541|6556)[0-9]{12}$
- Carte Blanche Card:
^389[0-9]{11}$
- Diners Club Card:
^3(?:0[0-5]|[68][0-9])[0-9]{11}$
- Discover Card:
^65[4-9][0-9]{13}|64[4-9][0-9]{13}|6011[0-9]{12}|(622(?:12[6-9]|1[3-9][0-9]|[2-8][0-9][0-9]|9[01][0-9]|92[0-5])[0-9]{10})$
- Insta Payment Card:
^63[7-9][0-9]{13}$
- JCB Card:
^(?:2131|1800|35\d{3})\d{11}$
- KoreanLocalCard:
^9[0-9]{15}$
If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml
.
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
export default class ApiService { | |
/*@ngInject*/ | |
constructor() { | |
this.protocol = 'https://'; | |
/* dev api config */ | |
this.izBilling = this.protocol + '101cloudlicenses.azurewebsites.net'; | |
this.izInvoices = this.protocol + '101cloudbilling.azurewebsites.net'; |
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://cms.cian.ru/admin/content/articles/217979/change', 'https://cms.cian.ru/admin/content/articles/218104/change', 'https://cms.cian.ru/admin/content/articles/218208/change', 'https://cms.cian.ru/admin/content/articles/217463/change', 'https://cms.cian.ru/admin/content/articles/217980/change', 'https://cms.cian.ru/admin/content/articles/218370/change', 'https://cms.cian.ru/admin/content/articles/218105/change', 'https://cms.cian.ru/admin/content/articles/217982/change', 'https://cms.cian.ru/admin/content/articles/218106/change', 'https://cms.cian.ru/admin/content/articles/218107/change', 'https://cms.cian.ru/admin/content/articles/217358/change', 'https://cms.cian.ru/admin/content/articles/218108/change', 'https://cms.cian.ru/admin/content/articles/217983/change', 'https://cms.cian.ru/admin/content/articles/218371/change', 'https://cms.cian.ru/admin/content/articles/218209/change', 'https://cms.cian.ru/admin/content/articles/217984/change', 'https://cms.cian.ru/admin/content/articles/218109/change', 'ht |
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
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ |
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
<div class="container" ng-app="myApp" ng-controller="Main"> | |
<h3>Angular Format Number</h3> | |
<ul class="list-unstyled"> | |
<li> | |
<span class="label label-success">{{ 12345 | nearestK}}</span> | |
</li> | |
<li> | |
<span class="label label-success">{{ 145 | nearestK}}</span> | |
</li> | |
<li> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
For more information on how to configure your ASP.NET application, please visit | |
http://go.microsoft.com/fwlink/?LinkId=301880 | |
--> | |
<configuration> | |
<system.web> | |
<httpRuntime maxUrlLength="2000" relaxedUrlToFileSystemMapping="true" /> | |
</system.web> |
NewerOlder