- En la terminal: (Cambiar "nicolas" por tu usuario)
nano /home/nicolas/.profile
- Agregar
export QT_STYLE_OVERRIDE=gtk
$('#item').text('Error!!').css('background-color','#f67').delay(2000).queue(function() { | |
$('#item').text('Descargar mp3').css('background-color','#49e'); | |
}); |
@echo off | |
X:\usr\sap\PER\DVEBMGS00\exe\sapcontrol.exe -user Administrator PASS -nr 00 -function StartSystem ALL |
{ | |
"Print Arrays": { | |
"prefix": "_pre", | |
"body": "echo '<pre>'.print_r($${1:var}, true).'</pre>';", | |
"scope": { | |
"mode": ["PHP"] | |
}, | |
"description": "Debug para imprimir Arrays en PHP" | |
} | |
} |
''''''''''''''''''''''''''''''''''''''''''''''' | |
' Solution Manager Key Generator ' | |
' Guardar como SolManKeyGen.vbs y ejecutar ' | |
'SCN Thread https://scn.sap.com/thread/3399626' | |
''''''''''''''''''''''''''''''''''''''''''''''' | |
'------------------------------------------------------- | |
Dim SIDs, SNs, SERVs, msg, ENDs, KEYs | |
msg="System ID (3 chr.)" |
127.0.0.1 adclick.g.doublecklick.net | |
127.0.0.1 googleads.g.doubleclick.net | |
127.0.0.1 http://www.googleadservices.com | |
127.0.0.1 pubads.g.doubleclick.net | |
127.0.0.1 securepubads.g.doubleclick.net | |
127.0.0.1 pagead2.googlesyndication.com | |
# 127.0.0.1 spclient.wg.spotify.com | |
# 127.0.0.1 audio2.spotify.com |
<?php | |
/** | |
* | |
* Eventos y Disparadores | |
* @author Nicolás Giacaman <[email protected]> | |
* @url http://nicolasg.cf | |
* @fork https://gist.github.com/im4aLL/548c11c56dbc7267a2fe96bda6ed348b | |
* | |
*/ |
<?php | |
/** | |
* https://www.php-fig.org | PSR-1 , PSR-4 | |
*/ | |
spl_autoload_register(function ($Class) { | |
$Class = ltrim($Class, '\\'); | |
$_P = explode('\\', $Class); | |
$_P[] = str_replace('_', DIRECTORY_SEPARATOR, array_pop($_P)); | |
$Class = implode(DIRECTORY_SEPARATOR, $_P).'.php'; |
<?php | |
class App { | |
const SP = '.'; | |
const SP_REGEXP = '/[^\w.]/'; // if use " / " change to '/[^\w\/]/' | |
protected static $Data = []; | |
public static function set($Path, $Value = null) { | |
$Path = self::clean_path($Path); |
#!/bin/bash | |
# zenity for GTK | |
# qarma for QT | |
Pack="qarma" | |
Url=$($Pack --title "Youtube" --entry --text "Url YouTube") | |
OP=$($Pack --title "Youtube" --list --text "Select Option" --column "#" --column "Desc." "1" "Only Audio" "2" "Video 480p" "3" "Video 720p" "4" "Video 1080p") | |
case $OP in |