create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
class stdin_stream: boost::noncopyable { | |
typedef boost::function<void (const boost::system::error_code &, size_t bytes_transferred)> read_handler_type; | |
public: | |
stdin_stream(boost::asio::io_service &io, HANDLE hin): io(io), hin(hin), hev(CreateEvent(0, 0, 0, 0)), handler(), buffer(0), size(0) { | |
_beginthread(&stdin_stream::thread_handler_gateway, 0, this); | |
} | |
~stdin_stream() { | |
buffer = 0; | |
CloseHandle(hev); | |
} |
#!/bin/bash | |
# disk_wipe.sh | |
# Author: Kromey (http://kromey.us/) | |
# This simple Bash script leverages the dd utility to provide user feedback | |
# as progress is made, designed for the purpose of wiping hard drives or | |
# partitions. This script reads from /dev/zero to most efficiently zero-out | |
# the target device or partition. | |
# | |
# BEGIN CONFIG |
#!/bin/bash -e | |
# Lifted from: https://github.com/adrienthebo/git-tools/blob/master/git-truncate | |
# Note: seem to be finding the need to run this twice over to commit the truncate | |
if [[ (-z $1) || (-z $2) ]]; then | |
echo "Usage: $(basename "$0") <drop before SHA1 commit> <branch>" | |
exit 1 | |
fi | |
git filter-branch --parent-filter "sed -e 's/-p $1[0-9a-f]*//'" \ |
Homebrew build logs for carthage on macOS 10.14.4 | |
Build date: 2019-04-10 15:10:24 |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
git-flow completion requires git-completion to work. How exactly you go about installing git-completion varies wildly from system to system, so it's hard to give exact installation instructions.
By far the easiest way to install both Git and git-completion is via Homebrew, so you should pick that one.
If you have your code defined in classes in lib/ folder you may have problems to load that code in production.
Autoloading is disabled in the production environment by default because of thread safety.
Change config/application.rb:
config.autoload_paths << Rails.root.join("lib")
config.eager_load_paths << Rails.root.join("lib")
## | |
# This file describes a simple way to implement the idea of pure virtual | |
# methods (abstract methods in Java, C#,...) in Ruby. Personally, I haven't | |
# used this pattern while programming in Ruby, but I thought it could be fun. | |
# | |
## | |
# This class provides a fancy way to show an error when a virtual method | |
# is being used but the subclass hasn't implemented it. |
git clean -xfd | |
git submodule foreach --recursive git clean -xfd | |
git reset --hard | |
git submodule foreach --recursive git reset --hard | |
git submodule update --init --recursive |
2019-06-03
Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.