First we start by creating a wineprefix and installing our prerequisites from terminal:
WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks dotnet452 vcrun2010 corefonts
WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks win7
#!/bin/fish | |
# Place this file into ~/.config/fish/completions or another completions directory | |
# https://fishshell.com/docs/current/completions.html#where-to-put-completions | |
# List the help page | |
set __todo_txt_help_output (todo.sh help) | |
# Commands | |
set -l todo_commands (string match -r '^\s{4}([[:lower:]]+).*$' -g $__todo_txt_help_output) | |
set -l commands_descriptions (string match -r '^\s{4}(\w+[[:ascii:]]+).*$' -g $__todo_txt_help_output) |
# 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, ... }: | |
{ | |
nix = { | |
package = pkgs.nixUnstable; | |
extraOptions = '' |
First we start by creating a wineprefix and installing our prerequisites from terminal:
WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks dotnet452 vcrun2010 corefonts
WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks win7
{ pkgs ? import <nixpkgs> | |
, lib ? pkgs.lib | |
, desktopEnvironment | |
}: with pkgs; | |
desktopEnvironment { | |
session-manager = emptty; | |
window-manager = [ sway labwc ]; | |
screen-display = { | |
use = kanshi; # autorandr | |
gui = wlay; |
<?xml version="1.0" encoding="UTF-8"?> | |
<openbox_config> | |
<keyboard> | |
<keybind key="XF86AudioMute"> | |
<action name="Execute"> | |
<command>bash ~/Projects/bin/volume mute</command> | |
</action> | |
</keybind> | |
<keybind key="XF86AudioRaiseVolume"> |
{ config, pkgs, lib, ... }: | |
{ | |
# This sway config is mostly based on https://nixos.wiki/wiki/Sway | |
# which integrates sway with systemd in the style described here | |
# https://github.com/swaywm/sway/wiki/Systemd-integration | |
# and the replies in https://github.com/NixOS/nixpkgs/issues/57602 | |
# with some individual packages added/removed and using sddm as the display manager. | |
# | |
# Take care to start the correct target as described by the sway proejct wiki. |
FROM elixir:latest | |
# Install debian packages | |
RUN apt-get update && \ | |
apt-get install --yes build-essential inotify-tools postgresql-client git && \ | |
apt-get clean | |
ADD . /app | |
# Install Phoenix packages |
(* | |
RecursiveTypesAndFold-2.fsx | |
Related blog post: http://fsharpforfunandprofit.com/posts/recursive-types-and-folds-2/ | |
*) | |
// ============================================== | |
// PART 2 - Introducing Folds | |
// ============================================== |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |