-
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 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
| #!/usr/bin/env perl | |
| use Mojolicious::Lite; | |
| opendir(my $dir, 'public/catpics/') or die "Can't open kittydir!"; | |
| my @catpics = readdir($dir); | |
| get '/' => sub { | |
| shift->render('index'); | |
| }; |
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
| #!/usr/bin/env perl | |
| package Cats; | |
| use strict; | |
| use warnings; | |
| use Web::Machine; | |
| use Web::Machine::Util qw/bind_path/; | |
| use Template::Jade qw/render_file/; | |
| use Template; |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from __future__ import with_statement | |
| from os import walk, listdir | |
| from glob import glob | |
| from flask import Flask | |
| from flask import render_template, request, redirect, url_for | |
| import random |
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
| #!/usr/bin/env perl | |
| package Cats; | |
| use strict; | |
| use warnings; | |
| use Web::Machine; | |
| use Web::Machine::Util qw/bind_path/; | |
| use Template::Jade qw/:all/; | |
| use IO::All; |
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
| # server.R | |
| library('shiny') | |
| shinyServer ( function (input, output) { | |
| cute_level <- c("cute", "cuter", "cutest", "cutestest") |
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
| !/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use feature 'say'; | |
| use WWW::Curl::Easy; | |
| my $curl = WWW::Curl::Easy->new; |
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
| " statusline: | |
| set statusline=%-10.(%l\ of\ %L%)\ \ %<%r%{FindSub()}\ \ \ %=%{GitBranchInfoTokens()[0]}\ \ | |
| " find sub: | |
| function! FindSub() | |
| let subpattern = '\(sub\|function\) \w\+' | |
| let subline = search(subpattern, 'bnW') | |
| if !subline | |
| return 'not in sub' | |
| else |
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
| with meat: | |
| slices of cheap beef with bones AND marrow, don't cut it! | |
| base: | |
| * carrots, celery, parsley, bay leave, onions, lots of garlic in butter/lard | |
| * slowly cook for an hour or so, keep broth, meat, marrow (!) | |
| cut: |
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
| #!/bin/bash | |
| # installs plenv, perl, carton, cpanminus, sets up environment in .bash_profile | |
| # from https://github.com/tokuhirom/plenv#readme | |
| PLENV_PERL_VERSION='5.20.2' | |
| if [[ -n "$PERL_MB_OPT" ]]; then | |
| echo "You must unset your local::lib environment variables first" | |
| exit 1 |