This configuration is not maintained anymore. You should think twice before using it, Breaking change and security issue will likely eventually happens as any abandonned project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function changes -d "Generate a Markdown changelog from conventional commits" -a target | |
# Use fallback variables if no arguments were given. | |
if test (count $argv) -eq 0 | |
set target master | |
end | |
# Include commit message, author name, and the short hash in parentheses. | |
set -l log_format "%s (_%aN_) (%h)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eu | |
# | |
# build.sh | |
# | |
# Builds the development version WeeChat with CMake | |
# Place this script in the build directory of WeeChat | |
# @author Niko Heikkilä <[email protected]> | |
# Paths | |
ROOTDIR=$HOME/weechat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the configurationfile for DOSBox 0.74. (Please use the latest version of DOSBox) | |
# Lines starting with a # are commentlines and are ignored by DOSBox. | |
# They are used to (briefly) document the effect of each option. | |
[sdl] | |
# fullscreen: Start dosbox directly in fullscreen. (Press ALT-Enter to go back) | |
# fulldouble: Use double buffering in fullscreen. It can reduce screen flickering, but it can also result in a slow DOSBox. | |
# fullresolution: What resolution to use for fullscreen: original or fixed size (e.g. 1024x768). | |
# Using your monitor's native resolution with aspect=true might give the best results. | |
# If you end up with small window on a large screen, try an output different from surface. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Module docstring | |
This is a placeholder for a long usage message. | |
""" | |
import sys | |
import getopt | |
def process(arg): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
cdb_example.py | |
CouchDB example script | |
API documentation: http://packages.python.org/CouchDB/getting-started.html | |
""" | |
import sys | |
import couchdb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################# | |
# # | |
# PRINTR.PY # | |
# # | |
# Advanced printing for python terminal or file handling # | |
# Homepage: http://pypi.python.org/pypi/printr # | |
# # | |
################################################################# | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<!-- Headers and title text --> | |
<meta charset="utf-8"> | |
<title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, sys, hashlib | |
# -*- coding: utf-8 -*- | |
def encryptMAC(address): | |
''' Generate MD5 checksum from unicode physical address ''' | |
try: | |
# Calculate checksum | |
print("Calculating, please wait...", end="\n") | |
checksum = hashlib.md5(address.encode('utf-8')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* utils.js | |
* | |
* @author Niko Heikkilä (@ytserman) <http://scr.im/ytserman> | |
* | |
* Contains several utility functions for cross-browser compatibility. | |
* Drop this into your javascript folder and call before other scripts. | |
* | |
*/ | |
function createRequest() { |
NewerOlder