Skip to content

Instantly share code, notes, and snippets.

Sean DeNigris seandenigris

Block or report user

Report or block seandenigris

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@seandenigris
seandenigris / gist:d153ff4757f681c5169a29cf832ca31a
Last active May 19, 2018
Pharo 7 Debug Log - Freetype Problem?
View gist:d153ff4757f681c5169a29cf832ca31a
THERE_BE_DRAGONS_HERE
Could not find accessor for variable named "'dest'"
19 May 2018 9:12:21.051871 am
VM: Mac OS - intel - 1013.2 - CoInterpreter VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
VM: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Wed May 9 10:36:12 2018 CommitHash: 334be97 Plugins: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Image: Pharo7.0alpha [Build information: Pharo-7.0+alpha.build.3.sha.b90156109489d468b9847b6b37a38f06957849d8 (32 Bit)]
@seandenigris
seandenigris / gist:98426ea2a93dd2b44538880add36e306
Created May 19, 2018
Pharo 7 Debug Log - Freetype Problem?
View gist:98426ea2a93dd2b44538880add36e306
This file has been truncated, but you can view the full file.
THERE_BE_DRAGONS_HERE
Could not find accessor for variable named "'dest'"
19 May 2018 9:12:21.051871 am
VM: Mac OS - intel - 1013.2 - CoInterpreter VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
StackToRegisterMappingCogit VMMaker.oscog-eem.2380 uuid: c76d37e1-445c-4e34-9796-fc836dfd50c9 May 9 2018
VM: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git Date: Wed May 9 10:36:12 2018 CommitHash: 334be97 Plugins: 201805090836 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Image: Pharo7.0alpha [Build information: Pharo-7.0+alpha.build.3.sha.b90156109489d468b9847b6b37a38f06957849d8 (32 Bit)]
@seandenigris
seandenigris / update_iceberg_1_7.st
Created Apr 14, 2018
Iceberg 1.7 Update Script
View update_iceberg_1_7.st
MetacelloPharoPlatform select.
#(
'BaselineOfTonel'
'BaselineOfLibGit'
'BaselineOfIceberg'
'MonticelloTonel-Core'
'MonticelloTonel-FileSystem'
'MonticelloTonel-Tests'
'Iceberg-UI'
'Iceberg-Plugin-GitHub'
@seandenigris
seandenigris / discordst-dnu
Created Mar 19, 2018
DiscordSt Margin DNU #withRight:
View discordst-dnu
Margin(Object)>>doesNotUnderstand: #withRight:
RubTextFieldArea(RubAbstractTextArea)>>margins:
GLMRubTextFieldMorph(RubScrolledTextMorph)>>margins:
GLMRubTextFieldBrick(GLMRubScrolledTextBrick)>>doesNotUnderstand: #margins:
[ :b |
b editBrick
hShrinkWrap;
rubricBackgroundColor: b themer rubricBackgroundColor;
margins: (self defaultPadding @ 0) asMargin ] in GTPlaygroundEditableTabLabel>>initialize in Block: [ :b | ...
BlockClosure>>cull:
@seandenigris
seandenigris / StateSpecsConflictStack.txt
Last active Mar 19, 2018
Call Chain from StateSpecs Load Conflict
View StateSpecsConflictStack.txt
MetacelloAllowConflictingProjectUpgrade>>defaultAction
UndefinedObject>>handleSignal:
Context>>handleSignal:
Context>>handleSignal:
MetacelloAllowConflictingProjectUpgrade(Exception)>>pass
[ ^ exception pass ] in MetacelloScriptEngine>>handleConflict: in Block: [ ^ exception pass ]
Dictionary>>at:ifAbsent:
MetacelloScriptEngine>>handleConflict:
MetacelloAllowConflictingProjectUpgrade>>handleResolutionFor:
[ :ex | "option handlers need to be outermost set of handlers ... last line of defense before users are involved" ex handleResolutionFor: self ] in [ [ actionBlock
@seandenigris
seandenigris / file_copy_verify.st
Created Feb 5, 2018
Scratch pad of code to verify some photos were moved successfully (works in Pharo)
View file_copy_verify.st
dropBox := (FileLocator home / 'Dropbox/source_folder').
dbFiles := dropBox allFiles reject: [ :e | e basename = '.DS_Store' ].
targetFolder := '/path/to/target' asFileReference.
targetFiles := targetFolder allFiles reject: [ :e | e basename = '.DS_Store' ].
[ :job |
(targetFiles last: (targetFiles size - 1369)) do: [ :tf |
| suffix matches |
suffix := tf basename copyAfterLast: $_.
matches := dbFiles select: [ :sf |
| currentSuffix |
@seandenigris
seandenigris / .gitignore
Last active Nov 13, 2018 — forked from FiloSottile/dump-imap.py
Simple script to dump an IMAP folder into eml files
View .gitignore
.password
Downloads/
@seandenigris
seandenigris / functions.php
Created Jun 15, 2016
Campaign Site Theme Functions
View functions.php
function myplugin_settings() {
// Add tag metabox to page
register_taxonomy_for_object_type('post_tag', 'page');
// Add category metabox to page
register_taxonomy_for_object_type('category', 'page');
}
// Add to the admin_init hook of your theme functions.php file
add_action( 'init', 'myplugin_settings' );
//Remove admin bar (From http://www.instantshift.com/2012/03/06/21-most-useful-wordpress-admin-page-hacks/)
@seandenigris
seandenigris / Morphic-Slideshow.st
Created Mar 30, 2016
Morphic Slideshow Improvements
View Morphic-Slideshow.st
TestCase subclass: #TitleBodySlideMorphTest
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Morphic-Slideshow'!
!TitleBodySlideMorphTest methodsFor: 'testing' stamp: 'sd 7/31/2004 10:17'!
testMarkedElements
"self run: #testMarkedElements"
"self debug: #testMarkedElements"
@seandenigris
seandenigris / functions.php
Created Oct 30, 2015
WordPress Disable TinyMCE Tag Stripping
View functions.php
// Add to functions.php to disable tag stripping from visual editor
// From http://wordpress.stackexchange.com/questions/52582/how-to-disable-tinymce-from-removing-span-tags
function override_mce_options($initArray) {
$opts = '*[*]';
$initArray['valid_elements'] = $opts;
$initArray['extended_valid_elements'] = $opts;
return $initArray;
}
add_filter('tiny_mce_before_init', 'override_mce_options');
You can’t perform that action at this time.