You're taking your first steps into Ruby
A good introduction to programming in general. Easy on newer programmers.
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" | |
" " | |
" __ _ _ _ __ ___ _ __ ___ " | |
" \ \ / / | '_ ` _ \| '__/ __| " | |
" \ V /| | | | | | | | | (__ " | |
" \_/ |_|_| |_| |_|_| \___| " | |
" " | |
" " | |
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" |
You're taking your first steps into Ruby
A good introduction to programming in general. Easy on newer programmers.
public function showProducts(){ | |
$products = DB::table('products')->paginate(9); | |
return view('products', ['products' => $products]); | |
} |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
{ | |
"Statement": [ | |
{ | |
"Action": [ | |
"apigateway:*", | |
"cloudformation:CancelUpdateStack", | |
"cloudformation:ContinueUpdateRollback", | |
"cloudformation:CreateChangeSet", | |
"cloudformation:CreateStack", | |
"cloudformation:CreateUploadBucket", |
#!/bin/bash | |
set -e | |
CURRENT_NAME="Zauberantrag" | |
CURRENT_OTP="zauberantrag" | |
NEW_NAME="Wunderantrag" | |
NEW_OTP="wunderantrag" |
@executor = Concurrent::ThreadPoolExecutor.new min_threads: min_threads, | |
max_threads: max_threads | |
def connection_pool | |
@connection_pool ||= ConnectionPool.new size: @pool_size, timeout: @pool_timeout do | |
HTTP.auth("Bearer #{access_token}") | |
.persistent(HOST) | |
.timeout(@http_timeout) | |
.headers(accept_encoding: ACCEPT_ENCODING) | |
.use(:auto_inflate) |
Source references: