Made possible with this reddit post.
wine regedit wine-breeze-dark.reg
wine regedit wine-reset-theme.reg
Made possible with this reddit post.
wine regedit wine-breeze-dark.reg
wine regedit wine-reset-theme.reg
注意:指令在後續版本略有修改,建議閱讀專案 README。
這篇文章會簡單描述如何使用 SNAFU Python installer manager。
這個專案源自我對社群不懂 Windows 又愛亂教的不滿。如果有興趣讀相關故事,以及一些背後邏輯,可以參考我在碼天狗上的抱怨文。
A-Frame no longer responds to device motion on Firefox on Android after Firefox version 53.
Kip removed Cardboard support in bug 1250244, which caused the problem. However, A-Frame orientation still works on other non-WebVR non-Cardboard mobile browsers.
Why doesn't the WebVR polyfill kick in and wire up orientation API support?
| int doubler(int x) { | |
| return 2 * x; | |
| } |
| #!/usr/bin/env perl | |
| # This short script queries the icecream scheduler to discover what machines are connected, | |
| # and sums the maximum job counts for all x86-64 machines. | |
| # It can be used in your mozconfig as follows: | |
| # mk_add_options MOZ_MAKE_FLAGS="-j$(icecc-jobs)" | |
| # if this script is on your PATH, and named icecc-jobs | |
| use List::Util qw(sum0); |
| function vacation() { | |
| /* | |
| * trigger when someone submits the form | |
| * 1. add an event to calendar | |
| * 2. send a message to slack channel | |
| */ | |
| // the sheet for form data is called "data" | |
| var sheetName = 'data'; | |
| var calendarID = ''; |
| # Install QEMU OSX port with ARM support | |
| sudo port install qemu +target_arm | |
| export QEMU=$(which qemu-system-arm) | |
| # Dowload kernel and export location | |
| curl -OL \ | |
| https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
| export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
| # Download filesystem and export location |
Document moved to: https://github.com/servo/servo/blob/master/HACKING_QUICKSTART.md
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent| #!/bin/bash | |
| # Define physical ethernet interface to be bridged | |
| # with TAP interface(s) above. | |
| eth="eth0" | |
| eth_ip="192.168.42.2" | |
| eth_netmask="255.255.255.0" | |
| eth_broadcast="192.168.42.255" | |
| eth_gateway="192.168.42.1" | |
| eth_mac="XX:XX:XX:XX:XX:XX" |