Skip to content

Instantly share code, notes, and snippets.

; The name of the installer
Name "YOURPROGRAM"
; To change from default installer icon:
;Icon "YOURPROGRAM.ico"
; The setup filename
OutFile "YOURPROGRAM_Setup.exe"
; The default installation directory
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active July 25, 2025 10:42
crack activate Office on mac with license file
@clungzta
clungzta / build_debug_android_kivy.sh
Created May 15, 2017 23:29
Simple bash script to build and run debug android app using Kivy and ADB, includes filtered log output option
VERBOSITY = 1
# Change Package name to suit that
PACKAGE_NAME=org.test.kivytestapp
echo $PACKAGE_NAME
echo "Building the android app in debug mode."
buildozer -v android debug
echo "Loading the app onto to the debug mode device."
@karanth
karanth / imap-idle.md
Last active December 19, 2024 07:42
Notes on "Real"-time IMAP mail updates

IMAP is a popular mail access protocol. Mail clients traditionally work on a polling model, i.e., they request the server for new messages and updates at fixed intervals. These are not "Real"-time updates as server updates are brought down to the client only at the end of each interval. The average time taken for an email to be seen by the client is half the size of the polling interval and not immediate.

However, IMAP4 has the IDLE command to help clients get updates instantly in "real"-time. RFC 2177 refers to the IDLE command and can be found [here] (https://tools.ietf.org/html/rfc2177). Executing the command has the following pre-requisites,

  • A (TCP socket) network connection is open between the client and the server.
  • The client is authenticated with the server using LOGIN or AUTHENTICATE.
  • The client has issued a SELECT (read/write) or the EXAMINE (read-only) command on a particular mailbox.
  • The server lists IDLE as a supported capability when the CAPABILITY command is issued.

Wh

@taylor
taylor / README.md
Created November 17, 2011 11:09
wrapper to support SSH SRV records

Introduction

ssh-srv-wrapper is bash shell script which tries to find a SSH SRV record for the first host and uses what is found rather than what was passed (if a valid record is found).

Install

Run the script directly or feel free to rename or symlink to the name ssh. It will look for another ssh in your path to execute.