I hereby claim:
- I am nequissimus on github.
- I am nequissimus (https://keybase.io/nequissimus) on keybase.
- I have a public key ASDqaMkXDVb_rTV0hxln75zh7FYuEyQS-8qM1DPyPk1mCAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
stdenv.mkDerivation rec { | |
name = "gnutar-${version}"; | |
version = "1.30-unstable"; | |
src = fetchgit { | |
url = "http://git.savannah.gnu.org/r/tar.git"; | |
rev = "7340f67b9860ea0531c1450e5aa261c50f67165d"; | |
sha256 = "03q5vglkx891asl8jmn850vkks6bkv5np6n9abqfwjgd9i32h10h"; | |
}; |
<?xml version="1.0"?> | |
<!DOCTYPE module | |
PUBLIC '-//Puppy Crawl//DTD Check Configuration 1.3//EN' | |
'http://www.puppycrawl.com/dtds/configuration_1_3.dtd'> | |
<!-- | |
Checkstyle configuration that checks the Google coding conventions from Google Java Style | |
that can be found at https://google.github.io/styleguide/javaguide.html. | |
Checkstyle is very configurable. Be sure to read the documentation at | |
http://checkstyle.sf.net (or in your downloaded distribution). |
// What is the output of this program? | |
// a) x = 2 | |
// b) x = 3 | |
// c) compile-error | |
// d) runtime exception | |
// e) something else _____ | |
abstract class Eggs { | |
abstract void m(); | |
Eggs() { |
// What does this program output? | |
class S { | |
static final int I = 7; | |
static { | |
System.out.println("S"); | |
} | |
} |
gdisk /dev/sda # make 1 partition | |
mkfs.vfat -n BOOT /dev/sda1 | |
mkfs.btrfs -L root /dev/sdb | |
mkfs.btrfs -L docker /dev/sdc | |
mount -t btrfs -o noatime,discard,ssd,autodefrag,compress=lzo,space_cache /dev/sdb /mnt/ | |
btrfs subvolume create /mnt/nixos | |
umount /mnt/ | |
mount -t btrfs -o noatime,discard,ssd,autodefrag,compress=lzo,space_cache,subvol=nixos /dev/sdb /mnt/ |
{ config, pkgs, ... }: | |
{ | |
imports = [ ./hardware-configuration.nix ./xterm.nix ./ohmyzsh.nix ]; | |
boot = { | |
cleanTmpDir = true; | |
initrd.checkJournalingFS = false; |
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix |
import org.parboiled2._ | |
import scala.util.{ Success, Failure } | |
import java.net.{ InetAddress, Inet4Address } | |
import java.time.{ LocalDateTime => LDT } | |
import java.time.format.{ DateTimeFormatter => DTF } | |
object Main extends App { | |
import Logs._ | |
List(l1, l2, l3, l4, l5) foreach { l => |
# Original from http://www.jayway.com/2014/01/15/how-to-switch-jdk-version-on-mac-os-x-maverick/ | |
function setjdk() { | |
if [ $# -ne 0 ]; then | |
removeFromPath '/System/Library/Frameworks/JavaVM.framework/Home/bin' | |
if [ -n "${JAVA_HOME+x}" ]; then | |
removeFromPath $JAVA_HOME | |
fi | |
export JAVA_HOME=`/usr/libexec/java_home -v $@` | |
export PATH=$JAVA_HOME/bin:$PATH |