Skip to content

Instantly share code, notes, and snippets.

Source: https://gitter.im/syl20bnr/spacemacs?at=5b45e03a60c38707837070b0
Ljupcho Kotev @ljupchokotev 12:47
It's best to use the xclip package
it works flawlessly
Add xclip to dotspacemacs-additional-packages and then (xclip-mode 1) in user-config
all copy/paste will work between terminal/spacemacs/gui/etc
you just need to have xclip installed, which probably already is
@prantor19
prantor19 / Hibernate on ElementaryOS
Last active January 6, 2020 12:16 — forked from choyan/gist:6884351
Hibernate on ElementaryOS
To do so on terminal:
gksu gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Replace gedit with your favorite editor’s command. This command will open a blank file. Copy and paste these lines:
[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
// SmoothScroll for websites v1.2.1
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi (maintainer)
// - Michael Herf (Pulse Algorithm)
(function(){
// Scroll Variables (tweakable)
<?php
/**
* An helper file for Laravel 4, to provide autocomplete information to your IDE
* Generated with https://github.com/barryvdh/laravel-ide-helper
* Updated for Laravel 4.1.20 (2014-02-03)
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
*/
exit('Only to be used as an helper for your IDE');