Skip to content

Instantly share code, notes, and snippets.

View iamthebot's full-sized avatar

Alfredo Luque iamthebot

View GitHub Profile
@iamthebot
iamthebot / array_to_list.cpp
Last active March 31, 2017 21:28
Array to Linked List
/*C++*/
template<typename T>
struct ListNode {
next *ListNode = nullptr;
T data;
};
template <typename T>
ListNode* vec_to_list(std::vector<T> array) {
ListNode* root = new ListNode;
@iamthebot
iamthebot / PKGBUILD
Created May 11, 2016 00:25
slack-desktop 2.0.4 PKGBUILD
# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
# Contributor: Simon Gomizelj <simongmzlj(at)gmail(dot)com>
# Contributor: Kyle Manna <kyle(at)kylemanna(dot)com>
pkgname=slack-desktop
pkgver=2.0.4
pkgrel=1
pkgdesc="Slack Desktop (Beta) for Linux"
arch=('i686' 'x86_64')
url="https://slack.com/apps"