h - Move left
j - Move down
k - Move up
l - Move right
$ - Move to end of line
0 - Move to beginning of line (including whitespace)
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
#!/bin/bash | |
# ssh-multi | |
# D.Kovalov | |
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html | |
# a script to ssh multiple servers over multiple tmux panes | |
starttmux() { | |
if [ -z "$HOSTS" ]; then |
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
// | |
// CopyableLabel.swift | |
// | |
// Created by Lech H. Conde on 01/11/16. | |
// Copyright © 2016 Mavels Software & Consulting. All rights reserved. | |
// | |
import UIKit | |
class CopyableLabel: UILabel { |
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
diff --git a/webrtc/base/posix.cc b/webrtc/base/posix.cc | |
index 0eb24ee..7e48273 100644 | |
--- a/webrtc/base/posix.cc | |
+++ b/webrtc/base/posix.cc | |
@@ -44,7 +44,7 @@ enum { | |
bool RunAsDaemon(const char *file, const char *const argv[]) { | |
// Fork intermediate child to daemonize. | |
- pid_t pid = fork(); | |
+ pid_t pid = -1; |
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
// | |
// BlockBasedSelector.h | |
// | |
// Created by Charlton Provatas on 11/2/17. | |
// Copyright © 2017 CharltonProvatas. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
@interface BlockBasedSelector : NSObject |
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
/* | |
* This document is provided to the public domain under the | |
* terms of the Creative Commons CC0 public domain license | |
*/ | |
How to boot Arch Linux ARM in QEMU (patched for M1) | |
Prerequisites: | |
QEMU - patched for M1 processors - patches: https://github.com/utmapp/qemu |
This guide is based on multiple guides as well as official instructions for the other boards found on the Internet:
- https://github.com/RoEdAl/alarm-uboot-sunxi-armv7
- https://uthings.uniud.it/building-mainline-u-boot-and-linux-kernel-for-orange-pi-boards
- https://archlinuxarm.org/platforms/armv7/allwinner/pcduino3
I have gone through all these steps recently and got a working board with my favorite Arch Linux ARM. I hope it will be helpful for someone else.