This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM archlinux:latest | |
RUN pacman -Sy --noconfirm base-devel git | |
RUN mkdir /home/build | |
RUN chgrp nobody /home/build | |
RUN chmod g+ws /home/build | |
RUN setfacl -m u::rwx,g::rwx /home/build | |
RUN setfacl -d --set u::rwx,g::rwx,o::- /home/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M104 S0 ;extruder heater off | |
M140 S0 ; turn off bed | |
G91 ;relative positioning | |
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure | |
G1 Z+5 E-5 X-20 Y-20 F{speed_travel} ;move Z up a bit and retract filament even more | |
G28 X ; home x axis | |
G90 ;absolute positioning | |
G1 Y180 ; move platform forward for access | |
M84 ;steppers off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nix-repl> stdenv = import <nixpkgs> {} | |
nix-repl> b = stdenv.lib.subtractLists stdenv.lib.platforms.i686 stdenv.lib.platforms.unix | |
nix-repl> builtins.trace b b | |
trace: [ { kernel = { families = { bsd = <CODE>; }; }; } { kernel = { families = { darwin = <CODE>; }; }; } { kernel = { _type = "kernel"; execFormat = { _type = "exec-format"; name = "elf"; }; families = { }; name = "linux"; }; } { kernel = { _type = "kernel"; execFormat = { _type = "exec-format"; name = "elf"; }; families = { }; name = "solaris"; }; } { abi = { _type = "abi"; name = "cygnus"; }; kernel = <CODE>; } ] | |
[ { ... } { ... } { ... } { ... } { ... } ] | |
nix-repl> builtins.trace stdenv.lib.platforms.unix stdenv.lib.platforms.unix | |
trace: [ { kernel = { families = { bsd = <CODE>; }; }; } { kernel = { families = { darwin = <CODE>; }; }; } { kernel = { _type = "kernel"; execFormat = { _type = "exec-format"; name = "elf"; }; families = { }; name = "linux"; }; } { kernel = { _type = "kernel"; execFormat = { _type = "exec-format"; name = "elf"; }; fa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@nixos:~/nixpkgs]# nixos-version | |
19.03pre159472.80738ed9dc0 (Koi) | |
[root@nixos:~/nixpkgs]# git rev-parse HEAD | |
6f2475f5bf14963e6f8bdce7bbdc15d7ce7640e1 | |
[root@nixos:~/nixpkgs]# nixos-rebuild -I nixpkgs=/root/nixpkgs switch --show-trace | |
building Nix... | |
building the system configuration... | |
trace: version 19.03.git.6f2475f does not appear in name nixos-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do not modify this file! It was generated by ‘nixos-generate-config’ | |
# and may be overwritten by future invocations. Please make changes | |
# to /etc/nixos/configuration.nix instead. | |
{ config, lib, pkgs, ... }: | |
{ | |
imports = | |
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyswfaws.datastores import * | |
from pyswfaws.serializers import * | |
from pyswfaws.decorators import * | |
from pyswfaws.activityworker import * | |
from pyswfaws.decisionworker import * | |
@activity_task(swf_domain='test', swf_task_type='TestActivityA', swf_task_version='1.0', | |
swf_task_list='task_list', | |
input_data_serializer=JsonSerializer(), input_data_store=SwfDataStore(), | |
result_data_serializer=JsonSerializer(), result_data_store=SwfDataStore()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following are my notes about the book The Antidote by Oliver Burkeman. It's an excellent book and I highly recommend it. | |
Some of the following may not make sense to others. Most are there for me to jog my memory, but you may find them interesting as well. | |
If you do, I encourage you to pick up the book. | |
http://www.amazon.com/Antidote-Happiness-People-Positive-Thinking/dp/0865478015/ | |
The Antidote | |
Oliver Burkeman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following are my notes about the book The Antidote by Oliver Burkeman. It's an excellent book and I highly recommend it. | |
Some of the following may not make sense to others. Most are there for me to jog my memory, but you may find them interesting as well. | |
If you do, I encourage you to pick up the book. | |
http://www.amazon.com/Antidote-Happiness-People-Positive-Thinking/dp/0865478015/ | |
The Antidote | |
Oliver Burkeman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="name">{{Name}}</div> | |
<hr> | |
<div class="map">{{Map}}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://pnc.com | |
--2014-03-12 19:16:22-- http://pnc.com/ | |
Resolving pnc.com (pnc.com)... 161.150.139.129 | |
Connecting to pnc.com (pnc.com)|161.150.139.129|:80... connected. | |
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. | |
Retrying. | |
--2014-03-12 19:16:23-- (try: 2) http://pnc.com/ | |
Connecting to pnc.com (pnc.com)|161.150.139.129|:80... connected. | |
HTTP request sent, awaiting response... 302 Found |
NewerOlder