Skip to content

Instantly share code, notes, and snippets.

View redrush85's full-sized avatar

Alexander Kuts redrush85

View GitHub Profile
@JesseFinch
JesseFinch / live_memory_usage.sh
Last active July 11, 2017 15:14
top 20 process by memory usage
#!/bin/bash
watch -n 1 'bash memory_usage.sh'
@vmrob
vmrob / channel.cpp
Last active March 29, 2021 23:40
Go channels in C++
#include <future>
#include <iostream>
#include <thread>
#include <queue>
template <typename T>
class concurrent_queue {
private:
std::queue<T> _queue;
std::mutex _mutex;
@kristianmandrup
kristianmandrup / Converting libraries to Ember CLI addons.md
Last active March 12, 2025 04:26
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.