-
We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.
-
We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.
-
We're not laughing about your joke, so we clearly need you explain it to us. In great detail.
-
We're only in tech to find a husband, boyfriend or generally to get laid.
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
Perfect UI has context | |
Middle is what I'm doing, surroundings change dynamically | |
Recently read that somebody wanted middle of their code editor be edit and | |
surroundings display usage, libraries, source of the code use | |
Why would I want "a browser" be a real separate window/application, if it | |
could be just a scalable/dragdrop component around my editing things |
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
FROM ubuntu:16.10 | |
# update the repository | |
RUN apt-get update --fix-missing | |
# install some basics | |
RUN apt-get install -y vim curl wget dialog net-tools \ | |
build-essential strace \ | |
perl libperl-dev python python-dev libxml2-dev libxslt-dev \ | |
libreadline-dev zlib1g-dev \ |
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
BEGIN; | |
SELECT plan(8); | |
-- does your table even exist and does it have a primary key? | |
SELECT has_table('users'); | |
SELECT has_pk('users'); | |
-- does it have the column username and what type is it? | |
SELECT has_column('users', 'username'); | |
SELECT col_not_null('users', 'username'); |
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
1) make sure you actually HAVE postgres AND postgis AND plsql! | |
2) enable postgis extension (may be in a different path or already coming from your distribution) | |
psql -U YOURUSER -d YOURDB -f /usr/share/postgresql/contrib/postgis-2.0/postgis.sql | |
or, on psql shell: | |
CREATE extension postgis; |
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
reset | |
unset key | |
set terminal pngcairo size 900,500 enhanced font "Verdana, 10" | |
set output "teenage.png" | |
unset title | |
#set grid xtics lt 0 lw 2 lc rgb "#990076" |
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
reset | |
unset key | |
set terminal pngcairo size 900,600 enhanced font "Verdana, 10" | |
set output "coffee.png" | |
unset title | |
set format x '' |
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
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
use Cwd; | |
@ARGV = qw(daemon --listen http://*:5000); | |
app->static->paths->[0] = getcwd; | |
# needed to setup the usual index.html landing |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature 'say'; | |
use ZMQ::LibZMQ4; | |
use ZMQ::Constants qw/:all/; |
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
require('xts') | |
require('lubridate') | |
file <- 'tageswerte-1948-2012.csv' | |
data <- read.csv(file, header = TRUE, sep = ',') | |
timeseries <- xts(data$LUFTTEMPERATUR, as.Date(ymd(data$MESS_DATUM)) | |
plot(timeseries, screens = 1) |
NewerOlder