Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
- gcc
Create a shortcut with this as the target, and then potentially assign a keyboard shortcut via autohotkey or the like. | |
C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation | |
fsutil volume diskfree c: | |
wmic logicaldisk get size,freespace,caption | |
#Powershell | |
Get-WmiObject -Class Win32_LogicalDisk | Where { $_.DriveType -eq 3 } |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
sudo sh ./VMware-Workstation-Full-*.*.bundle --console --required --eulas-agreed | |
# Adding the serial number to the above command is optional if you are evaluating it | |
--set-setting vmware-workstation serialNumber #####-#####-#####-#####-##### |
http://permalink.gmane.org/gmane.linux.ubuntu.devel.utah/24 | |
I did some research on installing proprietary drivers and came across | |
ubiquity/use_nonfree and ubiquity/nonfree_package. It's a bit of a hack, | |
because it wasn't intended for this kind of functionality, but it looks like | |
you could set ubiquity/use_nonfree to true, and it will install the packages | |
defined in ubiquity/nonfree_package. This by default is a metapackage called | |
ubuntu-restricted-addons, but you could add the packages you need here. It | |
would look cleaner than using success_command. |
#!/bin/bash | |
# Usage: | |
# | |
# sudo ./restore-file-from-package.sh <filepath> | |
# | |
# Restore a file from the package that provides it. | |
# | |
# Source: http://askubuntu.com/a/67028/30482 | |
# using --force-confask instead of confmiss to |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
// dimensions Cherry MX connector | |
var c_corr = 0.4 // tolerance | |
var c_horiz = 1.1 // horizontal bar width | |
var c_vert = 1.0 // vertical bar width | |
var c_dia = 4 // cross width | |
var c_depth = 7 // connector depth | |
var c_space = 7 // height of hollow inside | |
var c_inset = 0.75 // distance connector start to keycap base | |
// stuff |
#!/bin/sh | |
# This script lists user defined search engines in Chromium. | |
# It replaces {inputEncoding}, which appears in some search engine definitions, with | |
# UTF-8, {google:baseURL} with the Google URL, and omits other such tokens. | |
# Location of Chromium's 'Web Data' SQLite3 file | |
CHROMIUM_WEB_DATA="$HOME/.config/chromium/Default/Web Data" | |
# Location to create temporary copy of 'Web Data', since the database is locked while |