This file contains 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
<?php | |
if ($EmailAddress != "") { | |
//Varible Setting | |
$myFile = "subscribers.txt"; | |
//Reading content already there | |
$fh = fopen($myFile, 'r'); | |
$OldEmailAddresses = fgets($fh); | |
fclose($fh); |
This file contains 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
select | |
HeadNameCounter = HeadOfHouse.NameCounter, | |
HeadNotMember = case when Relationship.Descr is null or Relationship.Descr not in ('Active Member', 'Affiliate', 'Baptized Child' ) then '*' end, | |
HeadTitle = HHTitle.Descr, | |
HeadFirstName = HeadOfHouse.FirstMiddle, | |
HeadSalutation = HeadOfHouse.Salutation, | |
HeadLastName = HeadOfHouse.LastName, | |
HeadSuffix = HHSuffix.Descr, | |
SpouseNameCounter = Spouses.NameCounter, |
This file contains 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
curl -s ifconfig.me |
This file contains 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
@font-face { | |
font-family: 'english_essayregular'; | |
src: url('fonts/english/english_essay-webfont.eot'); | |
src: url('fonts/english/english_essay-webfont.eot?#iefix') format('embedded-opentype'), | |
url('fonts/english/english_essay-webfont.svg#english_essayregular') format('svg'), | |
url('fonts/english/english_essay-webfont.woff') format('woff'), | |
url('fonts/english/english_essay-webfont.ttf') format('truetype'); | |
font-weight: normal; | |
font-style: normal; |
This file contains 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
//The Collections area is set up like this: | |
[collections title="Extra Collections"] | |
[collection_item title="SUMMNER COLLECTIONS 2013" image="image_path.png" content="CONTENT" link="#" text_link="Read more"] | |
[collection_item title="SUMMNER COLLECTIONS 2013" image="image_path.png" content="CONTENT" link="#" text_link="Read more"] | |
[collection_item title="SUMMNER COLLECTIONS 2013" image="image_path.png" content="CONTENT" link="#" text_link="Read more"] | |
[collection_item title="SUMMNER COLLECTIONS 2013" image="image_path.png" content="CONTENT" link="#" text_link="Read more"] | |
[collection_item title="SUMMNER COLLECTIONS 2013" image="image_path.png" content="CONTENT" link="#" text_link="Read more"] |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
* { outline: 2px dotted red } | |
* * { outline: 2px dotted green } | |
* * * { outline: 2px dotted orange } | |
* * * * { outline: 2px dotted blue } | |
* * * * * { outline: 1px solid red } | |
* * * * * * { outline: 1px solid green } | |
* * * * * * * { outline: 1px solid orange } | |
* * * * * * * * { outline: 1px solid blue } |
This file contains 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
<img src="<?php bloginfo('template_directory'); ?>/images/imagename.png" /> |
This file contains 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
//First step | |
sudo gedit /etc/hostname | |
//Second step | |
sudo gedit /etc/hosts |
This file contains 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
$fb = file_get_contents("http://graph.facebook.com/{Page Name}"); //graph api link to page | |
$a = json_decode($fb); | |
$LikesCount = $a->likes; // Page like count | |
echo $LikesCount; |
NewerOlder