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
$ = $ || wmjQuery || jQuery | |
setTimeout(function(){ | |
$('nav').remove(); | |
$('.composer-panel').remove(); | |
$('div[target-selector=".main-container"]').remove(); | |
$('nav.primary-navbar').remove(); | |
$('#room-chat-nav').remove(); | |
$('#room-nav').remove(); | |
$('body').css('overflow-y', 'scroll'); | |
$('body').css('height', '10000px'); |
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
exiftool -Duration /path/to/file.gif |
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
<component name="ProjectRunConfigurationManager"> | |
<configuration default="false" name="Built-in" type="PhpBuiltInWebServerConfigurationType" factoryName="PHP Built-in Web Server" singleton="true" document_root="$PROJECT_DIR$/www" port="8080"> | |
<method /> | |
</configuration> | |
</component> |
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
composer require drupal/console:~1.0 \ | |
--prefer-dist \ | |
--optimize-autoloader \ | |
--sort-packages \ | |
--no-update |
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
wget -i list_of_urls_file -P destination_folder | |
brew install mmv | |
find . -type f ! -name "*.*" | mmv '*' '#1.jpg' |
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
/*! Prefix flex for IE10 and Safari / iOS in LESS | |
* https://gist.github.com/codler/2148ba4ff096a19f08ea | |
* Copyright (c) 2014 Han Lin Yap http://yap.nu; MIT license */ | |
.display(@value) when (@value = flex) { | |
display: -ms-flexbox; // IE10 | |
display: -webkit-flex; // Safari / iOS | |
} | |
.display(@value) when (@value = inline-flex) { |
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 | |
# Only install if not exists | |
if [ ! -x /usr/bin/ansible ]; then | |
echo ">>> Installing ansible"; | |
#apt-get install software-properties-common | |
apt-add-repository ppa:ansible/ansible -y | |
apt-get update | |
apt-get install ansible -y |
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 | |
/** | |
* @file | |
* Code for the Message notify example feature. | |
*/ | |
include_once('message_notify_example.features.inc'); | |
/** | |
* Implements hook_comment_insert(). |
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 | |
# Only install if not exists | |
if [ ! -x /usr/bin/ansible ]; then | |
echo ">>> Installing ansible"; | |
apt-get update | |
apt-get install python-pip python-dev git -y | |
pip install PyYAML jinja2 paramiko |
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
git remote set-url origin https://[email protected]/companyname/projectname.git |