dnf install i3
echo "exec i3" > ~/.xinitrc
| #!/bin/bash | |
| # Check before running, may need intervention | |
| # Pass in the following to the script, or hardcode it. | |
| # Uncomment if hardcoding input. | |
| BOOT_PARTITION="/dev/sdg1" | |
| DISK_1="ata-SanDisk_SDSSDXPS480G_152271401093" | |
| DISK_2="ata-SanDisk_SDSSDXPS480G_154501401266" | |
| POOL="vault" |
| # arch uefi dm-crypt zfsroot install (archiso) | |
| # modified to work with current repos as of 2016-06-16 and with hints from | |
| # comments by larskotthoff | |
| # uses only one boot partition for EFI and initramfs | |
| # partition disk | |
| # start at 1MB (sector 2048) | |
| 512Mib EFI |
| class Dog | |
| attr_writer :name | |
| def initialize(name) | |
| @name = name | |
| end | |
| def bark | |
| puts "patrick" | |
| end |
| #!/bin/bash | |
| #This script is best used if modified for each person | |
| #The install can quickly completed if there is a local mirror. | |
| #on an existing arch install, run: darkhttpd /var/cache/pacman/pkg/ | |
| #then set LOCALMIRROR to point to that machine | |
| #It's okay if errors come up, pacman will resolve them. | |
| export LOCALMIRROR="Server = http://192.168.1.1:8080" | |
| export MIRRORLIST="/etc/pacman.d/mirrorlist" |
| # Simple Recommendation Engine in Ruby | |
| # Visit: http://otobrglez.opalab.com | |
| # Author: Oto Brglez <[email protected]> | |
| class Book < Struct.new(:title) | |
| def words | |
| @words ||= self.title.gsub(/[a-zA-Z]{3,}/).map(&:downcase).uniq.sort | |
| end |
| passwd | |
| systemctl enable sshd.service | |
| systemctl start sshd.service | |
| parted -s /dev/sda mklabel gpt | |
| parted -s /dev/sda mkpart "primary" "fat16" "50MB" "60MB" | |
| parted -s /dev/sda mkpart "primary" "ext4" "1%" "99%" | |
| parted -s /dev/sda set 1 bios_grub on | |
| mkfs.ext4 /dev/sda2 |
| require 'bindata' | |
| require 'benchmark' | |
| require 'win32/registry' | |
| require 'io/console' | |
| class GGPK | |
| class UTF16String < BinData::String | |
| def snapshot | |
| super.force_encoding('UTF-16LE') | |
| end |
| diff --git a/lib/compiler/ast/transforms.rb b/lib/compiler/ast/transforms.rb | |
| index 19e1cfb..4e52ec2 100644 | |
| --- a/lib/compiler/ast/transforms.rb | |
| +++ b/lib/compiler/ast/transforms.rb | |
| @@ -59,6 +59,71 @@ module Rubinius | |
| end | |
| end | |
| + # Provide an underscore node that allows partial application in Ruby. | |
| + # Instead of doing a method call, we are going to generate a lambda |