Add new std::env::user_home_dir
API returning Option<PathBuf>
.
This API is a replacement for the deprecated std::env::home_dir
which
provides a platform agnostic method for identifying the user's home directory
# Simple `pdxinfo` file for Playdate game development. | |
# Place inside your `source` directory next to your main.lua | |
name=Reverse Game | |
author=Author Name | |
description=This is the best game ever | |
bundleID=com.example.reverse | |
version=0.1-beta3 | |
buildNumber=123 | |
# These are relative to the `source` directory | |
imagePath=images/menu |
Why?
"Trailing whitespace is indeed commit noise."
Just drop this in one of your settings files:
I hereby claim:
To claim this, I am signing this object:
{% set version = "2016.3.3" %} | |
{% set pkg_version = '2016.3.3+ds-1' %} | |
salt_repo: | |
pkgrepo.managed: | |
- humanname: SaltStack Repo | |
- name: {{ "deb http://repo.saltstack.com/apt/ubuntu/%s/amd64/archive/%s %s main" % | |
(grains['osrelease'], version, grains['oscodename']) }} | |
- file: /etc/apt/sources.list.d/saltstack.list | |
- keyid: 754A1A7AE731F165D5E6D4BD0E08A149DE57BFBE # SaltStack Packaging Team |
# Place this config block inside the http scope of your nginx config. | |
# Replace with your DNS server. (e.g. VPC 10.12.0.0/16 -> 10.12.0.2) | |
resolver 8.8.8.8 valid=60s ipv6=off; | |
server { | |
listen 9201; | |
ssl on; | |
server_name whatever.domain.org; | |
ssl_certificate /etc/nginx/ssl/whatever.domain.org.crt; |
#!/usr/bin/env bash | |
set -u | |
# Downloads Oracle JDK tarball and makes fancy debs out of it. | |
# Output is full of warnings, but the packages work. ;) | |
# Example URL='http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz' | |
MAJOR=8 | |
MINOR=45 | |
BUILD=14 |
#/bin/bash | |
set -e | |
# Downloads the dante socks proxy source code and builds up a version history in a git repository. | |
# Note: OSX/BSDs have alternate 'stat' syntax so we need GNU stat there. | |
# Usage: | |
# git init | |
# ./dante_history_import.sh | |
# |
# Description | |
# A hubot script that notifies of nagios alerts | |
module.exports = (robot) -> | |
robot.router.post '/nagios-alerts', (req, res) -> | |
j = req.body | |
if j.nagioshost | |
msg = "Nagios: #{j.service}@#{j.hostname} #{j.state} #{j.url} " | |
robot.messageRoom '#whatever', msg | |
else |
#!/usr/bin/python | |
""" | |
Usage: check_ssl_certificate -H <host> -p <port> [-m <method>] | |
[-c <days>] [-w <days>] | |
-h show the help | |
-H <HOST> host/ip to check | |
-p <port> port number | |
-m <method> (SSLv2|SSLv3|SSLv23|TLSv1) defaults to SSLv23 | |
-c <days> day threshold for critical |