Skip to content

Instantly share code, notes, and snippets.

View youqingxiaozhua's full-sized avatar

Youqing Xiaozhua youqingxiaozhua

View GitHub Profile
@VadimBrodsky
VadimBrodsky / install-unrar-nonfree-raspbian.sh
Created October 8, 2016 18:30
Get Unrar Nonfree on Raspbian for the Raspberry PI
# As per this guide -- http://raspberrypi.stackexchange.com/questions/3617/how-to-install-unrar-nonfree#3618
# Uninstall unrar-free.
sudo apt-get remove unrar-free
# Make sure you have a source repository by editing /etc/apt/sources.list.
cat /etc/apt/sources.list
# Sync the apt database.
sudo apt-get update
@waqasjamal-zz
waqasjamal-zz / gist:7428185
Last active February 22, 2021 19:37
Python Code for adding posts to WordPress remotely
import urllib
from wordpress_xmlrpc import Client, WordPressPost
from wordpress_xmlrpc.methods import posts
import xmlrpclib
from wordpress_xmlrpc.compat import xmlrpc_client
from wordpress_xmlrpc.methods import media, posts
import os
########################### Read Me First ###############################
'''
------------------------------------------In DETAIL--------------------------------