Skip to content

Instantly share code, notes, and snippets.

View savkelita's full-sized avatar
🍺
Sta me gledas plati pivo.

Marko Savic savkelita

🍺
Sta me gledas plati pivo.
View GitHub Profile
# Android SDK setup
## Install Java
```bash
sudo apt-get update
sudo dpkg --add-architecture i386
sudo apt-get install libbz2-1.0:i386
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
sudo apt-get install openjdk-8-jdk openjdk-8-jre
@amysimmons
amysimmons / js-tricky-bits.md
Last active October 30, 2024 11:38
Understanding closures, callbacks and promises in JavaScript

#Understanding closures, callbacks and promises

For a code newbie like myself, callbacks, closures and promises are scary JavaScript concepts.

10 months into my full-time dev career, and I would struggle to explain these words to a peer.

So I decided it was time to face my fears, and try to get my head around each concept.

Here are the notes from my initial reading. I'll continue to refine them as my understanding improves.

@djleeds
djleeds / htb-css3-leaderboard-full-multiple.html
Created August 26, 2015 23:30
Hit the Bits! - CSS3 Leaderboard - With Multiple Lists
<html>
<head><title>Animating a List with CSS3 Transitions - Multiple Lists</title></head>
<body>
<!-- Demonstrates one way to animate multiple lists -->
<style type="text/css">
.leaderboard li {
font-family: sans-serif;
font-size: 12px;
@marcedwards
marcedwards / high-dpi-media.css
Last active November 19, 2023 12:56
A CSS media query that captures almost all high DPI aware devices.
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */