- slides
- outline
- intro
- problem definition
- how did you solve it
how did you do it
- swift -> react
- it is complicated
- HTML
- it is complicated
- swift -> react
- outline
- JS (es6)
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
#!/usr/bin/env python3 | |
# Copyright (c) 2017-2021 The Bitcoin Core developers | |
# Distributed under the MIT software license, see the accompanying | |
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | |
"""Block transmit test | |
This is based on the example_test.py file, here the test tries | |
to generate a block in node1 send it to node2 and verify that | |
they received the block | |
""" |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"io/ioutil" | |
"net" | |
"net/http" | |
"os" | |
"time" |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBGHTFp0BEADJMgfiJcxUMgajcNBSXZgWZEiiO/5IVDXjfinwyGe7Fx16uQsE | |
SYBZTcvn68ZZgKCoFVScsHCEf6lmHwwTW0pXqpVsmcT0ht15jtxDMxTBKQtCT2su | |
vEzBIH2pNK99vdlIjEMVR9hpYpCHV/MQyuHKib/m7WjW6gtHFjm2IVFCCeqAVXAj | |
V1HOQD5FBNcQyK+uTyvqqMUdzvPlJqdCxNqLMmeY18AcrpkQyyEWLwym0Yq6qxF0 | |
CKDWeYuBycEIqA9qXD3jWDJBR/cYBFFEakCaa87u3rC3o8TAm+aoV/QJn0/+lRoL | |
u2WApH8zj8Z64W/sM2ITaAYeLImkArJyruahaitUEYryJg6zImP39K3d9ZyDvsZi | |
yojBvrNF3AiO8KShPTY6geGgN0oxwDre7ajORfeYe4BWW7yRN/Tlz/hF6gHl+K/M | |
L0DtT5iiv8TU3kedXsxSaI8djw6X8igYWUftBxGex3VORQGb8evauyIr8wjstbNI |
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
Name: crc-w6m86-master-0 | |
Roles: master,worker | |
Labels: beta.kubernetes.io/arch=amd64 | |
beta.kubernetes.io/os=linux | |
kubernetes.io/arch=amd64 | |
kubernetes.io/hostname=crc-w6m86-master-0 | |
kubernetes.io/os=linux | |
node-role.kubernetes.io/master= | |
node-role.kubernetes.io/worker= | |
node.openshift.io/os_id=fedora |
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
const net = require('net'); | |
const homedir = require('os').homedir(); | |
const path = require('path'); | |
const SOCKET_PATH = path.join(homedir, ".crc", "crc.sock"); | |
function sendCommand(command, args) { | |
if (command === "") { | |
console.log("Command is required!!") | |
return |
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
$tempDir = $args[0] | |
$startUpFolder = "$Env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" | |
function RemoveUserFromServiceLogon | |
{ | |
# security template to modify SeServiceLogonRight | |
$securityTemplate = @" | |
[Unicode] | |
Unicode=yes | |
[Version] |
Many users of Git are curious about the lack of delta compression at the object (blob) level when commits are first written. This efficiency is saved until the pack file is written. Loose objects are written in compressed, but non-delta format at the time of each commit.
A simple run though of a commit sequence with only the smallest change to the image (in uncompressed TIFF format to amplify the observable behavior) aids the understanding of this deferred and different approach efficiency.
Create the repo: