This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# watch.rb by Brett Terpstra, 2011 <http://brettterpstra.com> | |
# with credit to Carlo Zottmann <https://github.com/carlo/haml-sass-file-watcher> | |
# original by Brett Terpstra <http://brettterpstra.com/watch-for-file-changes-and-refresh-your-browser-automatically/> | |
# fork by Vaclav Vancura / SAY Media <http://saymedia.com> | |
trap("SIGINT") { exit } | |
filetypes = ['less'] | |
watch_folder = 'content/media/less' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test { | |
public var vocabulary:String = 'a,a,a,a,a,a,a,i,i,i,i,i,i,to,to,to,to,' + | |
'je prekérka,ta rozkošnůstka,na browsdadlo,u poče,ten moňák,do baziše,vyjemnit,vymazlit,' + | |
'poblijón,málomoc,nejvíc,skoro,lábuž,řácky,bez fiží,bižu,ten bachor,máš pazdrát,vořešprut,vošťůrák,je hejtypocem,je podržtaška,' + | |
'čupr supr,trupr,mega,můj ty janku na stojánku,kryndypindy,kakraholte,jémináčku,potěškoště,dám si šlofík,čunín,hele,hele,tohle,' + | |
'tamto,toto,šlejška,šlaušek,má živůtek,na negližé,ta halenka,nemá škapulíř,ale,protože,rozhodně,málo,tam,kožnatý,božínku,' + | |
'techtle mechtle,čupr,pirošuk,mičuda,máš čůčo,s klky,bohovský,žok,župánek,cicmat a,cucflek,do cancáku,jářku,s šošolí,' + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// org.vancura.util.DmncGenerator | |
// | |
// Created by Václav Vančura on 2007-08-19. | |
// Copyleft (cc) 2007 Václav Vančura (www.Vaclav.Vancura.org). All rights reserved. | |
// | |
import com.gnarlysurf.LoremIpsum; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U+0193,U+00E1,U+00C9,U+00E9,U+00CD,U+00ED,U+00D1,U+00F1,U+00D3,U+00F3,U+00DA,U+00FA,U+00DC,U+00FC,U+00AB,U+00BB,U+00BF,U+00A1,U+20A7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U+00C1,U+00C9,U+00CD,U+00D3,U+00DA,U+00DD,U+00E1,U+00E9,U+00ED,U+00F3,U+00FA,U+00FD,U+010C,U+010D,U+010E,U+010F,U+011A,U+011B,U+0147,U+0148,U+0158,U+0159,U+0160,U+0161,U+0164,U+0165,U+016E,U+016F,U+017D,U+017E |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def three_periods_to_ellipsis | |
self.gsub("...", "…") | |
end | |
def straight_double_quotes_to_smart_double_quotes | |
self.gsub(/\B"\b([^"“”„‟″‶\r\n]+)\b"\B/, '“\1”') | |
end | |
def straight_single_quotes_to_smart_single_quotes | |
self.gsub(/\B'\b([^'‘’‚‛′‵\r\n]+)\b'\B/, '‘\1’') |
NewerOlder