Using Uni2Me
- It's free but discontinued.
Using UTFCast
- Proprietary software
- Allows conversion from ANSI to UTF-8 with or without BOM
| #!/bin/bash | |
| # | |
| # change variable vm (only virtualbox) and brand for your use | |
| # | |
| vm='VM' # UUID works as well, only for virtualbox | |
| # The brand string needs to have 47 characters! | |
| # The null terminator is added automatically | |
| brand=' Intel(R) Pentium(R) 4 CPU 1500MHz' | |
| if [ ${#brand} -ne 47 ]; then | |
| exit 1 |
| ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
| ### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
| ### You can download all the binaries one-shot by just giving the BASE_URL. | |
| ### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
| ### Script is updated for every JDK release. | |
| ### Features:- | |
| # 1. Resumes a broken / interrupted [previous] download, if any. | |
| # 2. Renames the file to a proper name with including platform info. |
| #! /bin/bash | |
| # Description: show dependency tree | |
| # Author: damphat | |
| if [ $# != 1 ]; then | |
| echo 'Usage: apt-rdepends-tree <package>' | |
| echo 'Required packages: apt-rdepends' | |
| exit 1 | |
| fi |
| function copyFbRecord(oldRef, newRef) { | |
| return Promise((resolve, reject) => { | |
| oldRef.once('value').then(snap => { | |
| return newRef.set(snap.val()); | |
| }).then(() => { | |
| console.log('Done!'); | |
| resolve(); | |
| }).catch(err => { | |
| console.log(err.message); | |
| reject(); |
| curl -s https://api.github.com/users/milanboers/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone |
| 'use strict'; | |
| var React = require('react'); | |
| var BzIframe = React.createClass({ | |
| propTypes: { | |
| src: React.PropTypes.string.isRequired, | |
| onLoad: React.PropTypes.func | |
| }, |
Lately I've been thinking about using my old nexus 7 (from 2012) as a second PC monitor.
I've read articles regarding android apps for this purpose as well as comments from Google Play. Some examples can be found here and here. Bottom line, you have to pay and most likely you will end up struggling with (huge?) lag and/or compatibility issues. I tried splashtop but it felt lacking in some way, it was just mirroring my main monitor and it was free just for the first 5 minutes.
| ############################################################################################################### | |
| # these are instructions for automating the suspend and shutdown of esxi vm's and host in case of a | |
| # power failure. | |
| # works with apc smartups 750xl and esxi 5.5u1 | |
| ############################################################################################################### | |
| 0# make a new VM and install Ubuntu-Server on it | |
| 1# install apcupsd | |
| apt-get install apcupsd |