In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
james@james-Streacom ~/Archive rustup update | |
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' | |
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu' | |
info: latest update on 2018-04-19, rust version 1.27.0-nightly (ac3c2288f 2018-04-18) | |
info: downloading component 'rustc' | |
73.1 MiB / 73.1 MiB (100 %) 1.4 MiB/s ETA: 0 s | |
info: downloading component 'rust-std' | |
57.9 MiB / 57.9 MiB (100 %) 1.4 MiB/s ETA: 0 s | |
info: downloading component 'cargo' | |
4.3 MiB / 4.3 MiB (100 %) 1.3 MiB/s ETA: 0 s |
#!/usr/bin/perl | |
# Copyright 2013, 2015, 2017 Nitor Creations Oy, Jonas Berlin | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
# Copyright 2013, 2015-2016 Nitor Creations Oy, Jonas Berlin | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
james@james-Streacom ~ cd /tmp/ | |
james@james-Streacom /tmp sudo apt-get install linux-headers-`uname -r` | |
[sudo] password for james: | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
linux-headers-4.13.0-38-generic is already the newest version (4.13.0-38.43). | |
linux-headers-4.13.0-38-generic set to manually installed. | |
The following package was automatically installed and is no longer required: | |
bubblewrap |
james@james-Streacom ~ git clone https://github.com/gnosis/MultiSigWallet.git | |
Cloning into 'MultiSigWallet'... | |
remote: Counting objects: 5981, done. | |
remote: Compressing objects: 100% (34/34), done. | |
remote: Total 5981 (delta 16), reused 19 (delta 7), pack-reused 5939 | |
Receiving objects: 100% (5981/5981), 39.37 MiB | 339.00 KiB/s, done. | |
Resolving deltas: 100% (4607/4607), done. | |
james@james-Streacom ~ cd MultiSigWallet | |
james@james-Streacom ~/MultiSigWallet master npm install | |
npm WARN deprecated ethereumjs-testrpc@4.1.3: ethereumjs-testrpc has been renamed to ganache-cli, please use this package from now on. |
james@james-Streacom ~/wiki-eth-james master snap install brave | |
snap "brave" is already installed, see "snap refresh --help" | |
james@james-Streacom ~/wiki-eth-james master snap remove brave | |
brave removed | |
james@james-Streacom ~/wiki-eth-james master snap install brave | |
brave v0.21.24dev from 'brave' installed | |
james@james-Streacom ~/wiki-eth-james master brave | |
zsh: command not found: brave | |
✘ james@james-Streacom ~/wiki-eth-james master snap remove brave | |
brave removed |
james@james-Streacom ~ parity --warp-barrier 5362706 | |
2018-04-05 02:22:23 Starting Parity/v1.11.0-unstable-060205ab2-20180403/x86_64-linux-gnu/rustc1.25.0 | |
2018-04-05 02:22:23 Keys path /home/james/.local/share/io.parity.ethereum/keys/Foundation | |
2018-04-05 02:22:23 DB path /home/james/.local/share/io.parity.ethereum/chains/ethereum/db/906a34e69aec8c0d | |
2018-04-05 02:22:23 Path to dapps /home/james/.local/share/io.parity.ethereum/dapps | |
2018-04-05 02:22:23 State DB configuration: fast | |
2018-04-05 02:22:23 Operating mode: active | |
2018-04-05 02:22:23 Configured for Foundation using Ethash engine | |
2018-04-05 02:22:24 Updated conversion rate to Ξ1 = US$375.07 (12696042 wei/gas) | |
2018-04-05 02:22:33 Public node URL: enode://9ef16ec635015d4a0609e333956f3ea1281f8c704f25d2d651f719a407ed5abf3b748a3e280474b23fbc13f43ec36972709fe34e400762a394332be07baf3852@10.0.0.67:30303 |
james@james-Streacom:~/pyethereum/sharding$ sudo docker build . | |
Sending build context to Docker daemon 711.7 kB | |
Step 1/24 : FROM ubuntu:trusty | |
trusty: Pulling from library/ubuntu | |
c954d15f947c: Pull complete | |
c3688624ef2b: Pull complete | |
848fe4263b3b: Pull complete | |
23b4459d3b04: Pull complete | |
36ab3b56c8f1: Pull complete | |
Digest: sha256:e1c8bff470c771c6e86d3166607e2c74e6986b05bf339784a9cab70e0e03c7c3 |
$ grep -i 'apparmor.*denied' /var/log/syslog | sort -uk12,12 | |
Jan 19 12:11:44 james-Streacom kernel: [ 1243.518218] audit: type=1400 audit(1516324304.691:131): apparmor="DENIED" operation="create" profile="/usr/bin/evince//sanitized_helper" pid=4894 comm="WebKitWebProces" family="netlink" sock_type="raw" protocol=0 requested_mask="create" denied_mask="create" | |
Jan 19 11:01:55 james-Streacom kernel: [ 3443.867198] audit: type=1400 audit(1516320115.513:125): apparmor="DENIED" operation="exec" profile="/usr/bin/evince" name="/bin/dash" pid=7738 comm="evince" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 | |
Jan 19 12:59:09 james-Streacom kernel: [ 4088.301201] audit: type=1400 audit(1516327149.446:146): apparmor="DENIED" operation="file_mmap" profile="snap.akasha.akasha" name="/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf" pid=6997 comm="akasha" requested_mask="m" denied_mask="m" fsuid=1000 ouid=0 | |
Jan 19 10:47:22 james-Streacom kernel: [ 2571.053151] audit: type=1400 audit(1516319242.706:123): appar |