два обзора saas-ов от конкурентов mailchimp
ещё saas
| class LineChart { | |
| // LineChart by https://kevinkub.de/ | |
| constructor(width, height, values) { | |
| this.ctx = new DrawContext(); | |
| this.ctx.size = new Size(width, height); | |
| this.values = values; | |
| } | |
| _calculatePath() { |
два обзора saas-ов от конкурентов mailchimp
ещё saas
| <?php | |
| namespace App\Nova; | |
| use Laravel\Nova\Fields\BelongsTo; | |
| use Laravel\Nova\Fields\Date; | |
| use Laravel\Nova\Fields\ID; | |
| use Illuminate\Http\Request; | |
| use Laravel\Nova\Http\Requests\NovaRequest; |
Putting cryptographic primitives together is a lot like putting a jigsaw puzzle together, where all the pieces are cut exactly the same way, but there is only one correct solution. Thankfully, there are some projects out there that are working hard to make sure developers are getting it right.
The following advice comes from years of research from leading security researchers, developers, and cryptographers. This Gist was [forked from Thomas Ptacek's Gist][1] to be more readable. Additions have been added from
| const makeBot = require('node-telegram-bot-api'); | |
| const mailListener = require("mail-listener2"); | |
| const config = { | |
| // First get your telegram bot | |
| telegramToken: 'Obtain your token talking to BotFather on telegram', | |
| // Send a message to the bot and paste here your chat id (the response) | |
| // TODO: login to avoid this step and allow multiple users | |
| chatID = 'Chat ID', | |
| // Gmail or Gsuite settings |
| # /usr/local/vesta/data/templates/web/apache2/laravel.stpl | |
| <VirtualHost %ip%:%web_ssl_port%> | |
| ServerName %domain_idn% | |
| %alias_string% | |
| ServerAdmin %email% | |
| DocumentRoot %sdocroot%/public/ | |
| ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ | |
| Alias /vstats/ %home%/%user%/web/%domain%/stats/ |
| <?php | |
| //Useful code snippets | |
| //Here are some code snippets which show you the basics of Auth: | |
| //Create a new user (e.g. if you have not set up any users yet and want to do that programmatically) | |
| $model = ORM::factory('user'); | |
| $model->values(array( | |
| 'username' => 'admin', | |
| 'email' => '[email protected]', | |
| 'password' => 'admin', |
| <script type="text/javascript"> | |
| (function () { | |
| "use strict"; | |
| // once cached, the css file is stored on the client forever unless | |
| // the URL below is changed. Any change will invalidate the cache | |
| var css_href = './index_files/web-fonts.css'; | |
| // a simple event handler wrapper | |
| function on(el, ev, callback) { | |
| if (el.addEventListener) { | |
| el.addEventListener(ev, callback, false); |