See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
// Capture SIGINT and SIGTERM to perform a clean shutdown | |
net::signal_set signals(ioc, SIGINT, SIGTERM); | |
signals.async_wait( | |
[&](beast::error_code const&, int) | |
{ | |
// Stop the `io_context`. This will cause `run()` | |
// to return immediately, eventually destroying the | |
// `io_context` and all of the sockets in it. | |
ioc.stop(); | |
}); |
class utf8_text_view { | |
const char *text; | |
size_t bytes_count; | |
public: | |
friend class iterator; | |
class iterator { | |
const utf8_text_view &parent; | |
size_t offset; | |
public: |
use std::marker::PhantomData; | |
trait ConnT<T> { | |
type Res; | |
fn proc(T) -> Self::Res; | |
} | |
struct Conn1; | |
impl<T> ConnT<T> for Conn1 { | |
type Res = Result<T, ()>; |
Re: Need Help With Jekyll GitHub Project Page and Team Git Workflow | |
> The simplest solution to this trouble is to remove the leading slash | |
Hmm....no, that is not simple at all because pages in subdirectories would | |
require different treatment. | |
The actual simplest solution would be for GitHub to put the project name in | |
the domain name instead of the request target. For example, instead of: |
diff --git a/src/main.rs b/src/main.rs | |
index ac542de..e40605d 100644 | |
--- a/src/main.rs | |
+++ b/src/main.rs | |
@@ -16,12 +16,10 @@ use futures_timer::*; | |
use gio::prelude::*; | |
use gtk::prelude::*; | |
use librgs::ServerEntry; | |
-use static_resources::Resources; | |
use std::sync::{ |
#[derive(PartialEq, PartialOrd, Debug, Clone, Copy)] | |
pub struct UniqueId(pub u64); | |
macro_rules! unique { | |
() => {{ | |
#[allow(missing_copy_implementations)] | |
#[allow(non_camel_case_types)] | |
#[allow(dead_code)] | |
struct __unique_id_tag {}; | |
use core::any::TypeId; |
package com.? | |
import android.os.Build | |
import android.util.Log | |
import com.varvet.shipgaz.BuildConfig | |
import java.util.regex.Pattern | |
/** | |
* A logger to avoid logging in production. It will check if [BuildConfig.DEBUG] is true or not. | |
* If true then allow logging, otherwise don't. |
// | |
// Created by int3 on 14.02.18. | |
// | |
/* | |
Usage: | |
enum class Foo : int8_t { | |
a, b, c |
#!/bin/bash | |
set -e | |
CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/tessdata/ "$1" stdout -l eng | xml esc) | |
hex=$((cat <<EOF | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> |