apt-get update && apt-get dist-upgrade
apt-get install open-vm-tools # VMware VMs Only
sh -c 'echo vm.swappiness=5 > /etc/sysctl.conf' # Prod Env
reboot
Some of these packages may already be installed
<!-- | |
2015.10.29 | |
Hong SeongChan ([email protected]) | |
------------------------------------------- | |
모바일 웹 페이에서 개발하고 있는 앱이 실행이 안되길래 샘플코드를 작성해 봄. | |
이 소스의 전제 조건은 uri scheme 방식이 적용된 앱을 기준으로 한다. | |
Android 앱의 경우 intent를 이용한 방식을 주로 사용했겠지만, 모바일 웹을 고려한다면 uri scheme을 적용하는게 유리하다. | |
(웹쪽 코드가 단순해 진다.) | |
아래 코드는 이러한 전제로 작성되었다. | |
--> |
#!/usr/bin/swift | |
// | |
// ipa_generator.swift | |
// | |
// Created by Naoki Tsutsui on 2014/10/29. | |
// Copyright (c) 2014年 Naoki Tsutsui All rights reserved. | |
// | |
/* |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks |
I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.
I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...
javascript:(function(){var surl='http://twitter.xguru.net/index.php?s=';var reply=prompt('%EA%B2%80%EC%83%89%EC%96%B4 %EC%9E%85%EB%A0%A5%ED%95%98%EC%84%B8%EC%9A%94!');if(!reply) return; window.open(surl+reply, '_blank', 'width=670,height=700,scrollable=1,resizable=1');})(); |
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |