This file contains hidden or 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
[{"id":"cirrusdat/CIRRUS_CAMPOS","name":"campos","editable":true,"singleName":"campos","desc":"","project":"cirrusdat","tableType":0,"inMemory":false,"fields":[{"id":"ID","name":"Code","type":6,"bindType":0,"bindTypeName":"none","fieldBoundedTableId":"","fieldIsSigned":false,"fieldDecimals":0,"fieldMaximumValue":16777215,"fieldMinimumValue":0,"hidden":false},{"id":"NAME","name":"Name","type":1,"bindType":0,"bindTypeName":"none","fieldBoundedTableId":"","fieldIsSigned":false,"fieldDecimals":0,"fieldMaximumValue":0,"fieldMinimumValue":0,"hidden":false},{"id":"TABLAS","name":"tabla","type":6,"bindType":1,"bindTypeName":"maestra","fieldBoundedTableId":"3ppd4qwn.vcd@CIRRUS_TABLAS","fieldIsSigned":false,"fieldDecimals":0,"fieldMaximumValue":65535,"fieldMinimumValue":0,"hidden":false},{"id":"INCLUIR","name":"Incluir","type":10,"bindType":0,"bindTypeName":"none","fieldBoundedTableId":"","fieldIsSigned":false,"fieldDecimals":0,"fieldMaximumValue":0,"fieldMinimumValue":0,"hidden":false},{"id":"IDREF","name":"idRef","ty |
This file contains hidden or 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
Ruby Interview Questions | |
Ruby | |
What is a class? | |
What is an object? | |
How is the method lookup performed in Ruby? *** | |
What's the purpose of method missing and how does it work? Tiene la idea | |
How do you support multi inheritance in Ruby? | |
What's the difference between include and extend? |
This file contains hidden or 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
package main | |
import ( | |
"C" | |
) | |
func main() { | |
} | |
//export EchoInt |
This file contains hidden or 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
package main | |
import "fmt" | |
import "C" | |
func main() {} | |
//export SayHello | |
func SayHello(message *C.char) *C.char { | |
goMessage := C.GoString(message) |
This file contains hidden or 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
package main | |
import "fmt" | |
func main() { | |
fmt.Println(sayHello("world")) | |
} | |
func sayHello(message string) string { | |
return "hello " + message |
This file contains hidden or 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
def dig(row,array_of_keys) | |
return row if array_of_keys.count == 0 | |
current = case row | |
when Hash | |
current = row[array_of_keys.shift] | |
when Array | |
current = (row.find { |x| x.key?(key)} ||{})[key] | |
else | |
nil | |
end |
This file contains hidden or 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
row = {nivel1: { | |
nivel2: { | |
nivel3: { | |
hola: "mundo" | |
} | |
} | |
} | |
} |
This file contains hidden or 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
func main() { | |
/*user := C.CString("foo") | |
pass := C.CString("pass") | |
remote := C.CString("127.0.0.1") | |
port := C.CString("2222") | |
//pattern := C.CString("/upload") | |
fromPath := C.CString("/upload/2019040900050927.pdf") | |
toPath := C.CString("/upload/public/locales/my_pdf.pdf") | |
//toPath := C.CString("/upload/views/copy_2019040900050927.pdf") |
This file contains hidden or 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
importClass("XMLHttpRequest"); | |
importClass( "VFile" ); | |
importClass("VTextFile"); | |
function readFile(path) { | |
var isText = path.match(/\.(xml|json|csv|txt|html|html)$/) !== null , | |
fi = isText ? (new VTextFile(path)) : (new VFile(path)), | |
fileInfo; | |
if ( fi.open( VFile.OpenModeReadOnly ) ) { |
This file contains hidden or 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
package main | |
import ( | |
"C" | |
gosxnotifier "github.com/deckarep/gosx-notifier" | |
) | |
//export Notify | |
func Notify(x *C.char) bool { |