keyboard fi
lang en_US.UTF-8
timezone --utc Europe/Helsinki
zerombr
install
reboot
| # | |
| # For Arch Linux | |
| # | |
| # Version | |
| version=1 | |
| # Component Font Mappings |
| # Benchmarking for http://stackoverflow.com/questions/9538090 | |
| require 'benchmark' | |
| require 'active_support/core_ext' | |
| events = [{id:2, start:"3:30",break:30,num_attendees:14},{id:3, start:"3:40",break: 40,num_attendees:4},{id:4, start:"4:40",break:10,num_attendees:40}] | |
| time = Benchmark.bm(10) do |bm| | |
| bm.report("amarshall 1") do | |
| 10000.times do |
| /* | |
| Copyright (c) 2017 Chris Patuzzo | |
| https://twitter.com/chrispatuzzo | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| def archive_to_bytes(archive): | |
| def to_seconds(s): | |
| SECONDS_IN_A = { | |
| 's': 1, | |
| 'm': 1 * 60, | |
| 'h': 1 * 60 * 60, |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| # Usage: | |
| # | |
| # Start with: | |
| # | |
| # sudo /use/local/sbin/nginx -c /path/to/this/nginx.conf | |
| # | |
| # Tail logs: | |
| # | |
| # $ sudo tail -f /tmp/access.log /tmp/error.log /tmp/match.log | |
| # |
| # /etc/acpi/events/thinkpad-dock | |
| # This is called when the Thinkpad docks in a series 3 docking station | |
| event=ibm/hotkey HKEY 00000080 00004010 | |
| action=/etc/acpi/thinkpad-dock.sh |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |