(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/sh | |
# Can be snapshot or release | |
DEFAULTREVISION=release | |
# Pull out latest snapshot version | |
REVISION=${1-$DEFAULTREVISION} | |
REGEX="(?<=$REVISION\": \").*?[^\\\\](?=\")" | |
VERSION=`curl -silent "http://s3.amazonaws.com/Minecraft.Download/versions/versions.json" | grep -Po "$REGEX"` | |
if [ "$VERSION" = "" ]; then | |
echo "Invalid Version"; exit |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
The following will give you the latest git tag name (if the HEAD is tagged) or latest commit ID otherwise. The getAppVersion
function returns the end value.
I use it to name packages of my builds and other versioning purposes in my Android projects.
def getAppVersion = { ->
def stdout = new ByteArrayOutputStream()
The discord.js interactions PR has been merged, and d.js master (v13 dev) now has proper support for slash commands!
Official resources:
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<dir>~/.fonts</dir> | |
<!-- | |
Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' | |
" IdeaVim Wiki https://github.com/JetBrains/ideavim/wiki | |
" Find more examples here: https://jb.gg/share-ideavimrc | |
" The Essential IdeaVim Remaps https://towardsdatascience.com/the-essential-ideavim-remaps-291d4cd3971b | |
let mapleader=" " | |
""" Common settings | |
set showmode | |
set scrolloff=5 | |
" Do incremental searching. |
The original FTB Ultimate for MC 1.4.7 crashes during startup with new versions of Java. This applies to any 1.4.7 modpack including Forestry or Railcraft. A crash might look like the following:
[SEVERE] [Railcraft] The mod Railcraft is expecting signature a0c255ac501b2749537d5824bb0f0588bf0320fa for source railcraft.jar, however there is no signature matching that description
[SEVERE] [Railcraft] Tampering Detected. Please re-download Railcraft.
java.security
and save it in the instances base folder (the .minecraft
folder)-Djava.security.properties=java.security