Proposal for Icecast
Indent with (4) spaces, no tabs.
A Line Should Not Exceed 80 Characters.
All if, while, for and do statements should either have braces or be on a single line.
Do not put parens next to keywords. Put a space between.
| abbr[title], | |
| acronym[title], | |
| dfn[title] { | |
| border-bottom: 1px dotted #000; | |
| } | |
| @supports (text-decoration: dotted underline) { | |
| abbr[title], | |
| acronym[title], | |
| dfn[title] { | |
| text-decoration: dotted underline; |
| #!/bin/bash | |
| ROOT=output | |
| CC=x86_64-linux-musl-g++ | |
| CFLAGS=" | |
| -nostdinc | |
| -isystem $ROOT/x86_64-linux-musl/include/c++/7.2.0 | |
| -isystem $ROOT/x86_64-linux-musl/include/c++/7.2.0/x86_64-linux-musl | |
| -isystem $ROOT/x86_64-linux-musl/include/c++/7.2.0/backward | |
| -isystem $ROOT/x86_64-linux-musl/include/ |
| // call like "swift remote.swift" | |
| import MediaPlayer | |
| let centre = MPRemoteCommandCenter.shared() | |
| let handler: (String) -> ((MPRemoteCommandEvent) -> (MPRemoteCommandHandlerStatus)) = { (name) in | |
| return { (event) -> MPRemoteCommandHandlerStatus in | |
| print("\(name)") | |
| return .success | |
| } |
| #!/bin/sh | |
| # dependencies | |
| echo "Installing dependencies via Homebrew (http://brew.sh)" | |
| ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
| brew update | |
| brew install gcc48 |
| #!/bin/bash | |
| MINIDUMP_PATH="${1}" | |
| MINIDUMP_STACKWALK=$(which minidump_stackwalk) | |
| if [ -z "$MINIDUMP_STACKWALK" ]; then | |
| if [ -f "$HOME/.mozbuild/minidump_stackwalk/minidump_stackwalk" ]; then | |
| MINIDUMP_STACKWALK="$HOME/.mozbuild/minidump_stackwalk/minidump_stackwalk" | |
| else | |
| printf "You need the minidump_stackwalk executable in your PATH or under ~/.mozbuild in order to run this script\n" | |
| exit 1 |
| import UIKit | |
| extension NSDateComponents { | |
| subscript(unit: String) -> Int { | |
| get { | |
| switch unit{ | |
| case "month": | |
| return self.month | |
| case "day": | |
| return self.day |
| # runs under Python 2 (yes, I know...) | |
| # required modules: pip install unicorn pefile | |
| # this code is made available under the MIT license, as follows: | |
| # Copyright (c) 2018 Ash Wolf | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| // Paste this in to your theme's functions file | |
| // Redefine sub category display to output empty categories | |
| function woocommerce_product_subcategories( $args = array() ) { | |
| global $woocommerce, $wp_query, $_chosen_attributes; | |
| $defaults = array( | |
| 'before' => '', | |
| 'after' => '', | |
| 'force_display' => false | |
| ); |
| #include <Windows.h> | |
| #include <stdio.h> | |
| #include <type_traits> | |
| #include <algorithm> | |
| namespace pointer | |
| { | |
| template <typename T> |