Skip to content

Instantly share code, notes, and snippets.

View zmilan's full-sized avatar

Milan Zivkovic zmilan

View GitHub Profile
@dhh
dhh / linux-setup.sh
Last active September 15, 2024 06:15
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
@MarGraz
MarGraz / Installing Nextcloud 19 without snap on Ubuntu Server 20.04 - No snap.md
Last active August 10, 2023 17:54
Installing Nextcloud 19 without snap on Ubuntu Server 20.04
@HenningTimm
HenningTimm / rust_mem_profiling.md
Last active August 27, 2024 11:23
Memory profiling Rust code with heaptrack in 2019
@kvnxiao
kvnxiao / awesome-selfhosted-sorted-by-stars.md
Last active September 20, 2024 12:29
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@campoy
campoy / home.tmpl
Last active May 4, 2022 19:19
Electron-like html+golang app
<html>
<head>
<title>Hello, from Go</title>
</head>
<body>
<h1>Hello</h1>
<p>
This is Go code running, {{.}}
</p>
</body>
@cherifGsoul
cherifGsoul / Db.php
Last active July 27, 2016 22:43
Proof of concept and example how to implement facades for yii2 components
<?php
namespace app\components\facades;
/**
* Example how to use the facade class
* uses yii\db\Connection
*/
class Db extends Facade
{
@yuval-a
yuval-a / js-micro.js
Last active May 16, 2024 21:01
Javascript micro-optimizations
NOTE: This document is OLD - and most of the tips here are probably outdated, since newer versions of Javascript have been
released over the years - with newer optimizations and more emphasis on optimizing newly supported syntax.
// Array literal (= []) is faster than Array constructor (new Array())
// http://jsperf.com/new-array-vs-literal/15
var array = [];
// Object literal (={}) is faster than Object constructor (new Object())
// http://jsperf.com/new-array-vs-literal/26
@kristianmandrup
kristianmandrup / Converting libraries to Ember CLI addons.md
Last active April 21, 2023 17:14
Guide to Developing Addons and Blueprints for Ember CLI

Converting libraries to Ember CLI addons

In this guide we will cover two main cases:

  • Ember specific library
  • vendor library

Ember library

The Ember library will assume that Ember has already ben loaded (higher in the loading order) and thus will assume it has access to the Ember API.