Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#!/bin/bash | |
# This software comes without any kind of warranty or license, use it at your own risk. | |
# | |
# Author: Andrea Galloni | |
# E-mail: andreagalloni92[at]gmail{dot}com | |
# | |
# Works on TP-Link 300M Wireless N ADSL2+ Modem Router TD-W8960N | |
# Firmware Version: 1.3.6 Build 100825 Rel.68770n | |
# |
apiVersion: spinnaker.armory.io/v1alpha2 | |
kind: SpinnakerService | |
metadata: | |
name: spinnaker | |
spec: | |
# spec.spinnakerConfig - This section is how to specify configuration spinnaker | |
spinnakerConfig: | |
# spec.spinnakerConfig.config - This section contains the contents of a deployment found in a halconfig .deploymentConfigurations[0] | |
config: | |
version: 2.21.2 # the version of Spinnaker to be deployed |
/** | |
* A rounded version of {@link QuickContactBadge] | |
* @author kishu27 (http://linkd.in/1laN852) | |
* | |
*/ | |
public class RoundedQuickContactBadge extends QuickContactBadge { | |
/** | |
* This path is used to mask out the outer edges of a circle on this View | |
*/ |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
/* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it: | |
Make sure your modal has an id: | |
<div class="modal" id="myModal" ... > | |
Then stick this bit of Javascript at at the end of your document: | |
*/ | |
$(document).ready(function() { |
#!/bin/bash | |
GATEWAY=`route get default | grep gateway | awk '{ print }'` | |
SCRIPT_COMMAND="ping $GATEWAY" | |
SCRIPT_PID=/tmp/pingpong.pid | |
case "$1" in | |
start) | |
$SCRIPT_COMMAND 1>/dev/null & | |
echo $!>$SCRIPT_PID |
package main | |
import ( | |
"database/sql" | |
"fmt" | |
_ "github.com/lib/pq" | |
) | |
const ( | |
DB_USER = "ramesh" |
This is an example of a resource called "disc-base", I have only taken parts of it and removed the mentions of ESX, because I am running this on an empty server. The part we are looking at here especially is the marker drawing. This is also an outdated version of this resource before they applied performance improvements, but we are also going to go deeper than their changes.
Base of this tutorial: https://github.com/DiscworldZA/gta-resources/blob/54a2aaf7080286c8d49bbd7b1978b6cc430ec755/disc-base/client/markers.lua (client.lua here)
At some point you’ll find yourself in a situation where you need edit a commit message. That commit might already be pushed or not, be the most recent or burried below 10 other commits, but fear not, git has your back 🙂.
git commit --amend
This will open your $EDITOR
and let you change the message. Continue with your usual git push origin master
.