Skip to content

Instantly share code, notes, and snippets.

View amadrzyk's full-sized avatar

amadrzyk amadrzyk

View GitHub Profile
@amadrzyk
amadrzyk / tweets.css
Created April 5, 2021 23:27
Indify Tweets CSS
.tweetDiv {
box-shadow: 0 2px 3px rgb(0 0 0 / 12%);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
border-radius: 15px;
}
.tweetDiv:hover {
box-shadow: 0 14px 20px rgb(0 0 0 / 25%);
}
@amadrzyk
amadrzyk / notion_last_updated_formula.txt
Last active August 3, 2022 02:45
Notion – Last Updated (Days Ago)
if(
dateBetween(
now(),
prop("Last Edited Time"),
"days"
) == 0,
"Today ✅",
concat(
format(
dateBetween(
@amadrzyk
amadrzyk / vertical-align.html
Last active June 21, 2017 22:17
How to Vertically Align a Div
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Vertical Align</title>
<style>
html, body {
width: 100%;
height: 100%;
overflow: hidden;
@amadrzyk
amadrzyk / BinaryTreeTraversal.java
Created October 4, 2016 03:24
Week 3 – Western Tech Interview Prep
import java.util.*;
public class BinaryTreeTraversal {
// Definition for a binary tree node.
public static class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
}
@amadrzyk
amadrzyk / LinkedListCycle.java
Created September 26, 2016 21:48
Week 2 – Western Tech Interview Prep
public class LinkedListCycle {
static class ListNode {
int val;
ListNode next;
ListNode(int x) {
val = x;
next = null;
}
}
@amadrzyk
amadrzyk / Intersection.java
Last active September 26, 2016 21:50
Week 1 – Western Tech Interview Prep
import java.util.HashSet;
import java.util.Iterator;
public class Intersection {
public static int[] intersection(int[] nums1, int[] nums2) {
/*
ALGORITHM STEPS
put everything from second array into hashset