window.addEventListener('resize', resizeWidth)
function resizeWidth() {
console.log('resize')
const body = document.getElementsByTagName('body')[0]
var heRatio = window.innerHeight / 1080
var widRatio = window.innerWidth / 1920
var ratio = widRatio + ',' + heRatio
body.style.transform = 'scale(' + ratio + ')'
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
version: "3" | |
services: | |
jce-janusgraph: | |
image: janusgraph/janusgraph:0.5 | |
container_name: jce-janusgraph | |
environment: | |
JANUS_PROPS_TEMPLATE: cql-es | |
janusgraph.storage.hostname: 192.168.0.1 | |
janusgraph.storage.port: 9042 |
- open the
.idea/workspace.xml
- find
RunDashboard
- add new option
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
I have a similar issue today, and stuck me half day to fix it.
For most case, using below is fine for developing.
<dependency>
<groupId>com.netease</groupId>
thrift
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
REGEDIT4 | |
[HKEY_CURRENT_USER\Control Panel\Desktop] | |
"FontSmoothing"="2" | |
"FontSmoothingType"=dword:00000002 | |
"FontSmoothingGamma"=dword:00000578 | |
"FontSmoothingOrientation"=dword:00000001 |
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
sudo rm -rf /private/var/log/asl/*.asl |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>规格选择</title> | |
<style> | |
*, | |
html, | |
body, |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>规格选择</title> | |
<style> | |
*, | |
html, | |
body, |
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
function cartesian() { | |
return _.reduce(arguments, function (a, b) { | |
return _.flatten(_.map(a, function (x) { | |
return _.map(b, function (y) { | |
return x.concat([y]) | |
}) | |
}), true) | |
}, [[]]) | |
} |
NewerOlder