ElementaryOS - Loki is an amazing ubuntu based distribution, I've just felt in love on it BUT they've removed what's required to install easily the nVidia Proprietary drivers. So here is the reason of this gist, to store the install instructions in one place inside a crystal clear documentation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script can be used to convert .dv files downloaded from a minidv camcorder to .mp4 files convenient for storing/uploading | |
# | |
# The files were imported using iMovie HD 6 on an old Snow Leopard Mac Mini | |
# iMovie can be downloaded at: | |
# https://www.macintoshrepository.org/24547-imovie-6-hd-6-5-1 | |
# | |
# Finding the hardware can be the most challenging part. | |
# You need, an old computer with firewire, a firewire cable with appropriate adapters, and a mini dv camcorder with firewire output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/chrome-remote-desktop b/chrome-remote-desktop | |
index 3d78cd5..c936c0f 100755 | |
--- a/chrome-remote-desktop | |
+++ b/chrome-remote-desktop | |
@@ -75,7 +75,7 @@ XORG_DUMMY_VIDEO_RAM = 1048576 # KiB | |
# with large or multiple monitors. This is a comma-separated list of | |
# resolutions that will be made available if the X server supports RANDR. These | |
# defaults can be overridden in ~/.profile. | |
-DEFAULT_SIZES = "1600x1200,3840x2560" | |
+DEFAULT_SIZES = "1920x1080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ********************************************************************** | |
# "CPU Panel (8-core)" theme for Conky by Tony George ([email protected]) | |
# | |
# Webpage: http://teejeetech.blogspot.in/ | |
# ********************************************************************** | |
background yes | |
double_buffer yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var form = document.getElementById("form1") | |
form.addEventListener("submit", function (e) { | |
if (true === this.isSubmit) { | |
e.preventDefault() | |
} else { | |
this.isSubmit = true | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* imap-attachment.php | |
* | |
* @author hakre <hakre.wordpress.com> | |
* @link http://stackoverflow.com/questions/9974334/how-to-download-mails-attachment-to-a-specific-folder-using-imap-and-php | |
*/ | |
/** | |
* Utility Class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3.5 | |
""" | |
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5. | |
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
This will be only fixes the bluez5 problem mentioned above . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var regex = { | |
Name: /^([\u4e00-\u9fa5A-z\s]{0,})$/, | |
Mobile: /^(09\d{2})?((\+)?886\d{3})?-?\d{3}-?\d{3}$/, | |
Tel: /^(0\d+)-?(-?[\d{7,8}])+(?:(?:#)(\d+))?$/, | |
Address: /^[^;'<>@#\$%\^&\*]+$/, | |
Email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, | |
Integer: /^[+\-]?\d+$/, | |
PositiveInt: /^\d+$/, | |
Numeric: /[0-9]+.[0-9]+/, | |
Url: /(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/, |