I hereby claim:
- I am WesleyE on github.
- I am wesleye (https://keybase.io/wesleye) on keybase.
- I have a public key whose fingerprint is 2A9B C330 A7C8 D507 FECE 415D F7C0 E5BE E55E 6EBC
To claim this, I am signing this object:
/** | |
* Removes a whole column from a multidimensional resultset. | |
* You could use the array_splice function, this is a bit slower (10.3%) but defragments the empty positions | |
* in the internal php array. Use this when removing a lot of columns on big (huge) resultsets. | |
* | |
* @param $aArray | |
* @param $sKey | |
* @return bool | |
*/ | |
function deleteMultidimensionalColumn(&$aArray, $sKey, $bUseSplice = false) { |
import os | |
import glob | |
import subprocess | |
def we_startConversion(): | |
#Double check overwrite | |
if hou.pwd().parm("cbOverwrite").eval() == 1: | |
if hou.ui.displayMessage("Are you sure you want to overwrite RAT files?", buttons=("Yes", "No")) == 1: | |
hou.pwd().parm("cbOverwrite").set(0) |
# -*- coding: utf-8 -*- | |
""" | |
The MIT License (MIT) | |
Copyright (c) 2014 Wesley Elfring | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
""" | |
The MIT License (MIT) | |
Copyright (c) 2014 Wesley Elfring | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
""" | |
The MIT License (MIT) | |
Copyright (c) 2014 Wesley Elfring | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
"""Houdini Import Script - Work In Progress | |
Check http://scripts.wesleyelfring.nl/minecraft-import-script-for-houdini/ | |
""" | |
import hou,os,sys | |
# Check for the required modules, we need pyyaml and pymclevel in the $JOB/scripts/ folder. | |
job = hou.expandString('$JOB') | |
sys.path.insert(0, os.path.join(job, "scripts", "pymclevel")) | |
sys.path.insert(0, os.path.join(job, "scripts")) |
ffmpeg -i GOPR0011.MP4 -f image2 GOPR0011/GOPR0011_%3d.jpg | |
ffmpeg -i GOPR0012.MP4 -f image2 GOPR0012/GOPR0012_%3d.jpg | |
ffmpeg -i GOPR0015.MP4 -f image2 GOPR0015/GOPR0015_%3d.jpg | |
ffmpeg -i GOPR2943.MP4 -f image2 GOPR2943/GOPR2943_%3d.jpg | |
ffmpeg -i GOPR8717.MP4 -f image2 GOPR8717/GOPR8717_%3d.jpg | |
pause |
$capsule->getDatabaseManager()->connection()->listen( | |
function ($query) { | |
// Fix bindings | |
$sql = $query->sql; | |
foreach ($query->bindings as $binding) { | |
//Find first occurence and replace | |
$sql = preg_replace('/\?+/', $binding, $sql, 1); | |
} |
#!/usr/bin/env python2 | |
""" | |
Other Repositories of python-ping | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
* https://github.com/l4m3rx/python-ping supports Python2 and Python3 | |
* https://bitbucket.org/delroth/python-ping | |
I hereby claim:
To claim this, I am signing this object: