This is just stuff that I have put down that I find I use a lot of the time for my own reference.
$ git pull
#!/bin/bash | |
echo "Latest known working version for patching: 2.3.5" | |
if [[ -z "$1" ]]; then | |
echo 'Enter absolute path to SteamVR (for example, /home/user/.local/share/Steam/steamapps/common/SteamVR)' | |
read STEAMVR_PATH | |
else | |
STEAMVR_PATH="$1" | |
fi |
#!/usr/bin/python3 | |
from bluepy import btle | |
import sys | |
class DiscoLH(btle.DefaultDelegate): | |
def __init__(self): | |
self.devices = [] | |
btle.DefaultDelegate.__init__(self) |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$script = <<ENDSCRIPT | |
Home="/home/ubuntu" | |
# Altere os valores abaixo de acordo com o seu banco | |
Modulo="GBPCEFwr64.deb" | |
UrlModulo="https://cloud.gastecnologia.com.br/cef/warsaw/install/${Modulo}" | |
UrlBanco="http://www.caixa.gov.br" |
#!/usr/bin/env python | |
freecadfunctions="""#!/usr/env/bin python | |
#python 2 | |
import FreeCAD,Part | |
def pointstopoles1D(points): | |
return zip(*[(FreeCAD.Vector(point[0:3]),point[3]) for point in points]) | |
def pointstopoles(points,cu): | |
poles=[] |