Theory and Practice
About Archives Categories Tags Authors 中文 ไทย
  1. Tags
  2. Makefile

Pass Command-line Arguments to Makefile and Go Program

May 15, 2018

Pass command-line arguments to make and then pass then arguments to Go program in Makefile.

 read more »

[Bash] List Go Source Files Excluding Test Files

March 23, 2018

List .go source files excluding _test.go files via find and grep command in bash.

 read more »

[Makefile] Check if Run on Travis CI

June 13, 2017

Check if Makefile runs on Travis CI or not.

 read more »

[Makefile] Rules for Linters of Golang Source Code

May 10, 2017

Example of Makefile rules for Go linters.

 read more »

[Makefile] Publish to GitHub Pages Automatically

March 31, 2017

Create gh-pages branch and publish your static website to GitHub Pages in Makefile.

 read more »

[Makefile] Get Prefix or Suffix from String

December 29, 2016

Get prefix or suffix of a string in Makefile.

 read more »

[Makefile] Online Concatenate and Compress JavaScript Files

December 26, 2016

Concatenate and minify JavaScript files via Makefile, curl, and online Google Closure Compiler.

 read more »

[Makefile] Publish Static Website to GitHub Project Pages

December 24, 2016

Publish your static website to GitHub project pages via ghp-import in Makefile.

 read more »

[Makefile] Check Installed Package Version on Ubuntu Linux

December 23, 2016

Given an installed package name on Ubuntu Linux, find its version in Makefile.

 read more »

[Golang] Parse Command Line Arguments - String Variable

December 21, 2016

How to parse command-line arguments (string variable) via flag package in Go programming language.

 read more »

[Makefile] String Replacement Example

April 08, 2016

Example for how to replace a string in a variable in Makefile.

 read more »

Makefile notdir = Python basename / Golang path.Base

March 21, 2016

Makefile's notdir = Python basename / Go path.Base.

 read more »

[Makefile] Convert Traditional Chinese PO file to Simplified Chinese via OpenCC

March 12, 2016

Convert Traditional Chinese PO file to Simplified Chinese via OpenCC and sed in Makefile.

 read more »

[Makefile] Concetenate and Minify CSS via sed and tr Command

March 11, 2016

Concatenate and Minify CSS via sed and tr command in Makefile.

 read more »

[Makefile] Create Symbolic Link If Not Exist

March 04, 2016

Makefile - Create symbolic link if it does not exist. Otherwise do nothing.

 read more »

[Makefile] Echo Color Output

February 18, 2016

echo colorful output in Makefile.

 read more »

[Makefile] Create Directory If Not Exist

January 30, 2016

Makefile - Create a directory if it does not exist. Otherwise do nothing.

 read more »

[Webapp] Dart HTTP POST JSON Data to Go Server

February 15, 2015

Show how to pass JSON-format data using HTTP POST between browser (implemented with Dart) and web server (implemented with Go).

 read more »

Hello World in C

November 17, 2013

Hello World program in C programming language

 read more »

[C] Remove String Trailing Newline (Carriage Return)

January 09, 2013

Remove trailing newline (carriage return) of a string in C programming language.

 read more »
Powered by Github Pages, Pelican, pyScss.