Skip to content

Instantly share code, notes, and snippets.

View catgofire's full-sized avatar
:shipit:

Justin Lettenmair catgofire

:shipit:
View GitHub Profile
@catgofire
catgofire / ThemeServiceProvider.php
Last active May 17, 2024 01:29
Sage 9 hacky compatibility update files
<?php
// app/Providers/ThemeServiceProvider.php
namespace App\Providers;
// use Roots\Acorn\ServiceProvider;
use Roots\Acorn\Sage\SageServiceProvider;
// class ThemeServiceProvider extends ServiceProvider
class ThemeServiceProvider extends SageServiceProvider
<?php
/**
* Premailer API PHP class
* Premailer is a library/service for making HTML more palatable for various inept email clients, in particular GMail
* Primary function is to convert style tags into equivalent inline styles so styling can survive <head> tag removal
* Premailer is owned by Dialect Communications group
* @link http://premailer.dialect.ca/api
* @author Marcus Bointon <[email protected]>
*/
javascript:d=document;function _(l){return d.getElementById('word'+l+'_display')};u=true;o=_(1),t=_(2),e=d.createEvent('MouseEvents');e.initEvent('click',u,u);c=function(r){r.dispatchEvent(e);r=r==t?o:t;setTimeout(function(){c(r)},500)};c(o);
@catgofire
catgofire / most beautiful word?
Created February 18, 2011 03:32
Open http://en.bab.la/most-beautiful-word/ and then paste this in your url bar and hit enter
javascript:d=document;function _(l){return d.getElementById('word'+l+'_display')};u=true;o=_(1),t=_(2),e=d.createEvent('MouseEvents');e.initEvent('click',u,u);c=function(r){r.dispatchEvent(e);r=r==t?o:t;setTimeout(function(){c(r)},500)};c(o);
defaults write com.apple.ScreenSharing ShowBonjourBrowser_Debug 1
defaults write com.apple.ScreenSharing 'NSToolbar Configuration ControlToolbar' -dict-add 'TB Item Identifiers' '(Scale,Control,Share,Curtain,Capture,FullScreen,GetClipboard,SendClipboard,Quality)'
sfsadfsdafasdas
df
sadfasdfsafasdf
@catgofire
catgofire / test.rb
Created July 22, 2008 18:26 — forked from gustin/test.rb
test
tset