- 2015-02-20: OX 10.10.5 on Apple hardware can successfully build
- NOTE: Credit and thanks to Amit Singh
- Reference:
#!/usr/bin/env bash | |
# TODO: Look at nixpkgs/pkgs/build-support/setup-hooks/auto-patchelf.sh | |
# https://ms-vsliveshare.gallery.vsassets.io/_apis/public/gallery/publisher/MS-vsliveshare/extension/vsliveshare/0.3.423/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage | |
set -eu | |
TOOLS="patchelf xsel" | |
DEPS="utillinux.out openssl.out icu zlib curl.out lttng-ust libsecret libkrb5" |
## enable multilib see https://wiki.archlinux.org/index.php/Multilib | |
sudo vim /etc/pacman.conf | |
## this is not a comprehensive list as installed on an existing system, look for errors in the terminal after running the Eve Launcher exe | |
sudo pacman -S wine wine_gecko winetricks q4wine wine-mono lib32-gnutls samba lib32-mpg123 lib32-sdl lib32-libldap lib32-libpulse | |
mkdir ~/Wine | |
cd ~/Wine | |
WINEARCH=win32 WINEPREFIX=~/Wine/win32 winecfg |
## Builder for NixOS configurations defined at the end of the file to be built into KVM VM's | |
{ system ? builtins.currentSystem }: | |
let | |
loadcfg = cfgfile: { config, pkgs, ...}: { | |
imports = [ <nixos/modules/virtualisation/qemu-vm.nix> cfgfile ]; | |
config = { | |
networking.extraHosts = '' | |
176.32.0.254 template | |
''; |
'use strict'; | |
import React, { | |
AppRegistry, | |
Component, | |
StyleSheet, | |
Text, | |
View, | |
TouchableOpacity, | |
LayoutAnimation, | |
} from 'react-native'; |
Currently considering https://github.com/webdriverio/webdrivercss
Core Goals:
- Can test in up-to-date versions of all major browsers
- Can test on up-to-date versions of all major OSes
- Can test in IE9 (because Bootstrap v4 will support IE9+)
- Don't want to have to setup/maintain our own cluster of VMs running all the necessary OSes (and all the versions of Windows)
- Workflow for management of reference/baseline/norm screenshots
To use this bot:
- Download
ads_bot.py
andrequirements.txt
. - Type
pip install -r requirements.txt
to install the requirements. - Fill out the required information in the Python file.
- Ideally, create a (free) Slack account and set up a web hook to receive notifications from the bot.
- Run the script :)
- Relax and be ready to answer incoming calls :D
This puzzle has 3 parts:
- A i3wm config that opens mutt in a dedicated workspace. $mod+m will switch to this workspace and will launch mutt, if not already running. Actually it doesn't launch mutt, but…
- a small wrapper script, which opens a named pipe and then starts mutt.
- a checkmail script which uses mailcheck(1) to tara check mail. If new mail is available, it blinks the CAPS LOCK led (which I mapped to CTRL anyway) and marks the mutt workspace via a bell.
Additional configuration:
- set your terminal to mark urgent bells. In Termite the setting is "urgent_on_bell = true".
- adopt you ~/.mailcheckrc to include paths to your mailboxes. In the simplest case it contains just the line "$(HOME)/Maildir/INBOX"
set -x | |
wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_2%7Ewheezy_all.deb | |
dpkg -i zfsonlinux_2~wheezy_all.deb | |
apt-get update | |
apt-get install -y debian-zfs | |
DISK_SIZE=$(parted /dev/sda unit MB print | grep '^Disk' | sed -r 's/.* ([0-9]+)MB.*/\1/') | |
# Partitions |
This is a post by Joel Spolsky. The original post is linked at the bottom.
This is such a common question here and elsewhere that I will attempt to write the world's most canonical answer to this question. Hopefully in the future when someone on answers.onstartups asks how to split up the ownership of their new company, you can simply point to this answer.
The most important principle: Fairness, and the perception of fairness, is much more valuable than owning a large stake. Almost everything that can go wrong in a startup will go wrong, and one of the biggest things that can go wrong is huge, angry, shouting matches between the founders as to who worked harder, who owns more, whose idea was it anyway, etc. That is why I would always rather split a new company 50-50 with a friend than insist on owning 60% because "it was my idea," or because "I was more experienced" or anything else. Why? Because if I split the company 60-40, the company is going to fail when we argue ourselves to death. And if you ju