This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>idleFingers</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>name</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["java", "-jar", "C:\/TOTVS\/command_line_tools\/tdscli.jar", "-help"], | |
"encoding": "cp1252", | |
"variants": [ | |
{ | |
"cmd": ["java", "-jar", "C:\/TOTVS\/command_line_tools\/tdscli.jar", "compile", | |
"program=$file", "includes=C:\/ambientes_protheus\/M118_SQA_VALID2\/include", | |
"server=localhost", "port=25006", "environment=M118_SQA_VALID2", "serverType=Advpl", | |
"user=admin", "psw=", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
includes=C:/ambientes_protheus/M118_SQA_VALID2/include | |
server=127.0.0.1 | |
port=25006 | |
environment=M118_SQA_VALID2 | |
serverType=Advpl | |
user=admin | |
psw= | |
build=7.00.121227P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "protheus.ch" | |
Class Mil_AccessControl | |
Method New() Constructor | |
Method ExclusiveAccess() | |
Method LoggedInUsers() | |
EndClass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// default exports | |
export default 42; | |
export default {}; | |
export default []; | |
export default foo; | |
export default function () {} | |
export default class {} | |
export default function foo () {} | |
export default class foo {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Classe de exemplo para customização do Cev Plus | |
# | |
# No Cev Plus existem diversas classes que são utilizadas para manuseio dos formulários de cadastro | |
# | |
# Estas classes podem ser modificadas, ou complementadas utilizando as particularidades da linguagem ruby | |
# neste fonte temos exemplos tais como: | |
# | |
# * Adicionar validação a classe | |
# * Executar um metodo em determinado momento |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#INCLUDE "TOTVS.CH" | |
#INCLUDE "RESTFUL.CH" | |
WSRESTFUL ProcessPartsPickList DESCRIPTION "Manutenção de Listas de peças" FORMAT "application/xml,text/xml,text/html" | |
WSMETHOD POST DESCRIPTION 'Recebe e grava a pick list do usuário' | |
WSMETHOD GET DESCRIPTION 'Recebe e grava a pick list do usuário' | |
END WSRESTFUL | |
WSMETHOD POST WSREST ProcessPartsPickList | |
conout('post recebido com sucesso') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Local aRem := {(CHR(13)+ CHR(10)), CHR(13), CHR(10), CHR(9), CHR(11)} | |
Local var := 0 | |
for var:= 1 to Len(aRem) | |
cStr := STRTRAN( cStr, aRem[var], "\n" ) | |
next | |
cStr := LTRIM(cStr) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[source code] Android Development Tutorial - 61 & 62 Notifications | |
/* API23 WARNING | |
* This activity was created with API21 when ActioinBarActivity was not depreciated. | |
* IF you are using API23 or later then you will need to extend AppCompatActivity | |
*/ | |
package your.package.name | |
****** activity_main.xml |
OlderNewer