Config WSL2 Ubuntu
Config Shared Drive projects
Create VHDX dirve
Mount-VHD -PATH "D:\Ricardo\projects.vhdx" -PassThru
wsl --mount \\.\PHYSICALDRIVE2
Create VHDX dirve
Mount-VHD -PATH "D:\Ricardo\projects.vhdx" -PassThru
wsl --mount \\.\PHYSICALDRIVE2
## Custom Plugins: | |
## git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
## git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting | |
## Spaceship theme: | |
## git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" | |
## ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
Install some dependences
// improve battery perform
sudo add-apt-repository ppa:linrunner/tlp
sudo sh -c 'echo "deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# frozen_string_literal: true | |
module Resourceable | |
extend ActiveSupport::Concern | |
included do | |
before_action :set_resource, only: %i[show edit update destroy] | |
before_action :authorize_resource | |
helper_method :resource |
require 'pp' | |
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'u-case', '~> 4.2.1' | |
gem 'pry-byebug' | |
gem 'awesome_print' | |
gem 'activesupport', require: 'active_support/all' |
sudo add-apt-repository ppa:linrunner/tlp | |
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
A collection of Splunk recipes for Heroku logs. Instructions for setting up Splunk Storm with Heroku can be found here. For the vast majority of these recipes you'll need to have enabled the Heroku labs feature, log-runtime-metrics, for your application.
# fino-time.zsh-theme | |
# Use with a dark background and 256-color terminal! | |
# Meant for people with RVM and git. Tested only on OS X 10.7. | |
# You can set your computer name in the ~/.box-name file if you want. | |
# Borrowing shamelessly from these oh-my-zsh themes: | |
# bira | |
# robbyrussell |
Atom Sync |
#!/bin/sh | |
set -eu | |
snap list --all | awk '/disabled/{print $1, $3}' | | |
while read snapname revision; do | |
sudo snap remove "$snapname" --revision="$revision" | |
done | |
#observation: I copied this script from another person but i don't remember where. |