To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion
{ | |
"masterDatabaseUsername": "<secret>", | |
"masterDatabasePassword": "<secret>", | |
"keycloakMasterRealmAdminPassword": "<secret>", | |
"keycloakDbPassword": "<secret>", | |
"sqlEngineDbPassword": "<secret>", | |
"webDbPassword": "<secret>", | |
"metabasePassword": "<secret>", | |
"minioPassword": "<secret>", | |
"sqlPropertiesEncryptKey": "<secret>" |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
annotations: | |
kubernetes.io/ingress.class: nginx-public | |
nginx.ingress.kubernetes.io/proxy-body-size: "0" | |
nginx.ingress.kubernetes.io/proxy-read-timeout: "600" | |
nginx.ingress.kubernetes.io/proxy-send-timeout: "600" | |
nginx.ingress.kubernetes.io/rewrite-target: /$1 | |
labels: |
SELECT | |
'U+' || TO_CHAR(TO_NUMBER(UNICODE(TO_NCHAR(REGEXP_SUBSTR(my_column, '.', 1, LEVEL)))), 'FMXXXX') | |
AS unicode_str | |
FROM my_table | |
CONNECT BY PRIOR dbms_random.value IS NOT NULL | |
AND PRIOR my_column = my_column | |
AND PRIOR sys_guid() IS NOT NULL | |
AND LEVEL <= LENGTH(my_column); |
document.getElementById('fetchData').addEventListener('click', async function () { | |
const loader = document.getElementById('loader'); | |
loader.style.display = 'block'; | |
// Fetch data and update tables... | |
// After all fetches and updates | |
loader.style.display = 'none'; | |
}); |
SELECT | |
CASE | |
WHEN get_userinfo('username') = 'william' THEN appl_id | |
WHEN get_userinfo('username') = 'jimmy' THEN CONCAT(SUBSTRING(appl_id, 1, LENGTH(appl_id) - 6), 'XXXXXX') | |
ELSE appl_id | |
END AS appl_id | |
FROM ods_report | |
WHERE unit_code = ( | |
SELECT | |
CASE |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "CreateResource", | |
"Effect": "Allow", | |
"Action": [ | |
"rds:CreateDBSubnetGroup", | |
"rds:CreateDBInstance", | |
"rds:DescribeDBInstances", |
--log_gc (Log heap samples on garbage collection for the hp2ps tool.) | |
type: bool default: false | |
--expose_gc (expose gc extension) | |
type: bool default: false | |
--max_new_space_size (max size of the new generation (in kBytes)) | |
type: int default: 0 | |
--max_old_space_size (max size of the old generation (in Mbytes)) | |
type: int default: 0 | |
--max_executable_size (max size of executable memory (in Mbytes)) | |
type: int default: 0 |
To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
One of the best ways to reduce complexity (read: stress) in web development is to minimize the differences between your development and production environments. After being frustrated by attempts to unify the approach to SSL on my local machine and in production, I searched for a workflow that would make the protocol invisible to me between all environments.
Most workflows make the following compromises:
Use HTTPS in production but HTTP locally. This is annoying because it makes the environments inconsistent, and the protocol choices leak up into the stack. For example, your web application needs to understand the underlying protocol when using the secure
flag for cookies. If you don't get this right, your HTTP development server won't be able to read the cookies it writes, or worse, your HTTPS production server could pass sensitive cookies over an insecure connection.
Use production SSL certificates locally. This is annoying
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats