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
| \b[A-F0-9]{8}(?:-[A-F0-9]{4}){3}-[A-F0-9]{12}\b |
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
| angular.module('lr.upload.directives').directive('selectFile', [ | |
| 'upload', | |
| function (upload) { | |
| return { | |
| restrict: 'EA', | |
| scope: { | |
| data: '=?data', | |
| url: '@', | |
| id: '@', | |
| placeholder: '@', |
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
| Factory: | |
| angular.module("App").factory('Message', [ | |
| '$rootScope', '$timeout', '$sce', | |
| function ($rootScope, $timeout, $sce) { | |
| "use strict"; | |
| var exports; | |
| $rootScope.alerts = []; | |
| var alertId = 0; | |
| function _factory(alertOptions) |
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
| FolderBrowserDialog fbd = new FolderBrowserDialog {RootFolder = Environment.SpecialFolder.MyComputer}; | |
| DialogResult result = fbd.ShowDialog(); | |
| tabControl1.SelectedTab = tabPageFiles; | |
| if (result == DialogResult.OK) | |
| { | |
| var folderName = fbd.SelectedPath; | |
| var opf = new OpenFileDialog | |
| { | |
| InitialDirectory = folderName, |
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
| rabbitmqctl list_connections pid port state user vhost recv_cnt send_cnt send_pend name | awk '{print "rabbitmqctl close_connection \"" $1 "\" \"manually closing idle connection\"" | "/bin/bash" }' |
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
| "%java_home%\bin\xjc" -p [your namespace] [xsd_file].xsd |
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 artisan cache:clear | |
| chmod -R 777 app/storage | |
| php artisan dump-autoload |
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
| find . | while read file; do xattr -d com.apple.quarantine $file; done |
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
| 1. Download libmcrypt-2.5.8 from sourceforge | |
| 2. Download the correct PHP 5.4.24 version. | |
| 3. Extract the libmcrypt and PHP source code. | |
| 4. cd ~/libmcrypt-2.5.8 folder | |
| 5. MACOSX_DEPLOYMENT_TARGET=10.9 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' LDFLAGS='-O3 -arch i386 -arch x86_64' CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64' ./configure --disable-dependency-tracking |
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
| svn diff . -r349:350 --summarize | cut -c9-99999 | cpio -pvdmu export/ | |
| source: http://goo.gl/vTambr |
NewerOlder