Skip to content

Instantly share code, notes, and snippets.

View ceaksan's full-sized avatar
🤹

Ceyhun Aksan ceaksan

🤹
View GitHub Profile
jQuery('ul li').map(function() {
return $(this).text();
}).get().join('|').toLowerCase();
library("RWordPress")
library("tidyverse")
library("stringr")
options(WordPressLogin = c(kullaniciadi = "sifre"),
WordPressURL = "http://domain.com/xmlrpc.php")
checkWPOptions <- getUsersBlogs()
getPosts <- as_tibble(getPosts())
$('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");
$('img').one('error', function() {
// HIDE BROKEN IMAGES
dataLayer.push({
'event': 'brokenImage',
'eventLabel': this.src
});
$(this).hide();
});
var variables = ""
for (var name in this)
variables += name + "\n";
#!/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
package main
import (
"bufio"
"fmt"
"io"
"io/ioutil"
"os"
)
jQuery(document).ready(function() {
jQuery('iframe').closest('p').addClass('aligncenter');
});
jQuery('iframe').parent('p').addClass('aligncenter');
package main
import (
"bufio"
"fmt"
"io"
"os"
)
func main() {