oracle – How to quote sqlplus identifier in bash script

I have googled for an hour or so now and still can not find how to quote a sqlplus identifier in bash script.

I get “ORA-00904: “MEMORY_TARGET”: invalid identifier” no matter how I try to quote the identifier in the following command

MEMORY_TARGET=$(su – orat01 -c ” echo ‘select VALUE from V$PARAMETER where name = ‘memory_target’;’| sqlplus / as sysdba “)

Any ideas on how to do this would be greatly appreciated.

unity – Some UI button script not working in apk build!

There are a lot of posts regarding this problem in various website and even in this one but no one has given a feasible solution to this problem. I have a button that has a custom sprite. I also have a custom script attached to that button which when pressed down (IPOINTER DOWN) changes the color of particular sprite renderer. All this works in pc but not on apk build. Why?
I have two canvas, so I thought there might be raycasting issues, so I disabled one but still no luck.
The buttons are in world space in canvas. So, I thought I might not use a canvas but IPointer only works on clickable UI elements.

unity – How to change a sprite via script at runtime when using an animator?

I am making a simple 2D shooter.

I have my character’s body and head as different objects, as I want him to look up/down regardless of the movement.
So, I basically use the following script:

public class PlayerHead : MonoBehaviour
    public static PlayerHead instance;
    public SpriteRenderer theSR;
    public Sprite netural, down, up;

    private void Start()
        instance = this;
    public void Up()
        theSR.sprite = up;

    public void Down()
        theSR.sprite = down;

    public void Netural()
        theSR.sprite = netural;


However, the head is also used in the player animations:

enter image description here

This is because head must move with the body during the idle animation (breathing and moving up&down slowly).

I suspect that because of this animation, the sprite of the head is somehow fixed. It does not change in runtime even though I change it manually inside Unity.

How can I make the Animator let me change the sprite?

javascript – Selenium script was working, and for no reason stopped working

I there, I am new to python and only had done some simple scripts to automate some stuff in my work.

One of those scripts was to login into my companies program, and I use selenium with IE webdriver to do it.
The script was working fine with some javascript code instead of send Keys, but for no reason it started to give an error

Traceback (most recent call last):
File “C:Userspt00488749Desktopvig.pyw”, line 16, in
File “”, line 634, in execute_script
return self.execute(command, {
File “”, line 321, in execute
File “”, line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: JavaScript error

I used this line:


and changed it to this


but with no luck

Since that, I can´t figure how to make it work again

I would appreciate any help in understanding why this happened

unity – Using Part of prefab as script parameter

I’m trying add a weapon to Eithan – the third person character. So I want to take his hand, which is part of the prefab Eithan (the weapon location) and use it in the my Player.cs script to Instantiate the weapon.
I created a parameter in the script for the hand: (SerializeField) GameObject weaponSocket; and I tried to Instantiate the weapon like this like this: Instantiate(weaponPrefab, weaponSocket.Transform);, but I just cant drag the hand to the parameter.

Anyone knows how to do this correctly?

Thank you!

Images: Player script:
Trying to drag the left hand to the parameter (indicated by red arrows):

script – Copiar node de una response y pegarlo en una request con groovy

mi duda es la siguiente, estoy intentando hacer un script con groovy para copiar una parte del codigo xml, es decir, un nodo con sus hijos, y pegarlo en una request de otro servicio soap ejemplo:

               <c:Nombre>Nombre del remitente</c:Nombre>
               <c:Mail> Correo del remitente </c:Mail>
               <c:Nombre>Nombre del destinatario</c:Nombre>
               <c:Mail>Correo del destinatario</c:Mail>

y pegar el a:mensaje en una request de un servicio diferente.

Muchas gracias.

python – estoy tratando de hacer una aplicación grá corro este script y me aparece en la ventana automático la acción del botón sin haberlo clickeado. Xq?

script para hacer ping a un servidor mediante una interfaz gráfica con tkinter pero aparece el resultado en la ventana sin haber clickeado el botón ping, o sea el botón no está llamando a la función ping, no sé xq pasa esto soy nueva programando en python

import platform 
import subprocess
import os
import time
import tkinter as tk
from tkinter import *

window = tk.Tk()

label_dos = tk.Label()

def ping(ip):
 parametro = '-n' if 
 =='windows' else '-c'  
 comando = 
 to " + ip + "  ...")

def clear():

ping.grid(row=0, columna=0)


How to make this Google Sheets script dynamic?

I’m working in a script to paste a table on the same sheet, in my code I’m only pasting the table on the row A18

function NewQuote() {
 var ss = SpreadsheetApp.getActive();
 ss.getRange('A1:F14').copyTo(ss.getActiveRange(), SpreadsheetApp.CopyPasteType.PASTE_NORMAL, false);

I want to make this value dynamic and pasting the table on the next available row.

sharepoint online – How to deploy from powershell script using github actions?

I am trying to deploy to siteCollection appcatalog on each push to my github repository using github actions. Saw that it’s possible using Office 365 CLI action, but that only allows tenant admins to deploy.

Before I run the powershell script I build and create the .sppkg file.
So I used PowerShell’s SharePointPnPPowerShellOnline Module in github actions. I was able to connect to the site.

I’m not able to find a way to access the .sppkg file and deploy it to the site

Below is my code

Install-Module -Name SharePointPnPPowerShellOnline -Force -Verbose -Scope CurrentUser

$siteUrl = ""
$username = "" 
$password = "myPassword"      

$encpassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$cred = New-Object -typename System.Management.Automation.PSCredential -argumentlist $username, $encpassword

Connect-PnPOnline -Url $siteUrl -Credentials $cred

Write-Host "logged in"

#code to access the sppkg file and deploy it to the site collection appcatalog

$getTheSPPKGFile = *************

Add-PnPApp -Path $theSPPKGFile -Publish -Overwrite

Any search is resulting to tenant admin approach. I don’t have tenant admin access, only site collection admin access.

Thank you

Google Sheets script – Web Applications Stack Exchange

I’m working in a script to paste an table on the same sheet, in my code I’m only pasting the table on the row A18

function NewQuote() {
var ss = SpreadsheetApp.getActive();
ss.getRange(‘A1:F14’).copyTo(ss.getActiveRange(), SpreadsheetApp.CopyPasteType.PASTE_NORMAL, false);

I want to make this value dynamic and pasting the table on the next available row.