Skip to content

Instantly share code, notes, and snippets.

View surapuramakhil's full-sized avatar
🏠
Working from home

Akhil surapuramakhil

🏠
Working from home
View GitHub Profile
@connor11528
connor11528 / silicon-valley-companies-04-2022.tsv
Last active January 1, 2024 19:09
This is a list of all companies that have raised money from investors in the past year and have their corporate headquarters in Silicon Valley
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
@jahe
jahe / jpa-cheatsheet.java
Last active June 12, 2024 15:11
JPA Cheatsheet
/*
JPA (Java Persistence API)
Transaction Management with an Entity-Mananger:
---
entityManager.getTransaction().begin();
entityManager.persist(<some-entity>);
entityManager.getTransaction().commit();
entityManager.clear();
@hackjutsu
hackjutsu / upstream.md
Last active December 11, 2023 07:44
[set upstream] What does '--set-upstream' do? #tags: git
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.

@0xjac
0xjac / private_fork.md
Last active June 28, 2024 19:27
Create a private fork of a public repository

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:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@jahe
jahe / spring-boot-cheatsheet.java
Last active May 25, 2024 03:47
Spring Boot Cheatsheet
// 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);
}
}
@myano
myano / index.md
Last active May 25, 2024 16:51
Merging forked gists into your gist to preserve the history of the gist.

Merging A Forked Gist Into Your Gist

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.

  1. 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.

@jboner
jboner / latency.txt
Last active June 29, 2024 19:54
Latency Numbers Every Programmer Should Know
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