Skip to content

Instantly share code, notes, and snippets.

View mzhaodev's full-sized avatar
🏃‍♂️

Maxwell Zhao mzhaodev

🏃‍♂️
View GitHub Profile
@cnruby
cnruby / install ncurses on macosx
Created May 7, 2011 09:05
HOW TO INSTALL ncurses on MacOSX
$ curl -O ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.9.tar.gz
$ tar -xzvf ncurses-5.9.tar.gz
$ cd ./ncurses-5.9
$ ./configure --prefix=/usr/local \
--without-cxx --without-cxx-binding --without-ada --without-progs --without-curses-h \
--with-shared --without-debug \
--enable-widec --enable-const --enable-ext-colors --enable-sigwinch --enable-wgetch-events \
&& make
$ sudo make install
@zenorocha
zenorocha / README.md
Last active May 28, 2024 08:23
A template for Github READMEs (Markdown) + Sublime Snippet

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage

@jbub
jbub / squash-commits.sh
Created June 12, 2013 15:31
git squash last two commits into one
git rebase --interactive HEAD~2
# we are going to squash c into b
pick b76d157 b
pick a931ac7 c
# squash c into b
pick b76d157 b
s a931ac7 c
@lukas-h
lukas-h / license-badges.md
Last active July 11, 2024 07:00
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

#!/usr/bin/python3
text = "Tin Mąʼii Tązhii Dlǫ́ʼii Tłʼízí yázhí tááʼ Tązhii Nóódaʼí Dzeeh Shash Bįįh Tązhii Nóódaʼí Tin Shash Wóláchííʼ Tłʼízí yázhí ashdlaʼ Dibé Dlǫ́ʼii Tsáʼásziʼ tááʼ Shash Wóláchííʼ Naʼastsʼǫǫsí Gah Ałnáʼázdzoh Dlǫ́ʼii dį́į́ʼ Béésh dootłʼizh Téliichoʼí Shash Dzeeh Wóláchííʼ kʼaaʼ yeiłtįįh Mąʼii Néʼéshjaaʼ Béésh dootłʼizh Téliichoʼí Wóláchííʼ Neeshchʼííʼ Neeshchʼííʼ Ałnáʼázdzoh Tłʼízí Tłʼízí yázhí ashdlaʼ Béésh dootłʼizh Wóláchííʼ Bisóodi Mąʼii Ałnáʼázdzoh Ałnáʼázdzoh Tłʼízí yázhí Tin Bįįh Ałnáʼázdzoh Neeshchʼííʼ ashdlaʼ naaki Dlǫ́ʼii Tsáʼásziʼ Béésh dootłʼizh Shash Wóláchííʼ Naʼastsʼǫǫsí Téliichoʼí Dibé Dibé Wóláchííʼ Tsáʼásziʼ Téliichoʼí Wóláchííʼ Néʼéshjaaʼ Shash Dibé Ałnáʼázdzoh Dzeeh Béésh dootłʼizh Tązhii Mąʼii Naʼastsʼǫǫsí Neeshchʼííʼ naaki Mósí Wóláchííʼ Tsáʼásziʼ tááʼ Shash Neeshchʼííʼ Béésh dootłʼizh Dibé Tłʼízí Dibé Béésh dootłʼizh Bįįh Shash Néʼéshjaaʼ Gah Dibé Dibé Wóláchííʼ Béésh dootłʼizh Tązhii Bisóodi Néʼéshjaaʼ Tin kʼaaʼ yeiłtįįh Łį́į́ʼ Tin naaki Bįįh Téliichoʼí Néʼéshjaa
#define a b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b
#define b c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c
#define c d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d
#define d e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e
#define e f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f f
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
@geosharma
geosharma / aurutils_inst_conf.md
Last active July 11, 2024 22:55
Arch Linux: aurutils installation and configuration

aurutils installation and configuration

This is not a getting started guide, just notes to myself. Due to my limited knowledge there could be mistakes and better ways to do things. I have configured aurutils to the best of my knowledge after reading the manpages and forums. Please refer to aurutils(7) manpages for installation and configuration.

Reference: aurutils(7)

Install aurutils

Install the aurutils using the normal AUR package installation procedure. Until I found aurutils, I used to create a separate directory ~/aur/ for all AUR packages.