Skip to content

Instantly share code, notes, and snippets.

@joellimberg
joellimberg / visor-archivos-online.md
Created March 26, 2016 16:30 — forked from izazueta/visor-archivos-online.md
Google Docs Viewer & Office Web Apps Viewer

Google Docs Viewer

Only files under 25 MB can be previewed with the Google Drive viewer.

Google Drive viewer helps you preview over 16 different file types, listed below:

  • Image files (.JPEG, .PNG, .GIF, .TIFF, .BMP)
  • Video files (WebM, .MPEG4, .3GPP, .MOV, .AVI, .MPEGPS, .WMV, .FLV)
  • Text files (.TXT)
  • Markup/Code (.CSS, .HTML, .PHP, .C, .CPP, .H, .HPP, .JS)
  • Microsoft Word (.DOC and .DOCX)
@joellimberg
joellimberg / gist:4369de96defae47da10a
Created July 10, 2014 18:25
GitHub Mac app crash workaround

It seems like GitHub for Mac is crashing because a repository you're using has an invalid Git remote.

I've filed an issue about this for the rest of the team to see, but in the meantime, can you please try cding to each repository on the command line, and running git remote -v? You may see that one of the repositories has a remote without a URL.

If you do see a remote missing a URL, I'd recommend removing that remote with git remote remove NAME. After all such entries have been removed, GitHub for Mac should work again.

@joellimberg
joellimberg / gist:5ac16137800d9834dddc
Last active December 21, 2021 01:37
küpsise-seadus
  1. seadust täiendatakse paragrahviga 111 järgmises sõnastuses:

„§ 111. Kasutaja terminalseadmesse teabe salvestamine ja juurdepääs juba salvestatud teabele

(1) Teenuse osutaja võib salvestada teavet või luua juurdepääsu teenuse kasutaja terminalseadmesse juba salvestatud teabele üksnes teenuse kasutaja nõusolekul. Nõusolek peab vastama isikuandmete kaitse seaduse §-s 12 sätestatud tingimustele.

(2) Käesoleva paragrahvi lõikes 1 sätestatu ei tohi takistada teabe tehnilist salvestamist ega juurdepääsu, mis on teenuse osutamiseks, mida teenuse kasutaja on sõnaselgelt taotlenud.“;

<table class="actual"></table>
<table class="dummy" DISPLAYNONE>
<tr>
<td><input name="usr[{id}}" /></td>
</tr>
</table>
@joellimberg
joellimberg / errorception-tracking-script-minified.html
Created April 15, 2012 00:06 — forked from sandywu/errorception-tracking-script-minified.html
Errorception tracking snippet - extra verbosity edition
<script>var _errs=["<application id here>"];(function(a,b){if(b.location.protocol!="https:"){a.onerror=function(a,c,b)
{_errs.push({m:a,u:c,l:b});return!1};var d=function(){var a=b.createElement("script"),
c=b.getElementsByTagName("script")[0];a.src="http://errorception.com/projects/"+_errs[0]+"/beacon.js";c.parentNode.insertBefore(a,c)};
a.addEventListener?a.addEventListener("load",d,!1):a.attachEvent("onload",d)}})(window,document);</script>