See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder |
| #!/bin/bash | |
| compose_file_path=$1 | |
| project_name=$2 | |
| backup_path=$3 | |
| function backup_volume { | |
| volume_name=$1 | |
| backup_destination=$2 |
| export {} | |
| declare global { | |
| interface Date { | |
| addDays(days: number, useThis?: boolean): Date; | |
| isToday(): boolean; | |
| clone(): Date; | |
| isAnotherMonth(date: Date): boolean; | |
| isWeekend(): boolean; | |
| isSameDate(date: Date): boolean; |
| #!/usr/bin/env python | |
| # -*- coding: latin-1 -*- | |
| # | |
| # Query the dictionary http://dict.leo.org/ from within Python. | |
| # This is based on an equivalent script for German/English by: | |
| # | |
| # Copyright (C) 2015 Ian Denhardt <ian@zenhack.net> | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by |
| public static class ExtensionMethods { | |
| public static string ToUnderscoreCase(this string str) { | |
| return string.Concat(str.Select((x, i) => i > 0 && char.IsUpper(x) ? "_" + x.ToString() : x.ToString())).ToLower(); | |
| } | |
| } |
| // MIT License - Copyright (c) 2016 Can Güney Aksakalli | |
| // https://aksakalli.github.io/2014/02/24/simple-http-server-with-csparp.html | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Net.Sockets; | |
| using System.Net; | |
| using System.IO; |