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
| 'counties' => [ | |
| 'Antrim', 'Armagh', 'Carlow', 'Cavan', 'Clare', 'Cork', | |
| 'Derry', 'Donegal', 'Down', 'County Dublin','Dublin 1','Dublin 2', 'Dublin3', | |
| 'Dublin 4', 'Dublin 5', 'Dublin 6', 'Dublin 6W', 'Dublin 7', 'Dublin 8', | |
| 'Dublin 9', 'Dublin 10', 'Dublin 11', 'Dublin 12', 'Dublin 13', | |
| 'Dublin 14,', 'Dublin 15', 'Dublin 16', 'Dublin 17', | |
| 'Dublin 18', 'Dublin 20', 'Dublin 22', 'Dublin 24', 'Fermanagh', 'Galway', | |
| 'Kerry', 'Kildare', 'Kilkenny', 'Laois', 'Leitrim', 'Limerick', | |
| 'Longford', 'Louth', 'Mayo', 'Meath', 'Monaghan', 'Offaly', | |
| 'Roscommon', 'Sligo', 'Tipperary', 'Tyrone', 'Waterford', 'Westmeath', |
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
| #adimg1, #adlayer, #adnews, #adposition3, #adright, #ads-col, #adsHeader, #ads_bottom, #ads_right, #ads_top, #ads_wrapper, #adsdiv, #adsense, #adsense_block, #adsense_inline, #adsensewide, #adspace, #adspace_top, #adspot-300x250-pos-1, #adspot-300x250-pos-2, #adtext, #adtop, #adv-masthead, #adv-top, #advert1, #advert2, #advertise, #advertisement1, #advertisetop, #advertising_wrapper, #adverts, #advtop, #adwrapper, #banner-ad, #bannerAd, #bannerAdWrapper, #banner_slot, #banner_topad, #bannerad, #bigAd, #bigad, #body_ad, #bottomAd, #bottomAds, #bottom_ad, #bq_homeMiddleAd, #btm_ads, #btmad, #btnAds, #centerads, #cmn_ad_tag_head, #companionAd, #content-header-ad, #contentAd, #content_ads, #content_adv, #contentad, #dart-container-728x90, #dfp_ad_Entry_728x90, #dfp_ad_Home_728x90, #divAd, #div_prerollAd_1, #download_ad, #featuread, #featured-ads, #featuredAds, #footer_ad, #footer_ads, #game-ad, #googlead, #gridAdSidebar, #head-ad, #header-ads, #headerAd, #headerAdContainer, #header_ad, #homead, #ka_adRightSkyscra |
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
| Open up a terminal and: | |
| $ cd /home/somedir | |
| $ python -m SimpleHTTPServer | |
| Server will start in port 8000. You will get the message: | |
| Serving HTTP on 0.0.0.0 port 8000 ... | |
| Now open a browser and type the following address: |
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
| desc "deploy to staging" | |
| task :staging do | |
| local_dir = "./_site/" | |
| remote_dir = "/home/projectname/htdocs/" | |
| host = "1.2.3.4" | |
| ssh_user = "user" | |
| system "find #{local_dir} -type f -exec chmod 0644 {} +" | |
| system "find #{local_dir} -type d -exec chmod 0755 {} +" |
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
| UPDATE wp_options SET option_value = replace(option_value, 'http://oldwebsiteurl.com', 'http://newsiteurl.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = replace(guid, 'http://oldwebsiteurl.com', 'http://newsiteurl.com'); | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://oldwebsiteurl.com', 'http://newsiteurl.com'); |
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
| UPDATE wp_options SET option_value = replace(option_value, 'http://ncd.localhost:8888', 'http://your-subdomain.logo24.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET guid = replace(guid, 'http://ncd.localhost:8888', 'http://your-subdomain.logo24.com'); | |
| UPDATE wp_posts SET post_content = replace(post_content, 'http://ncd.localhost:8888', 'http://your-subdomain.logo24.com'); |
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
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>jQuery UI Slider - Vertical slider</title> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" /> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> | |
| <link rel="stylesheet" href="/resources/demos/style.css" /> | |
| <script> | |
| var textfield = document.getElementById('amount1'); |