This is just a “victory dance” sort of post about setting up a multi-branch build, for a Mercurial project, from a JenkinsFile. When I first tried to do this sthing, I recieved a message reading; ERROR: No configured Mercurial installation which was annoying. I hadn’t needed to setup Mercurial before, why did I need to now? Turns out, the workaround/worksforme from here this bug solves the problem by defining the default Mercuiral setup as … the … default?
This is a short example of moving platforms in Unity3D. Based on this tweet, I spent … 30 minutes? Maybe? putting it together. This writeup took longer. The approach uses two behaviour classes to achive the classical effect of moving platforms that follow some path. mark some empty GameObject as Waypoint instances give each Waypoint a next field attach a Mover instance to your platform(s) drag the platform towards the next Waypoint at a fixed rate when you’ve reached the Waypoint, continue with its next one My example;
This is a followup to a previous post because that one stopped working, now - this works. There’s not a lot of OC here, just clarity. NameCheap DynDNS on a Pi3 I use NameCheap (because they’re anti-SOPA) for DNS. The client program, ddclient, can connect to NameCheap. I’m using raspbian, so, first; run sudo apt-get install ddclient on your Pi find the dynamic DNS settings on NameCheap’s website Dashboard >>> Domain List >>> Manage >>> Advanced DNS they do like to change these things around halfway down the page, there should be a DYNAMIC DNS thingie enable it (if you haven’t already) note the blurb-what-looks-like-a-SHA edit your /etc/ddclient.
I connected my Windows desktop to our office file server using SSHFS rather than SaMBa. I am happy about that. For some reason one of our SaMBa systems got twitchy sometime last month. This is a problem since I’ve inherited a script that; I don’t yet understand runs on Windows (10?) exclusively reads data from \\foo\bar\project\user\project3\data\something paths Since I know that SSHFS already works, I’m setting that up as a substitue.
This has been replaced Pi3 DynDNS I want to give my home’s Raspberry Pi3 a DNS name so that I can access it more easily. DNS and Dynamic IP Addresses The Domain Naming System is how those readable textual names like example.com become the actual IP Addresses like 127.0.0.1 that web pages, email, and everything else needs to work. Various groups allow people to register a domain (or subdomain) and specify the IP address of a computer that the domain should reffer to.
GitHub pages allow a GitHub repository to function as a web-server thing. … whatevs … create a repository on GitHub I created game-SpaceShips at firstname.lastname@example.org:g-pechorin/game-SpaceShips.git run these from the root; rm -dfr .git git init git checkout -b gh-pages git add . git commit -m "some stuffff or what" git remote add origin email@example.com:g-pechorin/game-SpaceShips.git git push -f origin gh-pages enjoy!
I haven’t posted anything in awhile … so here’s how to get Atom.io to get macros that work kind-of-like NotePad++ Install atom-keyboard-macros into Atom. > The default keybindings did nothing for me … sorry open your keybindings.cson Hit CTRL+, > click on Keybindings > click on the blue text that says your keymap file paste this wodge into the bottom of your keybindings.cson PRESERVE THE INDENTATION!
This seemed a lot longer when I planned it in my notebook at lunch. GitHub user project (both sides) BitBucket user SCM Schedule ocornut imgui g-pechorin None Periodic Install hg-git You’ll have to do this on the Jenkins server You’ll have to do it either for the Jenkins user or all I’m using an OsX machine as my host, so I was able to use easy_install to install hg-git and dulwich setup a project on GitHub create a Jenkins Freestyle project which runs periodically Polling the SCM was NOT an option since there’s no default branch on GitHub … this is a quirk of hg-git … I think … IIRC/YRMV - so sling me a tweet or whatever if I’m wrong program the job to pull from git, push to hg, and ignore results of 1
I have an old Unity project that I haven’t looked at in awhile - this one. If memory serves; assembling a WebGL version is slow and boring - so I’m making my eager little Jenkins server do it. Really I’m a bit bored with sbt-launch malarkey and I wanted to see if I could get this rolling. Broadly the steps that I followed went like this; Install Unity (5.
In which I ramble a bit about setting up CI for this very blog. I have a Jenkins server running on my OsX computer. (… or … I’m setting one up anyway) I also have (am establishing?) a blog built by Hexo … because that seems the right way to do this sort of thing. My constraints of “MarkDown” and “no really - let me use MarkDown because I’m going to have a lot of code fragments” seem alien to most blogging software - “Hexo delivers” as the kids say.