on macOS
default
folder in /Users/USERNAME/Library/Preferences/DataGrip2018.1/projects
contains database connection properties.
DataGrip2018.1 states your DataGrip version
def limit(num, minimum=1, maximum=255): | |
"""Limits input 'num' between minimum and maximum values. | |
Default minimum value is 1 and maximum value is 255.""" | |
return max(min(num, maximum), minimum) |
var eventify = function(arr, callback) { | |
arr.push = function(e) { | |
Array.prototype.push.call(arr, e); | |
callback(arr); | |
}; | |
}; | |
var array = [1,2,3]; | |
eventify(array, function(newArray) { |
#!/bin/bash | |
sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}' |
on macOS
default
folder in /Users/USERNAME/Library/Preferences/DataGrip2018.1/projects
contains database connection properties.
DataGrip2018.1 states your DataGrip version
Required jars:
Note: It seems that since Log4j 2.14.0, we do not need to add jackson
dependencies according to log4j documentation. However I need to stick with log4j2 version comes with Flink for now, so I have not tested it yet.
MJML responsive email templateler için bir markup dili.
İşin güzel yanı outlook, gmail gibi client bazlı css vs yazmamız gereken yerler için de kullanılabilir.
Kaynak: https://twitter.com/simtoalev/status/1272912198193614849
import com.twitter.finagle.http2.param.FrameLoggerNamePrefix
val service =
Http
.client
.withLabel("service-label")
.configured(FrameLoggerNamePrefix(this.getClass.getName))
.withHttp2
.newService("localhost:8080")
Run shell in a container without running entrypoint script set by the image build
docker run -it --entrypoint sh IMAGE_NAME
Sources
curl --location --request POST 'https://oauth-login.cloud.huawei.com/oauth2/v3/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_secret=CLIENT_SECRET' \
--data-urlencode 'client_id=CLIENT_ID'
CLIENT_SECRET
: 'App Secret' field on Huawei UI