recommends settings for security in WeeChat
do not say when /part and /quit
/set irc.server_default.default_msg_part = ""
/set irc.server_default.default_msg_quit = ""
about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar.
Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and
rendering normally. Some settings may also make firefox unstable.
I am not liable for any damages/loss of data.
Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions
(HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".
Quick idea to understand what modules get imported.
Example:
>>> import importlog
# Run a bunch of code
>>> import shapely.geometry
>>> p = shapely.geometry.Point(0.0, 0.0)
>>> b = p.buffer(1.0)
| test_postgis=# select count(*) from sigpac_47_valladolid_parfe; | |
| count | |
| -------- | |
| 342691 | |
| test_postgis=# select sum(st_memsize(the_geom_webmercator)) from sigpac_47_valladolid_parfe; | |
| sum | |
| ----------- | |
| 254827296 | |
| (1 row) |
| psql DBNAME -c "\\copy (SELECT ST_AsGeoJson(ST_Union(the_geom)) AS the_geom, attribute2, attribute3 FROM TABLENAME) to '/PATH/TO/YOUR/DESIRED/FILE.geojson'" |
| FROM debian:7 | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN apt-get -qq update \ | |
| && apt-get -qq -y --no-install-recommends install \ | |
| autoconf \ | |
| automake \ | |
| build-essential \ | |
| curl \ |
| L.tileLayer.fancyCanvas = function(url){ | |
| var layer = L.tileLayer.canvas({async: true}); | |
| layer.setUrl(url); | |
| var dataSource = function(x, y, z, done){ | |
| var url = layer.getTileUrl({x: x, y: y, z: z}); | |
| d3.xhr(url).responseType('arraybuffer').get(done); | |
| }; | |
| layer.data = function(fn){ | |
| dataSource = fn; |
| request (49) | |
| underscore (36) | |
| glob (20) | |
| once (19) | |
| lru-cache (15) | |
| optimist (14) | |
| async (14) | |
| minimatch (14) | |
| lodash (13) | |
| node-uuid (13) |
I recently made my first map with MapBox's new WebGL+JavaScript API. There aren't many examples of how to do this yet, even on MapBox's API page, so I'll document my own experience here.
My map is made of several textures taken from Van Gogh paintings. The long-term goal is to allow a user to select which artworks they want to take textures from, but for now there is just one setting.