jekyll build

If there’s a need to rebuild Jekyll running in a container, you must do the following. stop the current container cd ~/docker/ulyme $ docker-compose down once stopped, go ahead and rebuild docker-compose up --build once site is rebuilt, stop and delete it the updated container $ docker stop ulyme_jekyll_1 $ docker rm ulyme_jekyll_1 finally, start a new docker container that’s running it the background docker-compose up -d This is a requirement if you made major changes to your site such as adding or removing plugins, etc.

December 6, 2025 · 1 min · ulysses

more search and replace

A couple of years ago, I converted this website from WordPress to Jekyll. At that time, I didn’t bother removing some header data that came with WordPress because it was tedious. It required editing over 1100 files. But with the help with some search and replace commands, I was able to mass delete specific lines from 1130 files in less than 5 minutes. Here are the search and replace commands I ran. ...

December 4, 2025 · 1 min · ulysses

file upload

I created a page for uploading file using HTML, PHP, CSS and Javascript. HTML displays the page PHP handles the input form Javascript displays the upload status CSS provides styling and spinning status Using the Roboto Google font In addition, I also had to tweak the /etc/php.ini settings to allow upload of large files. file_uploads = On upload_max_filesize = 200M post_max_size = 200M max_file_uploads = 20 Here’s the code all wrapped in a single file. ...

December 2, 2025 · 2 min · ulysses

gallery

I just built a photo gallery from scratch with some help from node.js and lightbox modal to render the images and the galleries. I use docker-compose to install the node.js environment. With some help from Copilot, I created 2 node.js scripts to generate the index and gallery files. 2 node.js scripts: createIndex.js - scans the root directory for any galleries and adds them to the index.html file. createGallery.js - scans the targeted gallery directory for JPG image files, creates a gallery and saves it as index.html. The gallery pages are justified and are rendered on the fly when the browser is resized. To build a new galleries, simply create a new directory, drop the images in that directory, and run a couple of scripts to generate the index and gallery files. Once the gallery files are generated, I simply upload to AWS S3 bucket using a couple of custom shell scripts. ...

November 19, 2025 · 1 min · ulysses

nodejs web server docker

Create a node.js web server running on docker. create an index.js. // index.js const express = require('express'); const app = express(); const port = 3000; app.get('/', (req, res) => { res.send('Hello from Node.js in Docker!'); }); app.listen(port, () => { console.log(`App listening at http://localhost:${port}`); }); install node sudo apt install npm npm init -y npm install express create a Dockerfile # Dockerfile FROM node:alpine WORKDIR /app COPY package*.json ./ RUN npm install COPY . . EXPOSE 3000 CMD ["node", "index.js"] create docker-compose.yml file ...

November 17, 2025 · 1 min · ulysses

nikon to fuji adapter

Two months ago, I bought a K&F Nikon to Fujifilm lens adapter that will allow Nikon lenses to be used on a Fuji camera. I have several Nikon prime lenses for the picking. Nikon 24mm F2.8D Nikon 35mm F2D Nikon 50mm F1.4D In addition, I also have a couple of Nikon G lenses. Nikon 24-85mm F3.5-4.5G Nikon 18-200mm F3.5-5.6G It’s not 100% compatible. It’s all manual focus on the Fuji camera even though the lenses are autofocus.

October 31, 2025 · 1 min · ulysses

fujifilm simulation cc muted

I’m sharing my custom Classic Chrome fujifilm simulation called CC Muted. It’s based on Classic Chrome. Here’s the recipe. Film Simulation: Classic Chrome Grain Effect: Off Color Chrome Effect: Off Color Chrome FX Blue: Off White Balance: Auto Dynamic Range: DR400 D Range Priority: Off Tone Curve: H -1, S +1 Color: -3 Sharpness: +1 Hign ISO NR: 0 Clarity: 0

October 26, 2025 · 1 min · ulysses

fujifilm simulation noir

I’m sharing by black and white fujifilm simulation called Noir. It’s based on Acros +R with DR set to 400. Here’s the recipe. Film Simulation: Across + R Monochromatic Color: WC 0, MG 0 Grain Effect: Off Color Chrome Effect: Off Color Chrome FX Blue: Off White Balance: Auto Dynamic Range: DR400 D Range Priority: Off Tone Curve: H 0, S 0 Sharpness: 0 Hign ISO NR: 0 Clarity: 0

October 26, 2025 · 1 min · ulysses

viltrox 28mm f4.5 af

I purchased a pancake lens from Viltrox. It’a 28m lens which is a 42mm equivalent on full frame. It comes with a fixed aperture at f4.5 with autofocus. It’s sharp in the center as well as in the edges. There’s a little bit of vignetting on the edges and some flare if you shoot at certain angles at the sun. It’s not quite up to par with the other Viltrox 27mm f1.2 that I own, but it’s super lightweight lens and easy to carry around. It’s perfect lens for street photography if you just want to snap pictures randomly without lugging a heavy lens. ...

October 26, 2025 · 2 min · ulysses

list file types

How to list file types in the current directory. #!/bin/bash fileTypes=("/*.NEF" "/*.JPG") for i in "${fileTypes[@]}" ; do echo $i done

October 21, 2025 · 1 min · ulysses