Check out WSATools by Simone Franco: https://www.microsoft.com/store/apps/9N4P75DXL6FG
- Launch Windows Subsystem for Android.
Check out WSATools by Simone Franco: https://www.microsoft.com/store/apps/9N4P75DXL6FG
type CamelCase<S extends string> = S extends `${infer P1}_${infer P2}${infer P3}` | |
? `${Lowercase<P1>}${Uppercase<P2>}${CamelCase<P3>}` | |
: Lowercase<S> | |
type KeysToCamelCase<T> = { | |
[K in keyof T as CamelCase<string & K>]: T[K] | |
} | |
type CamelToSnakeCase<S extends string> = S extends `${infer T}${infer U}` ? |
cd ~ | |
sudo apt-get install unzip zip | |
# see https://developer.android.com/studio#command-tools for latest commandline-tools | |
wget https://dl.google.com/android/repository/commandlinetools-linux-9123335_latest.zip | |
unzip commandlinetools-linux-6858069_latest.zip -d Android | |
rm commandlinetools-linux-6858069_latest.zip | |
sudo apt-get install -y lib32z1 openjdk-8-jdk # or install openjdk-11-jdk | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
export PATH=$PATH:$JAVA_HOME/bin | |
printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc |
Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
#!/usr/bin/env python | |
# | |
# Based on a script by Donald Feury | |
# https://gitlab.com/dak425/scripts/-/blob/master/trim_silenceV2 | |
# https://youtu.be/ak52RXKfDw8 | |
import math | |
import sys | |
import subprocess | |
import os |
It's quite common to open up a pull request on GitHub and be confronted with the message This branch has conflicts that must be resolved
. This situation arises when you create a feature branch on an older commit from the master branch. Maybe you forgot to run git pull master
before git checkout -b geocoding_vignette
or maybe a collaborator changed some of the same files on GitHub while you've been working on new things. There are many ways to fix this. One is using the Web Editor build into GitHub and fixing conflicts by hand. This works great if there are not too many conflicts.
Another technique is to rebase your pull request onto the master branch (Move your additional commits on top of the most recent master commit). This is conceptually clean, but sometimes confusing in practice to do cleanly. This example walks through the process where you want to do a rebase, and resolve conflicts by overwriting whatever is on the master branch with change
Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
dhclient
is the Dynamic Host Configuration Protocol (DHCP) Client one would use to allow a client to connect to a DHCP server.
$ sudo nano /etc/rc.local
#!/bin/bash
dhclient
exit 0
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git