Skip to content

Instantly share code, notes, and snippets.

@fardjad
fardjad / linux-3.10.21-qemu.config
Last active Feb 7, 2019
[linux-3.10.21-qemu.config] Linux/arm 3.10.21 Kernel Configuration for QEMU. Apply https://gist.github.com/fardjad/7771673 before using this config. #kernel #arm #linux #qemu #raspberrypi
View linux-3.10.21-qemu.config
#
# Linux/arm 3.10.21 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_MIGHT_HAVE_PCI=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
@fardjad
fardjad / ms-aio-media-keyboard-workaround.ahk
Last active Feb 7, 2019
[ms-aio-media-keyboard-workaround.ahk] Microsoft AIO Media Keyboard missing keys workaround #autohotkey #windows
View ms-aio-media-keyboard-workaround.ahk
/*
* Copyright (c) 2015 Fardjad Davari
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@fardjad
fardjad / doublecmd-explorer-integration.reg
Last active Feb 7, 2019
[doublecmd-explorer-integration.reg] Double Commander Explorer Integration #windows #registry #doublecmd
View doublecmd-explorer-integration.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell]
@="open"
[HKEY_CLASSES_ROOT\Drive\shell\open]
[HKEY_CLASSES_ROOT\Drive\shell\open\command]
@="C:\\Program Files\\Double Commander\\doublecmd.exe -C \"%1\""
@fardjad
fardjad / bitmeter.service
Last active Feb 7, 2019
[bitmeter.service] Modified "/usr/lib/systemd/system/bitmeter.service" file for ArchLinux #archlinux #systemd #bitmeter
View bitmeter.service
[Unit]
Description=Packet Capture Service for BitMeter-OS
Requires=network-online.target
ConditionPathExists=/var/lib/bitmeter/bitmeter.db
After=syslog-ng.target network-online.target
[Service]
ExecStart=/usr/bin/bmcapture
Type=idle
StandardError=syslog