I have a GoGS server for my work. I want to back it up off-site to our GitLab instance. According to a document I read this should be possible using post-receive hooks. Follow me on this magical adventure to git-enlightenment. I’m doing all of this by editing my post-receive hook and then force-pushing a nonsense commit to kick git. Pre-Work Digging around in the GoGS repository settings turned up a panel to edit the hooks.
WARNING; this configuration doesn’t seem to delete old builds. Ever, see; https://issues.jenkins-ci.org/browse/JENKINS-34738. I’ve worked around it by putting the following blurb near the top of my JenkinsFile // https://issues.jenkins-ci.org/browse/JENKINS-34738 // https://stackoverflow.com/questions/35370810/how-do-i-use-jenkins-pipeline-properties-step/35471196#35471196 properties ( [ [ $class: 'BuildDiscarderProperty', strategy: [ $class: 'LogRotator', artifactDaysToKeepStr: '14', artifactNumToKeepStr: '3', daysToKeepStr: '14', numToKeepStr: '3' ] ] ] ) This is just a “victory dance” sort of post about setting up a multi-branch build, for a Mercurial project, from a JenkinsFile.
Someone has ported Doom (1993) to VR and it is as vomit-inducing-awesome in VR as you would expect. WARNING; The nausea won’t stop when you pull the headset off. Your body will need a bit longer to get used to non-VR. During this “cool off” I kept experiencing VR-sickness building. Anyway; downloading it from the releases page unzip it and copy in a DOOM.WAD (Doom95 in my case) start SteamVR (and turn on your Vive and controllers) launch it with the .
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 email@example.com: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 firstname.lastname@example.org: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