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
| jQuery('a').each(function(index) { | |
| var getAttrText = jQuery(this).text(); | |
| if (getAttrText != ''){ | |
| jQuery(this).attr('title', jQuery.trim(getAttrText)); | |
| } | |
| }); |
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
| jQuery('ul li').map(function() { | |
| return $(this).text(); | |
| }).get().join('|').toLowerCase(); |
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
| library("RWordPress") | |
| library("tidyverse") | |
| library("stringr") | |
| options(WordPressLogin = c(kullaniciadi = "sifre"), | |
| WordPressURL = "http://domain.com/xmlrpc.php") | |
| checkWPOptions <- getUsersBlogs() | |
| getPosts <- as_tibble(getPosts()) |
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
| $('img').one('error', function() { | |
| // REPLACE BROKEN IMAGES | |
| // Exmaple 1 | |
| this.src = 'http://www.clker.com/cliparts/J/h/C/1/o/C/broken-file-icon-hi.png'; | |
| // Example 2 | |
| // $(this).attr("src", "http://www.clker.com/cliparts/J/h/C/1/o/C/broken-file-icon-hi.png"); | |
| // Example 3 | |
| // $(this).prop("src", "http://www.clker.com/cliparts/J/h/C/1/o/C/broken-file-icon-hi.png"); |
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
| $('img').one('error', function() { | |
| // HIDE BROKEN IMAGES | |
| dataLayer.push({ | |
| 'event': 'brokenImage', | |
| 'eventLabel': this.src | |
| }); | |
| $(this).hide(); | |
| }); |
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
| var variables = "" | |
| for (var name in this) | |
| variables += name + "\n"; |
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
| #!/bin/bash | |
| # <bitbar.title>SSH Tunnel</bitbar.title> | |
| # <bitbar.version>v1.0</bitbar.version> | |
| # <bitbar.author>Ceyhun Enki Aksan</bitbar.author> | |
| # <bitbar.author.github>ceaksan</bitbar.author.github> | |
| # <bitbar.desc>-</bitbar.desc> | |
| # <bitbar.dependencies></bitbar.dependencies> | |
| # <bitbar.image></bitbar.image> | |
| read -p 'Server IP: ' serverIP |
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
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "os" | |
| ) |
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
| jQuery(document).ready(function() { | |
| jQuery('iframe').closest('p').addClass('aligncenter'); | |
| }); | |
| jQuery('iframe').parent('p').addClass('aligncenter'); |
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
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "io" | |
| "os" | |
| ) | |
| func main() { |