This file contains 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
<?php | |
/** | |
* Procedural drop in replacement for legacy projects using the MySQL function | |
* | |
* @author Sjoerd Maessen | |
* @version 0.1 | |
*/ | |
// Make sure the MySQL extension is not loaded and there is no other drop in replacement active | |
if (!extension_loaded('mysql') && !function_exists('mysql_connect')) { |
This file contains 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
/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py --output all.pdf *.pdf |
This file contains 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
.generateCssProperty(@property,@value,@valueMobile,@breakpoint: 'sm') { | |
@mediaquery: 'screen-@{breakpoint}'; | |
-:~";@{property}: @{value};"; | |
@media(max-width: @@mediaquery) { | |
-:~";@{property}: @{valueMobile};"; | |
} | |
} |
This file contains 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
[4329900.340193] usb 1-3: new high-speed USB device number 3 using ehci_hcd | |
[4329900.473157] usb 1-3: New USB device found, idVendor=0bda, idProduct=8179 | |
[4329900.473170] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | |
[4329900.473181] usb 1-3: Product: 802.11n NIC | |
[4329900.473187] usb 1-3: Manufacturer: Realtek | |
[4329900.473193] usb 1-3: SerialNumber: 00E04C0001 |
This file contains 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
FROM container4armhf/armhf-alpine | |
MAINTAINER [email protected] | |
RUN apk add --update g++ \ | |
gcc \ | |
libffi \ | |
libffi-dev \ | |
libxml2 \ | |
libxml2-dev \ |
This file contains 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
git rm -r --cached .idea |
This file contains 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
cd ./config/mc | |
cp /etc/mc/mc.keymap . | |
mcedit mc.keymap | |
# CdParentSmart = backspace |
This file contains 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
[Unit] | |
Description=Flexget Daemon | |
After=network.target | |
[Service] | |
Type=simple | |
User=osmc | |
UMask=000 | |
ExecStart=/usr/local/bin/flexget daemon start | |
ExecStop=/usr/local/bin/flexget daemon stop |
This file contains 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
# stop apache | |
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist | |
brew install \ | |
mc \ | |
git \ | |
homebrew/php/php55-opcache \ | |
php55-apcu \ | |
php55-memcache \ | |
php55-memcached \ |
This file contains 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
PHP_AUTOCONF="/usr/local/bin/autoconf" | |
export PS1='\[\033[1;31m\]\u\[\033[0m\]\[\033[1;37m\]@\[\033[0m\]\[\033[1;34m\]\h\[\033[0m\] \[\033[1;33m\]\d \A\[\033[0m\] \[\033[1;32m\]\w\[\033[0m\] \[\033[1;31m\]\$\[\033[0m\] ' | |
# ---------------------- | |
# Git Aliases | |
# ---------------------- | |
alias ga='git add' | |
alias gaa='git add .' |
NewerOlder