A workaround for developers who cannot build Ruby from source code on their machine.
brew install ruby@<version>
ln -s $(brew --prefix ruby@<version>) ~/.rbenv/versions/<version>
For exmaple
A workaround for developers who cannot build Ruby from source code on their machine.
brew install ruby@<version>
ln -s $(brew --prefix ruby@<version>) ~/.rbenv/versions/<version>
For exmaple
https://www.youtube.com/watch?v=g5csrk0u2Ko
NOTE: not an authenticated nor authorized translation.
Yesterday, is the photo on the wall.
Today, is the scenery passing through the car window.
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>iTunes Subscribed Feeds</title> | |
<dateCreated>Fri, 03 Mar 2017 08:41:34 GMT</dateCreated> | |
<dateModified>Fri, 03 Mar 2017 08:41:34 GMT</dateModified> | |
</head> | |
<body> | |
<outline text="硬影像" type="rss" xmlUrl="http://ipn.li/hardimage/feed" htmlUrl="https://ipn.li/hardimage/" /> | |
<outline text="一天世界" type="rss" xmlUrl="http://ipn.li/yitianshijie/feed" htmlUrl="https://ipn.li/yitianshijie/" /> |
For some HDMI switches (e.g. ATEN), to make HDMI hot plugging work well with Raspberry Pi, set the following in /boot/config.txt
:
hdmi_force_hotplug=1 # always output HDMI even if not plugged in
hdmi_drive=2 # always output audio to HDMI
hdmi_group=1 # use CET mode (compatible with TV)
hdmi_mode=16 # use 1080p; otherwise it may switch to SD resolution
References:
var Pie = React.createClass({ | |
defaultProps: { | |
percentage: 0 | |
}, | |
calculateAngle: function(percentage) { | |
return (percentage) * (360 / 100); | |
}, | |
render: function() { | |
var angle = this.calculateAngle(this.props.percentage); |
http://paletton.com/ | |
(present = Full Colors) | |
Lightest Lighter Base Darker Darkest Hue ~= | |
#FF6363 #FF3939 #FF0000 #C50000 #9B0000 R 0 | |
#FFA863 #FF9139 #FF7100 #C55700 #9B4500 RO 30 | |
#FFCB63 #FFBD39 #FFAA00 #C58300 #9B6700 O 60 | |
#FFE463 #FFDD39 #FFD300 #C5A300 #9B8000 OY 90 |
Hacking CORS restriction to enable in-browser XHR to any server.
Say you are running an web app at localhost, and you want to send XHR to http://remote-server:80
, but the CORS restriction forbids access because you are sending requests from an origin that remote-server:80 does not allow.
Run: