Recent Pads - Page 2

Total pad count: 677
created 193 days, 16 hours ago
975f2819-8001-40d0-b413-531e583f4ed2

o https://brettterpstra.com//2019/02/21/your-security-and-privacy/ 

x https://brettterpstra.com//2013/02/09/quick-tip-jumping-to-the-finder-location-in-terminal/ 

x https://brettterpstra.com//2018/11/04/the-future-of-the-tablinks-safari-extension/ 

o https://brettterpstra.com//2019/02/04/brainstorming-how-i-start-a-project/ 
... view all 21 lines

created 211 days, 15 hours ago
923272e7-41ff-4804-8ef7-c55be06239ff

mysql
########

This is the administrators guide to maintaining MySQL databases

.. contents::

... view all 196 lines

created 216 days, 21 hours ago
stacker-lambda-function-datadog-log-forwarder

from .. import Blueprint

from stacker.blueprints.variables.types import CFNString

from stacker_blueprints.aws_lambda import Function

from troposphere import awslambda
... view all 59 lines

created 255 days, 16 hours ago
86f26248-35ce-4b5f-8a6a-c3edc8ff43f5

fox@blanka ~/h/s/p/pySFML2> cat README.txt 
bash
virtualenv env
source env/bin/activate
pip install --upgrade pip
pip install cython
cd ~/git/SFML
... view all 17 lines

created 266 days, 18 hours ago
python-porting-sfml-rect-intersects-to-avoid-sigsegc-address-bou

""" 
Porting Rect's intersects to pure Python to avoid::
 
  terminated by signal SIGSEGV (Address boundary error)

When calling::

... view all 80 lines

created 272 days, 1 hour ago
ecebd557-0986-4171-a0bf-c4b2b8d84aa2

us/index.html
output/migrating-from-wordpress-to-pelican/
output/migrating-from-wordpress-to-pelican/index.html
+ echo 5286e27fc73d966faa120fd47b9261a7b6de34cf
+ sudo /home/jenkins/salt-call-put-artifacts-onto-salt-master.sh
+ salt-call cp.push_dir /home/jenkins/workspace/russell.ballestrini.net 'glob=*.tar.gz'

... view all 18 lines

created 276 days, 16 hours ago
2aee774d-5bb6-4f50-b3f2-bd1afa7325f4

Your a punk!
... view all 1 lines

created 280 days, 20 hours ago
a-better-way-to-track-time-python-utc-no-months

from datetime import datetime

now = datetime.now().utctimetuple()

# example: 2018-345 12:15:17
print(
    "{}-{} {}:{}:{}".format(
... view all 15 lines

created 283 days, 13 hours ago
f89906ab-8de1-4818-9133-b07c87b755fd

 Connecting to NAS... Make sure the NAS system is powered on and connected to the network. 



Environment:

Software Version: FreeNAS-11.2-RELEASE (31f889bbf)
... view all 48 lines

created 284 days, 2 hours ago
smartos-running-on-thinkpad-t430

# Reference:
# https://wiki.smartos.org/display/DOC/SmartOS+Command+Line+Tips

[root@mbison /opt/setup-json]# psrinfo -vp
The physical processor has 2 cores and 4 virtual processors (0-3)
  The core has 2 virtual processors (0-1)
  The core has 2 virtual processors (2-3)
... view all 46 lines

created 289 days, 2 hours ago
fd9d4852-3ad1-4c0b-854b-159efc184676

What if, instead of figuring out locking, we created a unique but consistent schedule id (job `id`) across workers - then because `rq` uses `hmset` for `Job.create` we end up updating the existing key. 

If 30 schedulers all publish the same scheduled job (with the same ID), only one of them persists in redis?

An unset `id` when calling a `Scheduler.schedule` or `Scheduler.cron` causes each invocation to get it's own random and unique `uuid.UUID4`, which I believe is at the heart of the issue.

Let me know if there is a flaw in my logic.
... view all 7 lines

created 303 days, 21 hours ago
8603f387-06f9-428f-a9c4-1952acd3c264

Ten Tips For Long Road Trips: With Kids

These are tips I've learned the hard way while taking regular road trips with my family of 5.

I'm certain most of these also apply to trips in an Airplane.

Here is my tips so you don't have to wing it:
... view all 41 lines

created 311 days, 14 hours ago
2018-11-09-mall-dream

2018-11-09 mall dream
###########################

There were a few live bands playing throughout the mall, they had a small gather of people (5-15)
watching. Some had a small group of people (groupies?) dancing.

Most of the stores in the mall were vacant and empty.
... view all 125 lines

created 320 days, 14 hours ago
d505f55c-0586-451f-8f49-709af1a87810

RROR   ] An Exception occurred while executing state.highstate: [Errno 2] No such file or directory: '/var/tmp/.root_812c13_salt/running_data/var/cache/salt/minion/minions'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/client/ssh/__init__.py", line 1156, in run_wfunc
    result = self.wfuncs[self.fun](*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/client/ssh/wrapper/state.py", line 705, in highstate
    roster_grains)
  File "/usr/lib/python2.7/dist-packages/salt/client/ssh/state.py", line 229, in prep_trans_tar
... view all 24 lines

created 321 days, 2 hours ago
1a00766a-ee59-4339-afb9-e5e4bb087639

Vlan 1139 (Rballestrini-public)

------------------------------------------------
           TCP/IP NETWORK INFORMATION
------------------------------------------------
IP Entered = ..................: 165.225.135.192
CIDR = ........................: /29
... view all 16 lines

created 322 days, 21 hours ago
ea7e08f1-3306-48eb-be0f-8676428c8590

Get them _Drunk_,
Get them _Fed_,
Sell them a _Dream_,
and put them to _Bed_.

^ Integrate Vertically, Tell me I'm wrong.
... view all 6 lines

created 323 days, 54 minutes ago
7ceffe13-29db-4f34-a23e-c449e5443994

[   37.728676] cloud-init[1650]: fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["blkid", "&&", "ls", "/dev"], "delta": "0:00:00.001939", "end": "2018-10-31 20:30:41.935451", "msg": "non-zero return code", "rc": 2, "start": "2018-10-31 20:30:41.933512", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}



[   41.102935] cloud-init[1726]:     "msg": "{'stderr_lines': [], 'stdout': u'no-nvme-device-found\\n', 'changed': True, 'failed': False, 'stderr': u'', 'rc': 0, 'stdout_lines': [u'no-nvme-device-found']} {'stderr_lines': [], u'changed': True, u'end': u'2018-10-31 19:20:55.464923', 'failed': False, u'stdout': u'/dev/nvme1n1p1: LABEL=\"cloudimg-rootfs\" UUID=\"114c5a46-d3bd-49c0-bdf3-7990a8154029\" TYPE=\"ext4\" PARTUUID=\"34a452b2-01\"\\n/dev/loop0: TYPE=\"squashfs\"\\n/dev/loop1: TYPE=\"squashfs\"\\n/dev/loop2: TYPE=\"squashfs\"\\n/dev/loop3: TYPE=\"squashfs\"\\n/dev/nvme1n1: PTUUID=\"34a452b2\" PTTYPE=\"dos\"', u'cmd': [u'blkid'], u'rc': 0, u'start': u'2018-10-31 19:20:55.457200', u'stderr': u'', u'delta': u'0:00:00.007723', 'stdout_lines': [u'/dev/nvme1n1p1: LABEL=\"cloudimg-rootfs\" UUID=\"114c5a46-d3bd-49c0-bdf3-7990a8154029\" TYPE=\"ext4\" PARTUUID=\"34a452b2-01\"', u'/dev/loop0: TYPE=\"squashfs\"', u'/dev/loop1: TYPE=\"squashfs\"', u'/dev/loop2: TYPE=\"squashfs\"', u'/dev/
loop3: TYPE=\"squashfs\"', u'/dev/nvme1n1: PTUUID=\"34a452b2\" PTTYPE=\"dos\"']}"

... view all 75 lines

created 328 days, 1 hour ago
599ab059-07d5-451e-90f0-a9ac3a5b5d76

Remarkbox is a free hosted comment 
system that works on your web pages.

It supports Markdown:

* and realtime
* in place 
... view all 27 lines

created 328 days, 14 hours ago
4895b178-3631-4dee-b8fa-d7c275542f33

gone
... view all 1 lines

created 331 days, 16 minutes ago
f59d7f53-60bd-4b55-86fd-22889ff8fd91

I started going to a psychologist this year, Dr. Healy.

Here are some random topics we talked about.

* Your perfect right (didn't read it)

* Homecoming John bradshaw (didn't read it)
... view all 27 lines

pages 1 2 3 4 .. 34