(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| // JS Module Pattern: | |
| // http://j.mp/module-pattern | |
| // Redefine: $, window, document, undefined. | |
| var APP = (function($, window, document, undefined) { | |
| // Automatically calls all functions in APP.init | |
| $(document).ready(function() { | |
| APP.go(); | |
| }); |
| pm list packages -f |
| $(function() { | |
| var t = $('#thetable tbody').eq(0); | |
| var r = t.find('tr'); | |
| var cols= r.length; | |
| var rows= r.eq(0).find('td').length; | |
| var cell, next, tem, i = 0; | |
| var tb= $('<tbody></tbody>'); | |
| while(i<rows){ | |
| cell= 0; |
| var toast=function(msg){ | |
| $("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h3>"+msg+"</h3></div>") | |
| .css({ display: "block", | |
| opacity: 0.90, | |
| position: "fixed", | |
| padding: "7px", | |
| "text-align": "center", | |
| width: "270px", | |
| left: ($(window).width() - 284)/2, | |
| top: $(window).height()/2 }) |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| In this case, in AWS Linux: | |
| yum-config-manager --enable epel | |
| yum install -y p7ip | |
| cp /usr/bin/7za /usr/bin/7z | |
| 7z |
Last updated: 2017-03-18
exiftool -filename -filemodifydate -createdate -r -if '(not $datetimeoriginal) and $filetype eq "JPEG"' .
###Output photos that don't have datetimeoriginal to a CSV### Note this can take a long time if you have a lot of jpgs
| <script> | |
| // app ID | |
| var intercomSettings = { | |
| app_id: "{{IC - Dynamic app ID}}" | |
| }; | |
| // Verifies and cleans all GTM variables | |
| function pushGTMVariablesToIntercom(gtmKey, gtmValue) { | |
| if("{{User - Account - Type}}" != "Guest"){ | |
| if(gtmValue != null && gtmValue != "" && gtmValue != "undefined") { |
| <script> | |
| var intercomSettings = { | |
| app_id: "{{Intercom app ID}}" | |
| }; | |
| (function() {var w = window;var ic = w.Intercom;if (typeof ic === "function") {ic('reattach_activator');ic('update', intercomSettings);} else {var d = document;var i = function() {i.c(arguments)};i.q = [];i.c = function(args) {i.q.push(args)};w.Intercom = i;var s = d.createElement('script');s.type = 'text/javascript';s.async = true; | |
| s.src = 'https://widget.intercom.io/widget/{{Intercom app ID}}'; | |
| var x = d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s, x);}})(); | |
| </script> |