See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| function mkgif { | |
| param( | |
| [Parameter(Mandatory=$true, Position=0)] | |
| [string]$InputFile, | |
| [Parameter(Mandatory=$true, Position=1)] | |
| [string]$OutputFile, | |
| [Parameter(Mandatory=$false)] | |
| [int]$StartTime = 0, |
| add this to your $HOME/.bashrc | |
| composer() { | |
| composer $@ | grep "#StandWithUkraine" | |
| } |
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package perpustakaan.ui; | |
| import java.awt.event.WindowEvent; | |
| import java.sql.Connection; | |
| import java.sql.PreparedStatement; |
Install brightnessctl https://www.archlinux.org/packages/community/x86_64/brightnessctl/
Add this script to ~/.config/i3/config
bindsym XF86MonBrightnessUp exec brightnessctl s +10% > /dev/null && notify-send Brightness $(($(brightnessctl get) * 10 / 937 * 10))% -h string:x-canonical-private-synchronous:brightness_percentage --app-name System
bindsym XF86MonBrightnessDown exec brightnessctl s 10%- > /dev/null && notify-send Brightness $(($(brightnessctl get) * 10 / 937 * 10))% -h string:x-canonical-private-synchronous:brightness_percentage --app-name System
explanation:
| .class public Lcom/tencent/wemusic/ui/profile/UserBaseInfo; | |
| .super Ljava/lang/Object; | |
| .source "SourceFile" | |
| # interfaces | |
| .implements Landroid/os/Parcelable; | |
| # annotations | |
| .annotation system Ldalvik/annotation/MemberClasses; |
| #include <stdio.h> | |
| #include <conio.h> | |
| long int faktorial(unsigned int n) | |
| { | |
| if (n == 0 || n == 1) { | |
| return 1; | |
| } else { | |
| return n * faktorial(n - 1); | |
| } |
| Firmware Error (ACPI): Failure creating [\_SB.PCI0.LPCB.EC0.B1CT], AE_ALREADY_EXISTS (20180427/dsfield-777) | |
| Firmware Error (ACPI): Failure creating [\_SB.PCI0.LPCB.EC0.B1CN], AE_ALREADY_EXISTS (20180427/dsfield-777) | |
| /* | |
| * Intel ACPI Component Architecture | |
| * AML/ASL+ Disassembler version 20180427 (64-bit version)(RM) | |
| * Copyright (c) 2000 - 2018 Intel Corporation | |
| * | |
| * Disassembling to non-symbolic legacy ASL operators | |
| * | |
| * Disassembly of DSDT_1.aml, Fri Jul 12 17:04:25 2019 |
| var appVersion = "", | |
| freeze = !1, | |
| ws, loading, perLoad, controller, scene, lastIndex, dom, mvReq, tvReq, imgReq, sources = [], | |
| subtitles = [], | |
| currentIdx, ignoreIdx, srcIdx, epArr, epi = "-1", | |
| epiTitle = "", | |
| noDrive = !1, | |
| havesend = !1, | |
| bckupIdx = "", | |
| actEpi, jw, hs, mvid, prov, ar, table, currentKuki, mrload = !1, |
To see the diff for a particular COMMIT hash:
git diff COMMIT~ COMMIT will show you the difference between that COMMIT's ancestor and the COMMIT. See the man pages for git diff for details about the command and gitrevisions about the ~ notation and its friends.
Alternatively, git show COMMIT will do something very similar. (The commit's data, including its diff - but not for merge commits.) See the git show manpage.