I hereby claim:
- I am thomas-p-wilson on github.
- I am thomaspaulw (https://keybase.io/thomaspaulw) on keybase.
- I have a public key whose fingerprint is F36C E051 DAB6 32B6 B4FC 1A12 6E1A FC10 F5FC 183A
To claim this, I am signing this object:
''' | |
Generates a basic Bill Of Materials in FreeCAD. | |
Features: | |
- Generate BOM from selected objects | |
- If no objects selected, generate BOM from visible objects | |
- Calculate multiple bodies where Array is present | |
''' | |
def filterObjects(o): |
UPDATE | |
<table> t | |
SET | |
<field> =( | |
SELECT | |
t2.<field> #- ARRAY[( | |
POSITION-1 | |
)::TEXT] new_value | |
FROM | |
<table> t2 , |
<style> | |
body:not(.sqs-edit-mode) .sqs-layout .sqs-block { | |
pointer-events: none; | |
opacity: 0; | |
visibility: hidden; | |
} | |
body:not(.sqs-edit-mode) .removex { | |
pointer-events: auto !important; | |
opacity: 1 !important; | |
visibility: visible !important; |
#!/bin/bash | |
# | |
# A utility for patching the user's client connection profile to support DNS | |
# resolution in OpenVPN clients which do not otherwise support it. | |
# | |
if ! pidof systemd 2>&1 >/dev/null; then | |
echo "This script currently supports only SystemD users" | |
return 1 2>/dev/null |
# Remove all containers with an auto-generated name. You better not name any of yours with these words! | |
docker rm $(docker ps -aq -f name=admiring \ | |
-f name=adoring \ | |
-f name=affectionate \ | |
-f name=agitated \ | |
-f name=amazing \ | |
-f name=angry \ | |
-f name=awesome \ | |
-f name=backstabbing \ |
#!/bin/bash | |
# Get interface information | |
$LANIF="eth1" | |
$LANIP=$(ifconfig | awk "/$LANIF/,/inet addr/" | grep -oP "inet addr:[0-9\.]+" | cut -d':' -f2) | |
$EXTIF="eth0" | |
$EXTIF=$(ifconfig | awk "/$EXTIF/,/inet addr/" | grep -oP "inet addr:[0-9\.]+" | cut -d':' -f2) | |
# Clear all existing IPTables rules | |
echo " * Clearing old rules" |
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | |
"http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd"> | |
<!-- | |
Checkstyle configuration that checks the sun coding conventions from: | |
- the Java Language Specification at |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.lang.invoke.MethodHandles; | |
import java.lang.invoke.MethodType; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Method; | |
import java.util.Properties; | |
import org.apache.commons.lang3.StringUtils; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; |
#!/bin/bash | |
# | |
# Originally found at https://github.com/mark-adams/docker-chromium-xvfb/blob/master/images/base/xvfb-chromium | |
# and modified to work with google-chrome instead of chromium | |
_kill_procs() { | |
kill -TERM $chrome | |
wait $chrome | |
kill -TERM $xvfb | |
} |
I hereby claim:
To claim this, I am signing this object: