stdin.readLineSync(), int.parse(stdin.readLineSync()), double.parse(stdin.readLineSync())
import 'dart:io';
void main(){
// String Input
<?php | |
$css_form = ' | |
#adianti_right_panel.right-panel{ | |
z-index : 2500 !important; | |
} | |
}'; | |
parent::register_css('css_form', $css_form); |
So the hacker news post said my comment was too long. Warning, long, opinionated post:
Scala dev for 10+ years here. Spark is weird. Databricks has a style guide that deliberately chooses not to use scala features that the rest of the community uses, and doesn't follow the same best practices around library and scala major version usage that the rest of the community uses [1]. It's no surprise that the project has trouble interoperating with libraries outside of the spark ecosystem, and is therefore a maintenance problem.
Spark's style and compatibility problems
Scala isn't a maintenance nightmare, but it does attract a lot of newcomers who dive in, don't stick within one of its many ecosystems, get confused, and generally leave a mess, and that is a direct result of the fact that scala is a multi-paradigm, relatively expressive language to the one(s) it is competing with and pulling developers from, and that those developers, for the large part, don't really want to change and think that Scala is just a
# (I recommend understanding the basics of this first: http://sequel.jeremyevans.net/rdoc/files/doc/object_model_rdoc.html) | |
# Extending the underlying dataset (http://sequel.jeremyevans.net/rdoc/files/README_rdoc.html#label-Extending+the+underlying+dataset) | |
# The recommended way to implement table-wide logic by defining methods on the dataset using dataset_module: | |
class Post < Sequel::Model | |
dataset_module do | |
def posts_with_few_comments | |
where{num_comments < 30} |
<?php | |
## 1 EXEMPLO ################################ | |
$css_form = ' | |
div > div.panel > .panel-body{ | |
height : 45vh !important; | |
} | |
}'; |
<?php | |
## EXEMPLO - CONSUMINDO A API NO POSTMAN | |
# https://dominio/nome_projeto/rest.php?class=ClienteRest&method=buscacpf&cpf=19178751004 | |
# Headers | |
# Authorization : Basic a1cd57beca01cfbf496928ceff61281558c6726b456d71f7523c55830139 | |
## EXEMPLO - CONSUMINDO A API EM PHP | |
$url = 'https://dominio/nome_projeto/rest.php'; |
<?php | |
$nome->setExitAction(new TAction([$this, 'onSearch'], ['static'=>'1'])); | |
/* | |
FABRÍCIO ALMEIDA | |
PROGRAMADOR DESKTOP, WEB e MOBILE | |
CONSULTORIAS E ORÇAMENTO: | |
WHATSAPP (83) 98655-6461 | |
*/ |
<?php | |
TScript::create(" | |
$(document).on('keydown', 'input[name=\'celular\']', function (e) { | |
var digit = e.key.replace(/\D/g, ''); | |
var value = $(this).val().replace(/\D/g, ''); | |
var size = value.concat(digit).length; | |
$(this).mask((size <= 10) ? '(00) 0000-0000' : '(00) 00000-0000'); | |
}); | |
"); |
// ==UserScript== | |
// @name Medium Paywall Bypass | |
// @namespace Violentmonkey Scripts | |
// @run-at document-start | |
// @match *://*.medium.com/* | |
// @match *://medium.com/* | |
// @match *://*/* | |
// @grant none | |
// @version 2.3 | |
// @inject-into content |