I hereby claim:
- I am Shmink on github.
- I am shmink (https://keybase.io/shmink) on keybase.
- I have a public key whose fingerprint is BDFB 7559 2071 05AF E081 9275 FF7F BDAF 6C0E E8E1
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
version: '3' | |
services: | |
mysql: | |
image: mysql:5.7 | |
ports: | |
- "3306:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: "root" | |
MYSQL_USER: "app" | |
MYSQL_PASSWORD: "app" |
{ | |
// | |
// EEx | |
// | |
"eex_render_block": { | |
"prefix": "e=", | |
"body": ["<%= $1 %>$0"], | |
"description": "<%= %> render block" | |
}, | |
"eex_exec_block": { |
"peacock.favoriteColors": [ | |
{ | |
"name": "Dark", | |
"value": "#44475a" | |
}, | |
{ | |
"name": "Light", | |
"value": "#f8f8f2" | |
}, | |
{ |
# ---- Build Stage ---- | |
FROM elixir:1.10-alpine as builder | |
ENV MIX_ENV=prod | |
COPY lib ./lib | |
COPY mix.exs . | |
COPY mix.lock . | |
RUN mix local.rebar --force \ | |
&& mix local.hex --force \ | |
&& mix deps.get \ | |
&& mix release |
FROM elixir:1.10-alpine | |
ENV MIX_ENV=prod | |
COPY lib ./lib | |
COPY mix.exs . | |
COPY mix.lock . | |
RUN mix local.rebar --force \ | |
&& mix local.hex --force \ | |
&& mix deps.get \ | |
&& mix release |
echo "Building..." | |
docker build -t my-app:latest . | |
echo "\nRunning..." | |
docker run --rm -it -p80:4000 my-app:latest |
void main() { | |
double original = 116.41666666; | |
print('off by one ${original.toStringAsFixed(2)}'); | |
// This is an issue especially when trying to display money | |
double truncateAsFixed(double value, int remainder) { | |
var integer = value.toInt(); | |
// To get the remainder on it's own and trim down |
====================== | |
Proton: 1742235592 experimental-9.0-20250317 | |
SteamGameId: 1290000 | |
Command: ['/home/tom/.local/share/Steam/steamapps/common/PowerWash Simulator/PowerWashSimulator.exe'] | |
Options: {'forcelgadd'} | |
depot: 3.0.20250210.116596 | |
pressure-vessel: 0.20250122.0 scout | |
scripts: 0.20250122.0 | |
sniper: 3.0.20250210.116596 sniper 3.0.20250210.116596 | |
Kernel: Linux 6.13.7-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 13 17:46:13 UTC 2025 x86_64 |