This is Markdown, a simple lighteight markup language that is readable in source form.
See also reStructuredText and Wikipedia
This is Markdown, a simple lighteight markup language that is readable in source form.
See also reStructuredText and Wikipedia
# Setup/start ssh agent | |
env=~/.ssh/agent.env | |
agent_load_env () { test -f "$env" && . "$env" >| /dev/null ; } | |
agent_start () { | |
(umask 077; ssh-agent >| "$env") | |
. "$env" >| /dev/null ; } |
From https://intl.startrek.com/news/your-ultimate-star-trek-picard-watch-guide
#!/usr/bin/env perl | |
# Based on code from http://www.stonehenge.com/merlyn/UnixReview/col64.html | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
print "Input \$str\n"; |
#!/usr/bin/env perl | |
# Display a big clock using blocks made from reverse video spaces | |
use warnings; | |
use strict; | |
use feature qw(signatures); | |
no warnings qw(experimental::signatures); | |
use utf8; |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>ScanCalc</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<style type="text/css"> | |
table { border-collapse:collapse; } | |
th { background-color: #ccc; } | |
th,td { padding:3px; } |
function show_env_vars() { | |
env \ | |
| sort -t= -k1 \ | |
| sed -e '1 i\Environement Variable\tValue\n=====================\t=====' -e 's/=/\t/' \ | |
| column -ts$'\t' \ | |
| cut -c-$COLUMNS \ | |
| less -F | |
} |
import java.io.Console; | |
import java.io.File; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.Statement; | |
import java.util.HashMap; | |
import java.util.Map; | |
public class JdbcCheck { |
#!/usr/bin/env bash | |
# | |
# INTRODUCTION | |
# | |
# Defines a function called aws-profile to list and select AWS profile | |
# to use. The function is meant for interactive use. You use it to | |
# select and set the current AWS Profile by setting the AWS_P#ROFILE | |
# environment variable. | |
# |