Posts

caching - centos os - apache httpd takes all my ram and cache -

i have 2 sites on machine getting unresponsive/slow. i checked on vps (virtual dedicated server) used #free -m , got this total used free shared buffers cached mem: 992 926 66 0 3 24 -/+ buffers/cache: 898 94 swap: 63 0 63 i read http://www.linuxatemyram.com/ , im pretty sure not case because cached 24mb, if flush cache with sync; echo 3 > /proc/sys/vm/drop_caches i still see usage way high total used free shared buffers cached mem: 992 903 88 0 0 9 -/+ buffers/cache: 893 98 swap: 63 28 35 but when stop httpd service with # service httpd stop stopping httpd: [ ok ] then used #free -m again , got: total used free shared buff...

docusignapi - Disable In-Person Signer email notification to the host -

i'd know if it's possible disable email notification host when using in-person signing. ( sent document host in-person signing session.) repro: 1 - envelope created using api containing 3 recipients: 1 in-person captive signer , 2 remote signers. 2 - host receives email notification. in-person sign email notification json: `{ "status":"sent", "emailsubject":"contract", "compositetemplates":[ { "servertemplates":[ { "sequence":"1", "templateid":"<templateid>" } ], "inlinetemplates":[ { "sequence":"1", "recipients":{ "inpersonsigners":[ { "hostemail":"johndoe@email.com", ...

php - Use value from checkbox in query -

i have checkbox input value set 0. <form id="formfilter2" name="formfilter2" method="post" action=""> <input name="selview" type="checkbox" id="selview" onchange="formfilter2.submit()" value="0" <?php echo (isset($_post['selview'])?'checked':'');?> /> view accounts no fees assigned </form> i set query left join table (fees) counts how many fees account has. when view data can see count after every corresponding members.name. 0 shows if there no record in fees table members.id. members have not been assigned fee. trying use checkbox filter names , show me have 0 assigned. $varview_recordsetmembers = "%"; if (isset($_post['selview'])) { $varview_recordsetmembers = $_post['selview']; } $varfilter_recordsetmembers = "%"; if (isset($_post['selfilter'])) { $varfilter_recordsetmembers =...

c# - SQLite for Universal Windows Plataform in Unity3d (5.5.3f1). How to do it? -

i'm working in project supports android, ios, osx , not uwp windows. we're trying add support uwp, had lot of problems , 1 not founding solution how use sqlite uwp in unity. possible? if how can it? or there database can use replace sqlite? please, let me know!

c# - Converting Texture2D into a video -

i've did lot of research, can't find suitable solution works unity3d/c#. i'm using fove-hmd , record/make video of integrated camera. far managed every update take snapshot of camera, can't find way merge snapshots video. know way of converting them? or can point me in right direction, in continue research? public class fovecamera : singletonbase<fovecamera>{ private bool camavailable; private webcamtexture fovecamera; private list<texture2d> snapshots; void start () { //-------------just checking if webcam available webcamdevice[] devices = webcamtexture.devices; if (devices.length == 0) { debug.logerror("fovecamera not found."); camavailable = false; return; } foreach (webcamdevice device in devices) { if (device.name.equals("fove eyes")) fovecamera = new webcamtexture(device.name);//screen.width , screen.height } if (fovecamera...

jquery - Disable all the <select> items in JavaScript -

i have few <select> s items in jsp file, want disable <select> s items. this jsp file: <select id="combosupergrupos1" name="combossupg"> <option value="0">n...</option> <!-- x options --> </select> <select id="combosupergrupos2" name="combossupg"> <option value="0">n...</option> <!-- x options --> </select> this i'm trying: var combossupergrupo = document.getelementsbyname("combossupg"); combossupergrupo.disabled = true; but can't achieve goal. i'm thinking jquery, don't know if can mix javascript jquery. any question post on comments. jquery : $('select[name="combossupg"]').attr('disabled',true); javascript : var selects = document.queryselectorall("select[name='combossupg']"); selects.foreach(function(s){ s.disabled = true; });

docker - Update Windows Software in Dockerfile -

often times dockerfile linked using statements. there's no telling when upstream update package latest security fixes. include 'apt-get update && apt-get -y upgrade' in linux based dockerfile(s). what equivalent dockerfile based on windowsservercore? linux base images (like ubuntu , alpine etc.) updated regularly, , windows ones. typically, microsoft push updates every month on patch tuesday . can see history in tags on docker hub .