Let's chat
Stackblitz Angular 15: https://stackblitz.com/edit/angular-15-starter-pack-vkw5s2
Let's chat
Stackblitz Angular 15: https://stackblitz.com/edit/angular-15-starter-pack-vkw5s2
FROM alpine:3.20 | |
RUN apk -U add --no-cache squid | |
COPY squid.conf /etc/squid/squid.conf | |
COPY passwords /etc/squid/passwords | |
EXPOSE 3128/tcp | |
ENTRYPOINT ["squid", "-N", "-d1"] |
This is the short guide about how to recompile/enable --enable-ssl
option in a Squid caching proxy server. The --enable-ssl
option turned off by default, to be able to use SslBump feature we have to turn it on. To my own surprise Squid was compiled not only without --enable-ssl
flag, but also with GnuTLS due to GPL legal reasons.
Optionally enable:
Modify Dante configuration file to enable logging, here for errors and debug:
errorlog: /var/log/sockd.errlog
logoutput: /var/log/sockd.log
In case you are receiving errors after configuring log sinks for danted service, like:
alert: configparsing(): could not (re)open logfile "/var/log/socks.log": Read-only file system
$primary: #334455; | |
.card { | |
color: white; | |
padding: 2rem; | |
--primary-color: $primary; | |
} | |
.card { |
$primary: #334455; | |
.card { | |
--primary-color: $primary; | |
} | |
.card { | |
--primary-color: #{$primary}; | |
} |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "ng serve", | |
"type": "msedge", | |
"request": "launch", | |
"preLaunchTask": "npm: start", | |
"url": "http://localhost:4200/" | |
}, |
interface ApiData { | |
'maps:longitude': string; | |
'maps:latitude': string; | |
} | |
type RemoveMapsFromData<T> = { | |
[K in keyof T as RemoveMaps<K>]: T[K]; | |
}; | |
type ExpectedApiData = RemoveMapsFromData<ApiData>; |
🎉 Congratulations! You are eligible to use GitHub Copilot for free. |
type DeepPartial<Thing> = Thing extends Function | |
? Thing | |
: Thing extends Array<infer InferredArrayMembmer> | |
? Array<DeepPartial<Thing>> | |
: Thing extends object | |
? DeepPartialObject<Thing> | |
: Thing | undefined; | |
type DeepPartialObject<Thing> = { | |
[Key in keyof Thing]?: DeepPartial<Thing[Key]>; |