- Install with Encrypted LVM
sudo apt-get install sysfsutils
sudo echo 'power/mem_sleep = deep' > /etc/sysfs.d/mem_sleep.conf
-- little helper function | |
function file_exists(path) | |
local attr = lighty.stat(path) | |
if (attr) then | |
return true | |
else | |
return false | |
end | |
end | |
function removePrefix(str, prefix) |
const data = require('./Slack/javascript/2018-05-14.json'); | |
const usersExport = require('./Slack/users.json'); | |
// Load all users into memory. | |
const users = {}; | |
const contributors = {}; | |
usersExport.forEach(user => { | |
users[user.id] = user.profile.display_name_normalized ? user.profile.display_name_normalized : user.profile.real_name_normalized; | |
}); |
# KDE Backports | |
sudo add-apt-repository ppa:kubuntu-ppa/backports | |
sudo apt-get update | |
sudo apt-get install curl | |
# Yarn | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update |
const data = require('../Downloads/Slack/diversity-inclusion/2019-03-07.json'); | |
const usersExport = require('../Downloads/Slack/users.json'); | |
// Load all users into memory. | |
const users = {}; | |
const contributors = {}; | |
usersExport.forEach(user => { | |
users[user.id] = user.profile.display_name_normalized ? user.profile.display_name_normalized : user.profile.real_name_normalized; | |
}); |