This guide will demonstrate how to mirror an SVN into a Git repo. You're the target audience if you're an SVN user, just getting started with Git and need to coax your project team over to Git.
The branching scenario has been simplified for clarity.
| #!/bin/bash | |
| ############################################################ | |
| # Recursively peruses a directory and converts MKV files | |
| # to MP4 for streaming to Xbox360. | |
| # | |
| # @author: Ticean Bennett | |
| # @url: http://ticean.com | |
| # @see: http://trac.handbrake.fr/wiki/CLIGuide#options | |
| # | |
| # @param file The complete file path. |
| #!/bin/bash | |
| # A shell script to delete / drop all tables from MySQL database. | |
| # Usage: ./script user password dbnane | |
| # Usage: ./script user password dbnane server-ip | |
| # Usage: ./script user password dbnane mysql.nixcraft.in | |
| # ------------------------------------------------------------------------- | |
| # Copyright (c) 2008 nixCraft project <http://www.cyberciti.biz/fb/> | |
| # This script is licensed under GNU GPL version 2.0 or above | |
| # ------------------------------------------------------------------------- | |
| # This script is part of nixCraft shell script collection (NSSC) |
| SET @entityid = '3'; | |
| SELECT ea.attribute_id, ea.attribute_code, eav.value AS 'value', 'varchar' AS 'type' | |
| FROM catalog_category_entity e | |
| JOIN catalog_category_entity_varchar eav | |
| ON e.entity_id = eav.entity_id | |
| JOIN eav_attribute ea | |
| ON eav.attribute_id = ea.attribute_id | |
| WHERE e.entity_id = @entityid | |
| UNION |
| ############################################################################### | |
| ### Reaction OSS v3.0.4 | |
| ### This is an example configuration and is not modified from the original | |
| ### reaction-v3.0.4.mk | |
| ############################################################################### | |
| # List of tools that must be installed. | |
| # A simple check to determine the tool is available. No version check, etc. | |
| define REQUIRED_SOFTWARE | |
| docker \ |
/Block Reference)| (defmacro map-fields-comparator | |
| "Comparator for sorting maps by field. `kw-orders` must be pairs of keywords | |
| on which to sort and a sort direction, either :asc or :desc. | |
| Example: | |
| (map-fields-comparator :id :asc :time :desc) | |
| The above is fine for key values that are inexpensive to compute from the values | |
| being sorted. If the key values are expensive to compute, it is better to |
| title Inventory Data Flow | |
| participant Kafka Topic | |
| participant Shippable-Inventory-Plugin | |
| participant Simple-Inventory-Plugin | |
| participant Inventory | |
| participant MongoDB SimpleInventory | |
| participant MongoDB Products | |
| participant MongoDB Orders |
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
| (def ^:dynamic repl-context) | |
| (defn tinyrepl | |
| "Simple REPL. :quit to exit." | |
| [{:keys [prefix layer] :or {prefix "" layer 1} :as context}] | |
| (let [pre (str prefix ">>>")] | |
| (with-bindings {#'repl-context (assoc context | |
| :prefix pre | |
| :layer (inc layer))} | |
| (print (str (ns-name *ns*) (str pre " "))) | |
| (flush) |