Skip to content

Instantly share code, notes, and snippets.

@cs558i
cs558i / .muttrc
Created June 1, 2024 21:40 — forked from wgallios/.muttrc
Example Muttrc File
set imap_user = "username@gmail.com"
set imap_pass = ""
set smtp_url = "smtp://username@smtp.gmail.com:587"
set smtp_pass = ""
set from = "username@gmail.com"
set realname = "FirstName LastName"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
@cs558i
cs558i / rsync-svn.sh
Created March 31, 2024 23:09 — forked from mjangda/rsync-svn.sh
Bash script to sync to svn repos using rsync.
rsync -rv --delete --exclude='.svn' /from /to
cd /to
svn status | grep '^!' | awk '{print $2}' | xargs svn rm
svn status | grep '^?' | awk '{print $2}' | xargs svn add
@cs558i
cs558i / Instructions.md
Created September 11, 2023 15:44 — forked from karbassi/Instructions.md
Create a ZIP file from an SVN url

Installing

  • Download svn-zip into /usr/local/bin/. For example: curl https://raw.github.com/gist/2989864/svn-zip > /usr/local/bin/svn-zip
  • Make sure that /usr/local/bin/ is in your PATH.

Usage

In your terminal, use:

svn-zip SVN_URL ZIP_FILE_NAME

@cs558i
cs558i / Instructions.md
Created September 11, 2023 15:44 — forked from karbassi/Instructions.md
Create a ZIP file from an SVN url

Installing

  • Download svn-zip into /usr/local/bin/. For example: curl https://raw.github.com/gist/2989864/svn-zip > /usr/local/bin/svn-zip
  • Make sure that /usr/local/bin/ is in your PATH.

Usage

In your terminal, use:

svn-zip SVN_URL ZIP_FILE_NAME

@cs558i
cs558i / git-for-win_Pacman_Install.md
Created August 5, 2023 20:40 — forked from adojos/git-for-win_Pacman_Install.md
Git: Pacman Installation on Git For Windows #git

Git For Windows (GitBash) Pacman Installation

The 'Git for Windows' by default does not come with MSYS2 package manager called 'Pacman' and hence it is a limited version or subset of the MSYS2. Also the bash which supplied wih 'Git for Windows' is not a full version of bash hence does not provide for full Linux environment.

However you can get package manager support inside 'Git for Windows' in following ways :

  1. Install full MSYS2 and build Git for Windows yourself (Most git users don't require all packages and MSYS2)
  2. Install Git for Windows SDK (heavy & consumes around 3-5 Gb space)
  3. Use a hack to merge the MSYS2 Pacman packages with your existing Git for Windows installation
@cs558i
cs558i / gist:120df436602659e82294f907a89f1067
Created May 9, 2023 19:54 — forked from chrisdone/gist:02e165a0004be33734ac2334f215380e
Build and run minimal Linux / Busybox systems in Qemu

Common

export OPT=/opt
export BUILDS=/some/where/mini_linux
mkdir -p $BUILDS

Linux kernel

@cs558i
cs558i / gist:a0bcfc218c9596a8b3b0dd2b22993e0c
Created May 9, 2023 19:54 — forked from chrisdone/gist:02e165a0004be33734ac2334f215380e
Build and run minimal Linux / Busybox systems in Qemu

Common

export OPT=/opt
export BUILDS=/some/where/mini_linux
mkdir -p $BUILDS

Linux kernel

@cs558i
cs558i / gist:81245c948baf3d7b04674edccc703fed
Created April 19, 2023 21:06 — forked from LulzAugusto/gist:b6b70db7675909ce39d5
How to download a entire svn repository folder with wget (just a reminder)
wget --user=myUser --ask-password -e robots=off -r -I /repositorios/eduexpo-ios/tags/4.0.0-eduexpo-ios/source/ http://fabr.com.br/repositorios/eduexpo-ios/tags/4.0.0-eduexpo-ios/source/