Based on this article
ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does
This script can be copy paste to ssh as is. No hands installation. :-)
yum install zsh -y
ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does
This script can be copy paste to ssh as is. No hands installation. :-)
yum install zsh -y
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' cert-name.pem |
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' cert-name.pem |
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
/* | |
* hex2bytes - hex string of unlimited length to a continous block of bytes | |
* Copyright (C) 2018 Bernhard Arnold <bernhard.arnold@cern.ch> | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
import scala.annotation.tailrec | |
class Graph[A](m: Map[A, Set[A]]): | |
type Vertex = A | |
type GraphMap = Map[Vertex, Set[Vertex]] | |
private def neighbors(v: Vertex): List[Vertex] = | |
m.get(v).map(_.toList).getOrElse(List.empty[Vertex]) | |
def search(start: Vertex, end: Vertex): Boolean = | |
@tailrec | |
def bfs(toVisit: List[Vertex], visited: List[Vertex]): Boolean = |
This document assumes the use of Linux as the chosen development platform. Items in bold are highly recommended.
It is recommended to use SocketCAN when working with CAN bus on Linux. It is supported by the Linux kernel mainline and follows the Linux interface model, allowing you to use other network tools such as Wireshark. This also allows the creation of virtual CAN interfaces where no physical hardware is required to simulate or replay CAN messages.
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
closely match default behavior on Windows systems. This makes the Command key | |
behave like Windows Control key. To use Control instead of Command, either swap | |
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
or replace @ with ^ in this file. | |
Here is a rough cheatsheet for syntax. | |
Key Modifiers |
#!/usr/bin/python | |
################################# | |
# ~~~~~symlink | |
# | |
# version: 0.11 | |
# | |
# creates a relative symbolic link pointing to the | |
# directory specified in the argument after '-to'. | |
# |