Skip to content

Instantly share code, notes, and snippets.

Available for Hire

eXtremeSHOK extremeshok

Available for Hire
View GitHub Profile
View gist:ff1126bc723017618661e24c7e856757
### Keybase proof
I hereby claim:
* I am extremeshok on github.
* I am extremeshok ( on keybase.
* I have a public key ASCYUIvwLdXNNNZfvup0oJ8p-oQCWZabAVOiRrhZ3iuF2go
To claim this, I am signing this object:
extremeshok / gist:f6f485990cec5e81662c569d835049f2
Created Jun 17, 2019
woocommerce wp-cli remove all products
View gist:f6f485990cec5e81662c569d835049f2
/usr/local/bin/wp-cli --allow-root --path=/var/www/html post list --field=ID --post_type=product | xargs /usr/local/bin/wp-cli --allow-root --path=/var/www/html post delete --force
extremeshok /
Created Aug 30, 2018
Revert ZFS changes by destroying uberblocks
# -*- coding: utf-8 -*-
#Script for reverting ZFS changes by destroying uberblocks
#Author: Martin Vool
#Version: 0.1
#Date: 16 November 2009
extremeshok / reboot-modem.js
Created Jan 8, 2018 — forked from jonathanhoskin/reboot-modem.js
Huawei B315 Modem Reboot Script
View reboot-modem.js
// PhantomJS script to reboot a Huawei B315 modem
// Author: Jonathan Hoskin / 2017-09-02
// Twitter: @jhossnz
// Github:
// Requires PhantomJS ~ 2.1.1
// Enter your own modem details here
var username = 'admin';
extremeshok / anet_a6.def.json
Created May 9, 2017 — forked from maciekish/Anet+A6_settings.inst.cfg
Anet A6 profile for Cura 2.3. Save in "Cura 2.3\resources\definitions" and restart Cura
View anet_a6.def.json
"id": "anet_a6",
"version": 2,
"name": "Anet A6",
"inherits": "fdmprinter",
"metadata": {
"visible": true,
"author": "Maciej Swic",
"manufacturer": "Anet",
"category": "Anet",
View bootstrap-masonry-3.htm
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Masonry 3 + Bootstrap</title>
<link href=',700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="">
<link rel="stylesheet" href="style.css">
<script src=""></script>