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
| javascript:uberCheck=setInterval(function(){if (document.getElementById('set-pickup-btn').className.indexOf("unavailable")===-1){var audio=document.createElement("audio"); audio.src="//bit.ly/1CqZfVJ"; audio.addEventListener("ended", function(){document.removeChild(this);}, false); audio.play(); cleanup(uberCheck);}}, 1000); |
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
| diff --git flash.js flash.js | |
| index ce8d6e9..f363b1f 100644 | |
| --- flash.js | |
| +++ flash.js | |
| @@ -1,8 +1,8 @@ | |
| "use strict"; | |
| angular.module("info.vietnamcode.nampnq.videogular.plugins.flash", []) | |
| .directive( | |
| - "vgFlashPlayer", ["VG_EVENTS", "VG_STATES", "$rootScope", "$window", '$timeout', | |
| - function(VG_EVENTS, VG_STATES, $rootScope, $window, $timeout) { |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
| <title>Stripe Getting Started Form</title> | |
| <!-- The required Stripe lib --> | |
| <script type="text/javascript" src="https://js.stripe.com/v2/"></script> | |
| <!-- jQuery is used only for this example; it isn't required to use Stripe --> |
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
| # setup msmtp for sending out email | |
| # as an alternative to sendmail | |
| # i prefer this because it is easier to install and configure than sendmail | |
| # especially when using Gmail smtp servers | |
| sudo -i | |
| apt-get install msmtp | |
| ln -s /usr/bin/msmtp /usr/sbin/sendmail | |
| touch /var/log/msmtprc && chmod 666 /var/log/msmtprc | |
| vim /etc/msmtprc | |
| # config options: http://msmtp.sourceforge.net/doc/msmtp.html#A-user-configuration-file |
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
| map <leader>x :call CSSXMLUpdate()<CR> | |
| function! CSSXMLUpdate() | |
| let currentLine = line('.') | |
| let bottomLine = line("$") | |
| while currentLine <= bottomLine | |
| try | |
| let @x = 'jvt,"ayt,llvt,"byt,llvt,"cyt,llvt,"dyt,llvt,"eyt,llvt,"fyt,llvt,"gy0' | |
| let @y = 'l:0 | |
| /a |
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
| function! TitleGrab() | |
| let currentLine = line('.') | |
| let bottomLine = line("$") | |
| while currentLine <= bottomLine | |
| try | |
| let @x = '/media-external | |
| 6wvt""ayl:0 | |
| /a | |
| ' | |
| let @y = 'bhvT,"byh/overlay |
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
| function TitleGrab() | |
| try | |
| let @x = /media-external | |
| 6wvt""ayl:0 | |
| /a | |
| let @y = bhvT,"byhku/overlay | |
| 4wvt]"cy/kb:0 | |
| /c | |
| /textDefault | |
| 3wab/labelDefault |
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
| /media-external search for media external item | |
| 6w go 6 words ahead for the id | |
| vt""ay yank the id to reference into the 'a' register | |
| ctrl-w l switch to other xml pane | |
| :0 go to the top | |
| :/ctrl-r a paste the media overlay id we need to search for from 'a' register | |
| *****IF FAILS GO TO LAST LINE IN MACRO AND REPEAT****** | |
| bhvT,"by select the words before between the commas to grab the description and yank it into the 'b' register |
NewerOlder