Skip to content

Instantly share code, notes, and snippets.

View lukaszmtw's full-sized avatar

Luke Oslizlo lukaszmtw

View GitHub Profile
@Dzordzu
Dzordzu / vulgarisms
Last active April 25, 2022 08:27
Polish vulgar words regex
((?:w|wy|za|po|przy|z|s|pod|do|od|na|o|roz|ros|nad)?(?:jeb|w?kure?w(?:ysyn|skie|isz)?|pierd[oa]l|dup(?:cz)?|c?huj|c?hój|srań|pizd|rucha(?:ńsk(?:[oau]|iem)|n)?|szmac|szmato?)(?:o|i[eo]?(?:n[yai])?||ow[eayo]|owion[aye]|onych|on[yea]|nąć|anymi|anie|n[aye]|an[yiaeą]|ańc[eu]|wsz[ay]|ili|iły|ił[oa]?|ion[yae]|iście|i?a?[ćę]|c?ów|c?u|ie(?:my|sz)|[aąyeę])?|sesja|gówn(?:[ao]|om|ie|ian[eay])|dziwk(?:a(?:rski|rz|rka)?|i|om?|ce)|su(?:kowat[eayo]|k[aio]|ce))
@cameronmcefee
cameronmcefee / gist:3710864
Created September 12, 2012 23:58
How to make one history state in Photoshop
// Suspend history logging so the grid can run as one history state
//
// p - params for renderGuides(). Not used in this method.
//
// Returns void
function execGuideGuide(p){
app.activeDocument.suspendHistory("GuideGuide!", "renderGuides(p)")
}