-
Get Python Wheel pgAdmin4
wget https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v2.0/pip/pgadmin4-2.0-py2.py3-none-any.whl -
Install pip3
sudo apt install python3-pip
| // https://github.com/alfonsomunozpomer/react-fetch-mock | |
| import React from 'react' | |
| import fetchMock from 'fetch-mock' | |
| import Enzyme from 'enzyme' | |
| import {shallow, mount, render} from 'enzyme' | |
| import Adapter from 'enzyme-adapter-react-16' | |
| Enzyme.configure({ adapter: new Adapter() }) |
| /** | |
| * 贪灵Gollum for Baiduyun, Ver.3.4.4 | |
| * 立即执行函数:百度云盘批量转存用户分享。 | |
| * | |
| * 【特点】 | |
| * - 可保持或无视原分享者的目录结构。 | |
| * - 支持差分转存。 | |
| * - 自动分解转存,可突破单次转存总文件数5000的限制。 | |
| * - 可在分享主页下,进入某文件夹来转存其下级子文件夹。 | |
| * - 支持专辑转存。 |
| chrome.webRequest.onBeforeSendHeaders.addListener( | |
| function(details) { | |
| if (details.type === 'xmlhttprequest') { | |
| var exists = false; | |
| for (var i = 0; i < details.requestHeaders.length; ++i) { | |
| if (details.requestHeaders[i].name === 'Referer') { | |
| exists = true; | |
| details.requestHeaders[i].value = 'http://www.baidu.com'; | |
| break; | |
| } |
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso
| Connect to your Mac's localhost from within a VMWare virtual machine. | |
| - Boot up VMware and fire up your VM (i'm using Windows 7) | |
| - Make sure that the VM is using NAT | |
| - Fire up the command prompt in Windows and type "ipconfig". IN the resulting text look for your IPv4 address. It will be something like 192.168.xxx.xxx | |
| - Now go to your browser in your VM and type that ip address into the url bar but change the last set of digits to be 2 (or 1). | |
| - so as an example if your ip was found to be 192.168.213.200 change it to be 192.168.213.2 | |
| - Assuming that your localhost is running on your mac you should get your localhost in your VM browser. | |
| - If you need to add a non standard port number on the end like 8090 go ahead and do so. |