- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# Mac
| pushd 'c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC' | |
| cmd /c "vcvarsall.bat&set" | | |
| foreach { | |
| if ($_ -match "=") { | |
| $v = $_.split("="); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])" | |
| } | |
| } | |
| popd | |
| write-host "`nVisual Studio 2013 Command Prompt variables set." -ForegroundColor Yellow |
| # Load posh-git example profile | |
| . '~\Documents\WindowsPowerShell\Modules\posh-git\profile.example.ps1' | |
| $GitPromptSettings.EnableFileStatus = $false | |
| $global:CurrentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent() | |
| function Prompt() { | |
| Write-Host ("PS " + $(get-location) ) -nonewline -foregroundcolor Magenta | |
| Write-VcsStatus |
| /** | |
| * Declaration | |
| */ | |
| /* | |
| 'tfp_format' really is the central function for all tinyprintf. For each output character | |
| after formatting, the 'putf' callback is called with 2 args: | |
| - an arbitrary void* 'putp' param defined by the user and passed unmodified from 'tfp_format'; | |
| - the character; |
| /* | |
| * fork.c | |
| * Experimental fork() on Windows. Requires NT 6 subsystem or | |
| * newer. | |
| * | |
| * Copyright (c) 2012 William Pitcock <nenolod@dereferenced.org> | |
| * | |
| * Permission to use, copy, modify, and/or distribute this software for any | |
| * purpose with or without fee is hereby granted, provided that the above | |
| * copyright notice and this permission notice appear in all copies. |
| <?xml version="1.0" encoding="utf-8"?> | |
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | |
| <Target Name="SetupProject"> | |
| <MakeDir Directories="$(MSBuildProjectDirectory)\obj;$(MSBuildProjectDirectory)\bin" /> | |
| </Target> | |
| <Target Name="CleanProject"> | |
| <RemoveDir Directories="$(MSBuildProjectDirectory)\obj;$(MSBuildProjectDirectory)\bin" /> | |
| </Target> |
| # requires -version 4 | |
| # | |
| # Copyright (C) 2018 Ali Abdulkadir <[email protected]> <[email protected]> | |
| # | |
| # Permission is hereby granted, free of charge, to any person | |
| # obtaining a copy of this software and associated documentation files | |
| # (the "Software"), to deal in the Software without restriction, | |
| # including without limitation the rights to use, copy, modify, merge, | |
| # publish, distribute, sub-license, and/or sell copies of the Software, |
# Ubuntu
sudo apt-get install gpa seahorse
# Mac
This is a step-by-step guide on how to enable auto-signing Git commits with GPG for every applications that don't support it natively (eg. GitHub Desktop, Eclipse, Git Tower, ...)
| #!/bin/bash | |
| # Bash shell script for generating self-signed certs. Run this in a folder, as it | |
| # generates a few files. Large portions of this script were taken from the | |
| # following artcile: | |
| # | |
| # http://usrportage.de/archives/919-Batch-generating-SSL-certificates.html | |
| # | |
| # Additional alterations by: Brad Landers | |
| # Date: 2012-01-27 |
Github Flavored Markdown (GFMD) is based on Markdown Syntax Guide with some overwriting as described at Github Flavored Markdown
It is easy to write in GFMD. Just write simply like text and use the below simple "tagging" to mark the text and you are good to go!
To specify a paragraph, leave 2 spaces at the end of the line