- Ensure running under EFI
# ls /sys/firmware/efi/efivars - Use wifi-menu to connect to network
# timedatectl set-ntp true- Update packages and install reflector:
# pacman -Syyu reflector - Download latest mirrors
# reflector --country 'United Kingdom' --latest 10 --age 24 --sort rate --save /etc/pacman.d/mirrorlist - Create partitons:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def getGitCommit = { -> | |
| def stdout = new ByteArrayOutputStream() | |
| exec { | |
| commandLine 'git', 'rev-parse', '--short', 'HEAD' | |
| standardOutput = stdout | |
| } | |
| return stdout.toString().trim() | |
| } | |
| android { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Distributed under the terms of the BSD License. | |
| # Copyright (c) 2012 Phil Cryer phil@philcryer.com | |
| # Source https://gist.github.com/gists/3333039 | |
| # DESCRIPTION: | |
| # This code updates OpenELEC on Raspberry PI to any available dev version you want | |
| # The script to install the latest version did install the latest, but then failed to run :( | |
| # This script allowed me to try another version (a few days older), which worked :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import hashlib, re, urllib | |
| resources = """<text with links in goes here>""" | |
| def hashfile(afile, hasher, blocksize=65536): | |
| buf = afile.read(blocksize) | |
| while len(buf) > 0: | |
| hasher.update(buf) | |
| buf = afile.read(blocksize) | |
| return hasher.hexdigest() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script is edited by Brice Dutheil | |
| # See there in french http://blog.arkey.fr/2012/07/30/script-pour-installer-le-jdk-5-sur-macosx-lion/ | |
| # Translate button is broken for now, please use Google to translate this website. | |
| # | |
| # 2014/02/10 Updated the script to run on OSX 10.9 Maverick | |
| # | |
| # 2013/05/11 Added a few more guidance when Java Preferences is not available anymore | |
| # Added a simple example of a JDK switch function. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am lwis on github. | |
| * I am lwis (https://keybase.io/lwis) on keybase. | |
| * I have a public key whose fingerprint is 47F3 CA99 D173 8F5E 93DA 02CF 3E4F 5398 B837 176F | |
| To claim this, I am signing this object: |