Other articles

  1. How to list all images in a folder, sorted

    PHP script

    This PHP script lists all images in a folder, in descending order. The files are shown as images.

    <?php
    array_multisort(array_map('filemtime', ($files = glob("*.jpg"))), SORT_DESC, $files);
    foreach($files as $filename)
    {
        echo "<a href='http://nerdegutta.org/".substr($filename, 0, -4).".jpg'><img src='http://nerdegutta.org/".substr …
    read more
  2. Notes about Linux / Ubuntu

    Things I always forget

    To edit the main menu in Ubuntu:

    sudo apt-get install alacarte

    Alacarte

    To read large SD cards install exfat and utils

    sudo apt-get install exfat-fuse exfat-utils

    Access /dev/ttyUSB

    sudo usermod -a -G dialout $USER

    or

    sudo adduser $USER dialout

    sudo reboot

    To run crontab every 5th …

    read more
  3. Blender notes

    Some notes on using Blender

    • Shift+a = Add menu

    Add menu

    • Alt+c = Convert to Mesh

    Conver to Mesh

    • Change Render engine to Cycles Render

    Change Render

    • Change material -> Click Material -> Use Notes -> Change color -> Rename

    Material

    • Numpad 5 = Orthographic mode, Numpad 1 = Camear View

    • Choose Camera view, hit n, tick, "Lock camera to view" -> Move freely around …

    read more
  4. Backup your data

    Backup - It's needed!

    This is my bakupscript from the web server.

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    #!/bin/bash
    
    day=$(date +%A-%d%m%y-%H%M%S)
    
    echo "Make …
    read more
  5. Get uniqe IPs from apache access log

    Apache log files

    Apache logs everything that is going on with the server. The two intersting files are errlr.log and access.log. I'm goig to use the access.log fil, to get uniqe IP's, that's been visiting my side.

    Open a terminal, I use the shortkey ctrl + alt + t …

    read more
  6. Marlin Prusa 3D printer

    My 3d printer

    My 3D printer is a DIY version of the Marlin Prusa. Some of the materials I had to buy, some I had to make from plywood, and some I had to print out.

    It all began when I made a CNC machine, after a while removing material …

    read more
  7. Getting to know Pelican.

    sø. 29 oktober 2017

    This article is for me to mess around in and getting to know Pelican and the Markdown syntax.

    Installation process

    First Apache and PHP

    To install Apache and PHP I opened a terminal, and logged on to my Raspberry Pi with SSH:

    ssh pi@192.168.0.100
    

    After logging …

    read more
  8. New site, up and running

    lø. 28 oktober 2017

    Testing out Apache and Pelican

    After some time without my own web server, the urge to get one was too overwhelming. Like the last time, I put out one of my Raspberry Pi's and installed Rasbian. Then I installed Apache and PHP. Now, I needed to find a small CMS …

    read more

Page 1 / 1

blogroll

social