Ramblings of a clueless tinkerer

Compiling synergy 1.10.3 on a Raspberry Pi

May 02, 2020

I have a Raspberry Pi(RPi) setup with Synergy server, and both my laptop and desktop are clients for it. This allows me to turn off either laptop or desktop, and still be able to use the shared keyboard. I am currently running Synergy 1.11.0 on the RPi, 1.10.3 on the laptop with Manjaro, and I think 1.11.1 on Windows 10 desktop. I was having issues with Synergy (which were fixed without the need…
Continue reading "Compiling synergy 1.10.3 on a Raspberry Pi" →

Stuttering in Minecraft when walking while using Synergy

May 02, 2020

I have a raspberry pi setup with Synergy server, and both my laptop and desktop are clients for it. This allows me to turn off either laptop or desktop, and still be able to use the shared keyboard. In the Windows 10 client, I didn't encounter any issues (well, my button 4/5 for back and forward aren't working in Windows, but there are fixes for it). However, when I play Minecraft on Linux, I…
Continue reading "Stuttering in Minecraft when walking while using Synergy" →

Sleep for Docker Minecraft

April 04, 2020

Using docker-minecraft-server I realized I could leverage docker's Based on the guide by Michiel Bruijn on Mojang bug reports If you aren't running a docker minecraft server then their guide will fit you. make a shell script with the following (remember to modify CONTAINER): and name it . This script checks for established connections, if it doesn't find any, it calls docker and pauses the…
Continue reading "Sleep for Docker Minecraft" →

iptables for my minecraft server

April 01, 2020

With a minecraft server set up, I want to make it so people can access the server without putting my home network in jeopardy. Right now, the minecraft server runs on docker inside a VM with bridged network. In other words, it's in the same subnet as my home network. I thought about keeping it in another subnet but I don't have a smart switch and the server handles stuff within the home network…
Continue reading "iptables for my minecraft server" →

The ordeal of KVM on Ubuntu 18.04

March 18, 2020

It actually wasn't meant to be this hard, only I didn't know what I was getting myself into. My particular issue was a host with docker installed. Docker modifies iptables and would cause the bridge connection to fail. This is a collection of the most relevant resources I've used to make it happen. Host: HP Proliant DL360 G7 Ubuntu 18.04.4 server with Docker Guests: Ubuntu 18.04.4 CentOS 7 Setting…
Continue reading "The ordeal of KVM on Ubuntu 18.04" →

What is your life's purpose?

August 24, 2019

Or what do you want to do? what do you want your legacy to be? or if you are younger, what do you want to be when you grow up? These are different ways to ask the same question. A terribly hard and vague question to answer, why be? In fact, I struggled for many years trying to answer it. I wanted to be a doctor, a healer. I wanted to be a computer scientist, build things with my mind. I want to be…
Continue reading "What is your life's purpose?" →


June 09, 2018

I'm currently undergoing changes for this website. I'll be posting more articles about UX and development and setting up a portfolio. I have left my old job and decided to try re-focus my career. For the near future I am interested in short-term or contract remote work due to medical reasons. Please come back soon after I have redesigned/developed the website!
Continue reading "Restructuring" →

compiled nginx in ubuntu 16.04

June 09, 2018

Compiling nginx in ubuntu and want it to work with systemd? Installed location was You'd need to change This is the file and then run PIDFile will depend on what you put in (default is so potentially you can just have ) Then and to confirm it running. If you are happy with the results, enable it to make it run on boot References: 1 https://github.com/arut/nginx-rtmp-module 2 https://github…
Continue reading "compiled nginx in ubuntu 16.04" →

Setting up google cloud print on a raspberry pi

June 09, 2018

Setup raspberry pi 2 with Octopi (raspbian 8 jessie) printer: Samsung ML-2510 Install and configure CUPS I won't go over installation of CUPS, this is well documented and will be dependent on your printers. I suggest making your raspberry pi's IP static, saves a bit of headaches from the CUPS server configuration. drivers: Not sure which one is the one I needed, but these install drivers for…
Continue reading "Setting up google cloud print on a raspberry pi" →

Blender w/ CUDA for Ubuntu 16.04

June 09, 2018

Quick commands This installs the latest stable Nvidia drivers and necessary tools. After a restart (might not be necessary) start blender and go into and under choose . Reference https://blender.stackexchange.com/questions/7485/enabling-gpu-rendering-for-cycles https://blender.stackexchange.com/questions/31045/cuda-rendering-on-linux-mint-or-ubuntu-variants/31111#31111
Continue reading "Blender w/ CUDA for Ubuntu 16.04" →

Git on windows

October 04, 2017

Git bash on windows allows you to generate an ssh key by using openssl. 1 However if you try to run it doesn't let you use the ssh key generated. Instead you'll need to do: 2 I had tried running the ssh-agent as stated by github's page but git bash would still ask me to provide password for git@host.com rather than asking for id_rsa password. Update: Today I encountered this issue again and…
Continue reading "Git on windows" →

2017-05-06 Translation of "Lack of Time Syndrome, the meaning of hurried lifestyle" by Seaweed Bear.

May 17, 2017

Loose transcript of 匱乏時間症候群,匆忙人生的意義:海苔熊 This is the first draft of the translation. I hope to clean it up later. Hello everyone, I'm seaweed bear. Right after listening the last talk I didn't know where to look. Since every time I have come I talk about the topic of love, and they just had a talk about it, I really don't know what to talk about now. I feel like today I'll share a bit of my…
Continue reading "2017-05-06 Translation of "Lack of Time Syndrome, the meaning of hurried lifestyle" by Seaweed Bear." →

2017-04-29 Setting samba shares

April 29, 2017

Samba shares have always been a little confusing. Their authentication system doesn't use the UNIX accounts. This is a short guide for Ubuntu 16.04 Install samba: Set a username and password: Figure out what directory you wish to share. Mine was Copy the samba configuration to make a backup and edit the config file to fit your needs I wanted to make the share read only and write for my user…
Continue reading "2017-04-29 Setting samba shares" →

python imports

January 09, 2017

python imports are weird in the sense that you can't just do . Depending on your file structure, things can get a bit complicated. Here's my fix. (based on this http://stackoverflow.com/questions/8951255/import-script-from-a-parent-directory) In this scenario, is my unit test directory and I want to import directory is the parent of the project so we need to add it to for python to be able to…
Continue reading "python imports" →

Owning a Clevo W230SS

November 11, 2015

Or depending on your reseller, Eurocom M4, which is what I have. Content Sound Network a. WiFi b. Bluetooth Sound Headphones don't have sound after suspend or reboot: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1313904 you can download the at the bottom of the comments. run . If it tells you that your product is not supported (and you know for sure it's a w230ss), you can edit the…
Continue reading "Owning a Clevo W230SS" →

Ubuntu issues.

November 02, 2015

For some reason after running , and maybe a few other things happened in between, on my installation of Kubuntu 15.04, KDE had stopped working the way it should. It started with a crash and the screen turned black. Visible was only the mouse cursor which I could move, and IM Contacts which I could move too. Unfortunately I was unable to start any other program from within it, there was no panel…
Continue reading "Ubuntu issues." →

Ionic framework 2015-06-20~2015-07-xx

August 16, 2015

Tutorials Songhop build: https://thinkster.io/ionic-framework-tutorial/ Lynda's Ionic tutorial: part1: https://www.youtube.com/watch?v=93K6xtYxMgg part2: https://www.youtube.com/watch?v=uEziLWMN2VU Angularjs Scope: https://github.com/angular/angular.js/wiki/Understanding-Scopes Angularjs Sharing data across controllers: http://onehungrymind.com/angularjs-sticky-notes-pt-1-architecture/ Autogrowing…
Continue reading "Ionic framework 2015-06-20~2015-07-xx" →

Goals, values, and interests.

August 02, 2015

Life Sciences: For a long time now, probably even since the beginning of high school, I have struggled with the notion of a goal. What do I strive for? Why does everyone else seem to be in control of their lives and working in or towards a career they enjoy, seemingly knowing what the job would entail. Since childhood my parents had always pushed for us to work towards medicine. Being a doctor had…
Continue reading "Goals, values, and interests." →

Business cards

July 16, 2015

Well, for what it's worth, I have finished my design for my business cards. I plan on using these when I'm at TXLF. Without further ado, here they are! Front of business card Back of business card (almost 1:1 scale!, only smaller since I saved bleed area) If you have any comments and critiques, I'm all ears! leave a comment below or catch me on twitter @imdanielch. Hope you like them :D
Continue reading "Business cards" →

Blog redesigned.

July 12, 2015

We stand on the shoulder of giants. It is with great pleasure on my end that I announce a redesign of my blog. This would not have happened without these resources: Tutorial for making Ghost themes from semi-scratch: http://webdesign.tutsplus.com/series/building-a-ghost-theme-from-scratch--webdesign-16179 Amazing and coherent documentation for CSS Flexbox: https://css-tricks.com/snippets/css/a…
Continue reading "Blog redesigned." →

Install Oracle Java on RHEL*

July 12, 2015

Sorry, very lazy at the moment, I just followed this. Unfortunately my theme breaks due to the long URL or something so I am writing this filler text. Really, there's just a link. https://www.digitalocean.com/community/tutorials/how-to-install-java-on-centos-and-fedora
Continue reading "Install Oracle Java on RHEL*" →

Set up Ghost blog in Ubuntu 14.04

July 09, 2015

Here I'd like to walkthrough how to setup Ghost blog 0.5.10 with Apache2 and MySQL. Which is the setup I currently have. I may also write up how to set it up with NginX and SQLite later on. Setting up Ghost blog 0.5.10 with Apache2 and MySQL System Info: Fresh install of Ubuntu 14.04 64bit server. Install NVM to get NodeJS: Ghost Blog currently requires NodeJS version 0.10.x I have found 0.10.2…
Continue reading "Set up Ghost blog in Ubuntu 14.04" →

Installing Aseprite from GitHub

May 08, 2015

Installing Aseprite from source can be a pain, which is why the developer offers a paid prepackaged solution here. This is a tutorial for those who want to test new features and install it from source, and maybe provide feedback to the developer. Update 2015-05-07: There's a GitHub release 22 days ago which compiles properly in Ubuntu 15.04 (have not tested in other distros). You can see it here…
Continue reading "Installing Aseprite from GitHub" →

Windows 8 partition won't mount in Linux.

March 22, 2015

Windows 8.x has issues with being mounted in Linux due to a configuration which makes it save a page file and allows it to boot faster at start up. http://itsfoss.com/solve-ntfs-mount-problem-ubuntu-windows-8-dual-boot/ Will tell you how to disable fast startup. If this doesn't work, you can try restarting from Windows rather than shutting down. If this still isn't fixing the issue, you can just…
Continue reading "Windows 8 partition won't mount in Linux." →

Setting up a server architecture.

March 05, 2015

As you may know, businesses tend to have multiple servers, one which is for production, which is accessed by the public and clients. One for development, where all the programmers and designers work on bringing new features or improving existing ones. I believe it would be nice to have another server which would provide a testing environment. The reason being to avoid possible accidents. In this…
Continue reading "Setting up a server architecture." →

April 16th, 2014 How I want out of this lifestyle

April 17, 2014

It actually probably isn't a surprise to people that I want to change my lifestyle. This including how antisocial I am, the lack of exercise, the job I have, and ultimately, I suppose, my overall satisfaction with life. It has been a while, but tonight I finally decided to go back to one of the meetups I used to go. It was refreshing to see a group of people interested in javascript, or developers…
Continue reading "April 16th, 2014 How I want out of this lifestyle" →

February 18th, 2013 - How I pass my time at work.

February 19, 2014

While at work we all have some break time where we have to wait for something to happen or complete. There's also time where we deal with such mundane tasks which require minimal brain power and our eyes wander to the clock to realize how torpid the minute arm is. In my case, my current tasks require minimal brain usage throughout most of the day and with a few short breaks which do not lend me…
Continue reading "February 18th, 2013 - How I pass my time at work." →

February 3rd, 2014 - How I'm learning Korean.

February 07, 2014

Running Man Logo For over a year I have been hooked to Korean variety shows such as Family Outing Season 1 (Season 2 was weird so I didn't watch it), Running Man, Barefoot Friends (Diving sequence, after that they did home-cooked meals and then got canceled), Cool Kiz on the Block(also known as "Our Neighborhood Arts and Physical Education"), The Human Condition(인간의 조건), Gag Concert, Happy…
Continue reading "February 3rd, 2014 - How I'm learning Korean." →

January 28th, 2014

January 28, 2014

Finally set up https for this server. It is unfortunate but the main reason why it wasn't working was because I had not forwarded port 443 on the router. Silly me. However, all is good now. The server is accessible and marginally secure.
Continue reading "January 28th, 2014" →