<?php
print( '<pre>'.print_r($var,true).'</pre>' );
Written with StackEdit.
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
def loadVectorFromFile( archiveName ): | |
vector = [] | |
with open( archiveName, "r") as archive: | |
for line in archive: | |
vector.append(line) |
g++ m.cpp -o app `pkg-config --cflags --libs opencv` |
<?php
print( '<pre>'.print_r($var,true).'</pre>' );
Written with StackEdit.
{ | |
"always_show_minimap_viewport": true, | |
"color_scheme": "Packages/User/SublimeLinter/Agila Oceanic Next (SL).tmTheme", | |
"dictionary": "Packages/Language - English/en_US.dic", | |
"font_size": 12, | |
"gutter": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], |
The find
command helps to find files in a directory. It returns the relatives path of the files found. If you want to create symbolic links of all found files you will need the absolute path of them.
This is the right way to create symbolic links using find
.
find some_path -type f -name '*.file_extension' -exec ln -s -t 'path_to_put_the_created_links' "$(readlink -f "{}")" \;
var spawn = require('child_process').spawn, | |
ls = spawn('python',['-u','python.py']); | |
ls.stdout.on('data', function (data) { | |
console.log('stdout: ' + data); | |
}); | |
ls.stderr.on('data', function (data) { | |
console.log('stderr: ' + data); | |
}); |
/** | |
* @param {string} security_nonce | |
* Code of the Nonce. Security Stuff | |
*/ | |
jQuery(function($) | |
{ | |
// The call trigered | |
$('#publish').click(function(event) | |
{ |
<snippet> | |
<content><![CDATA[ | |
/** | |
* @param {string} security_nonce | |
* Code of the Nonce. Security Stuff | |
*/ | |
jQuery(function(\$) | |
{ | |
// The call trigered |