This is just a dummy file to get started
This file contains hidden or 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
[{"field":"date", | |
"datatype":"time", | |
"type":"numeric", | |
"unique":true, | |
"derived":[{"resolution":"month"}]}, | |
{"field":"searchstring", | |
"datatype":"searchstring", | |
"type":"text", | |
"unique":true}, | |
{"field":"series", |
This file contains hidden or 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(){function n(n){return null!=n&&!isNaN(n)}function t(n){return n.length}function e(n){for(var t=1;n*t%1;)t*=10;return t}function r(n,t){try{for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}catch(r){n.prototype=t}}function u(){}function i(n){return aa+n in this}function o(n){return n=aa+n,n in this&&delete this[n]}function a(){var n=[];return this.forEach(function(t){n.push(t)}),n}function c(){var n=0;for(var t in this)t.charCodeAt(0)===ca&&++n;return n}function s(){for(var n in this)if(n.charCodeAt(0)===ca)return!1;return!0}function l(){}function f(n,t,e){return function(){var r=e.apply(t,arguments);return r===t?n:r}}function h(n,t){if(t in n)return t;t=t.charAt(0).toUpperCase()+t.substring(1);for(var e=0,r=sa.length;r>e;++e){var u=sa[e]+t;if(u in n)return u}}function g(){}function p(){}function v(n){function t(){for(var t,r=e,u=-1,i=r.length;++u<i;)(t=r[u].on)&&t.apply(this,arguments);return n}var e=[],r=new u;return t.on=function(t,u){var i,o=r.get(t);return arguments |
This file contains hidden or 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
d3.selectAll("code") | |
.filter(function(d) { | |
try {JSON.parse(d3.select(this).text()); | |
return true } | |
catch(exception) { | |
return false}}) | |
.each(function(d) { | |
d3.select(this).on("click",function() { |
This file contains hidden or 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
[client] | |
user = _www | |
password = mysecret | |
[mysqld] | |
myisam_sort_buffer_size = 512M | |
read_rnd_buffer_size = 8M | |
read_buffer_size = 4M | |
max_heap_table_size = 1024M | |
tmp_table_size = 1024M |
This file contains hidden or 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
import Text.Pandoc | |
import Text.Pandoc.Walk (walk,query) | |
import Text.Pandoc.Builder | |
-- | |
--Functions to first build up a new document consisting of | |
--all the header blocks or all the bold entries outside of headers. | |
--These will be recombined into a new document. |
This file contains hidden or 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
ubuntu@ip-172-30-0-121:~/bookworm-setup$ cat install.sh | |
apt-get install emacs | |
apt-get install apache2 | |
apt-get install mysql-server | |
apt-get install libmysqlclient-dev | |
apt-get install git | |
apt-get install make |
This file contains hidden or 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
MariaDB [DEGREES]> SELECT cip,cipTitle,SUM(count) FROM degrees NATURAL JOIN cip WHERE year=2010 AND school=186131 and variable="TOTAL" AND level=5 GROUP BY cip; | |
+---------+----------------------------------------------------------------------+------------+ | |
| cip | cipTitle | SUM(count) | | |
+---------+----------------------------------------------------------------------+------------+ | |
| 4.0201 | Architecture. | 15 | | |
| 5.0104 | East Asian Studies. | 10 | | |
| 5.0108 | Near and Middle Eastern Studies. | 13 | | |
| 14.0701 | Chemical Engineering. | 36 | | |
| 14.0801 | Civil Engineering, General. | 18 | | |
| 14.0901 | Computer Engineering, General. | 44 | |
This file contains hidden or 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
American Empire (1942) | Western | American __ | |
---|---|---|---|
American Teen (2008) | Documentary | American __ | |
American Nymphette 2 (2001) (V) | Adult | American __ | |
An American Journalist (2009) | Drama | An American __ | |
An American Journalist (2009) | Short | An American __ | |
American Arab (2013) | Biography | American __ | |
American Arab (2013) | Documentary | American __ | |
American Arab (2013) | Family | American __ | |
American Arab (2013) | News | American __ | |
An American Dream (1966) | Drama | An American __ |
This file contains hidden or 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
layers = $(subst .shp,.topojson,$(subst shapefiles/,topojson/,$(wildcard shapefiles/*.shp))) | |
all: $(layers) | |
topojson/%.json: shapefiles/%.shp | |
ogr2ogr -f GeoJSON $@ $< | |
topojson/%.topojson: topojson/%.json | |
topojson -s .000001 -p -o $@ $< |