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 engines | |
@namespace engine | |
*/ | |
var kiwi = require('kiwi'), | |
util = require('util'); | |
/** | |
Kiwi engine class |
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
// Load Dependencies | |
var | |
mongoose = require('mongoose'), | |
vows = require('vows'), | |
suite = vows.describe('Mongoose ' + mongoose.version + ' test issue #876'), | |
assert = require('assert'), | |
EventEmitter = require('events').EventEmitter | |
; | |
// Initialize Connection |
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
<?php | |
add_filter( 'the_content', 'remove_fontawesome', 99 ); | |
function remove_fontawesome($content) { | |
wp_dequeue_style( 'tt-font-awesome' ); | |
wp_dequeue_style('dhvc-woo-font-awesome'); | |
wp_dequeue_style('dhvc-woocommerce-page-awesome'); | |
return $content; | |
} |
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
// ==UserScript== | |
// @name MSJ | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Topic labels | |
// @author panosru | |
// @match https://www.macserialjunkie.com/forum/* | |
// @require http://code.jquery.com/jquery-latest.js | |
// @grant none | |
// ==/UserScript== |
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
#!/usr/bin/env bash | |
FILE_VMDK="/Users/panosru/Library/Application Support/VMware Fusion/Virtual Machines/Boot Camp/Boot Camp.vmwarevm/Boot Camp.vmdk" | |
DRIVE_NEW=$(diskutil list | awk '/Windows/{print $NF}' | cut -c 1-5 | uniq) | |
# Function to find DRIVE_OLD | |
find_old_drive() { | |
grep -o 'disk[0-9]\+' "$1" | sort -u | head -n 1 | |
} |
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
/** | |
* GM Wrapper for Backward Compatibility | |
* | |
* This script provides a bridge for legacy `GM_*` API calls to use the modern `GM.*` API introduced in | |
* newer userscript managers. It ensures backward compatibility for older scripts without requiring modifications. | |
* | |
* The wrapper is lightweight, modular, and maintains error-handling integrity. | |
* | |
* Supported Legacy Methods: | |
* - GM_addStyle |