git branch --set-upstream-to <remote-branch>
# example
git branch --set-upstream-to origin feature-branch
# show up which remote branch a local branch is tracking
git branch -vv
sets the default remote branch for the current local branch.
name | website | round_name | amount_raised | round_date | hq_location | year_founded | description | |
---|---|---|---|---|---|---|---|---|
Lacework | lacework.com | Series D | $1,300,000,000.00 | 2021-11-17 | Mountain View, CA | 2015 | Lacework delivers threat/anomaly detection and compliance across multicloud environments, workloads, containers and K8s. | |
BridgeBio | bridgebio.com | Post Ipo Debt | $750,000,000.00 | 2021-11-17 | Palo Alto, CA | 2014 | Hope Through Rigorous Science | |
SambaNova | sambanovasystems.com | Series D | $676,000,000.00 | 2021-04-12 | Palo Alto, CA | 2017 | SambaNova Systems, Inc. provides software solutions. The Company offers building machine learning and big data analytics platforms which enables optimum performance for any ML training, inference, and analytics models. SambaNova Systems serves customers in the United States. | |
Nuro | nuro.ai | Series D | $600,000,000.00 | 2021-11-01 | Mountain View, CA | 2016 | Join us in accelerating the benefits of robotics for everyday life. | |
Nuro | nuro.ai | Series D | $600,000,000.00 | 2021-11-01 | Mountain View, CA | 2016 | Join us in accelerating the benefits of roboti |
/* | |
JPA (Java Persistence API) | |
Transaction Management with an Entity-Mananger: | |
--- | |
entityManager.getTransaction().begin(); | |
entityManager.persist(<some-entity>); | |
entityManager.getTransaction().commit(); | |
entityManager.clear(); |
git branch --set-upstream-to <remote-branch>
# example
git branch --set-upstream-to origin feature-branch
# show up which remote branch a local branch is tracking
git branch -vv
sets the default remote branch for the current local branch.
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 [email protected]:usi-systems/easytrace.git
// Enable component-scanning and auto-configuration with @SpringBootApplication Annotation | |
// It combines @Configuration + @ComponentScan + @EnableAutoConfiguration | |
@SpringBootApplication | |
public class FooApplication { | |
public static void main(String[] args) { | |
// Bootstrap the application | |
SpringApplication.run(FooApplication.class, args); | |
} | |
} |
Let's say you have a gist (public or private) and someone forks it and makes changes to it. Awesome! However, now you want to merge in their changes to your gist. Unfortunately, it doesn't seem GitHub supports this via their website at the moment, however, you can still merge the gists with 'git' on the command line.
You want to clone your gist. You can locate the link for this under "Clone this gist"
➜ ~/dev » git clone https://gist.github.com/5315168.git
Cloning into '5315168'...
remote: Counting objects: 6, done.
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |