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
import sqlite3 | |
conn = sqlite3.connect('c:\\Users\\Martin\\AppData\\Local\\Nokia\\Nokia Data Store\\DataBase\\MDataStore.db3') | |
for i in conn.iterdump(): | |
print(i) |
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
import sqlite3 | |
import json | |
conn = sqlite3.connect('c:\\Users\\Martin\\AppData\\Local\\Nokia\\Nokia Data Store\\DataBase\\MDataStore.db3') | |
data = {} | |
cursor = conn.execute("select * from contact") | |
rows = cursor.fetchall() | |
getRowData = lambda r : ' '.join([x if x else '' for x in r]).strip() |
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
<html> | |
<body> | |
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> | |
<script language="javascript"> | |
mouseOverTime = 0; |
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
using HDF5, JLD | |
# https://www.dropbox.com/s/o4ys5z3p7ogircd/characterSetMappingTables.jld?dl=0 | |
@load "c:\\Users\\Martin\\Downloads\\MAPPINGS\\characterSetMappingTables.jld" | |
function printEncodings() | |
for mappingTable in sort(collect(keys(characterSetMappingTables))) | |
println(mappingTable) | |
end | |
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
#!/usr/bin/env python2.7 | |
# Copyright Martin Mevald 2011. | |
# Distributed under the Boost Software License, Version 1.0. | |
# (See accompanying file LICENSE_1_0.txt or copy at | |
# http://www.boost.org/LICENSE_1_0.txt) | |
# settings | |
fileImages = ['hl1.png','Afrika_party_212px.jpg','vlnovka.png','f.png','distribuce.jpg','teachers_first round_demonstration180px.jpg','vlnovka0.png','rusinga_island_rustinga_1_180px.jpg','IMG_0075_180px.jpg','3_180px.jpg','afrika_nevsednima_ocima_program_partnerstvi_partnerstvi_180px.jpg','zapati.png'] | |
imagesPath = 'C:\\Users\Martin\\Documents\\Bulletin\\' | |
filename='C:\\Users\\Martin\\Documents\\Bulletin Centra Narovinu.eml' |
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
diff --git a/www/php-ide/js/ide_bottom_script.js b/www/php-ide/js/ide_bottom_script.js | |
--- a/www/php-ide/js/ide_bottom_script.js | |
+++ b/www/php-ide/js/ide_bottom_script.js | |
@@ -256,9 +256,6 @@ function open_file(file) { | |
'py', 'inc', 'txt', 'htaccess', 'htpassword', 'sql', 'xml', 'conf']; | |
if (typeof file != 'string') file = file.toString(); | |
- if (!file.match(new RegExp('\\.(' + allow_extension.join('|') + ')$'), 'g')) { |
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
diff --git a/www/php-ide/application/model/ftp.class.php b/www/php-ide/application/model/ftp.class.php | |
--- a/www/php-ide/application/model/ftp.class.php | |
+++ b/www/php-ide/application/model/ftp.class.php | |
@@ -5,12 +5,12 @@ | |
//e-mail:rsr_cn@yahoo.com.cn | |
//website:www.yawill.com | |
//create:2004-6-23 09:22 | |
-//modify: | |
+//modify: 2011-12-30 - Martin Mevald, www.mevald.cz - added SSL connection |
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
<?php | |
////////////////////////////////////////////////// | |
//ftp class | |
//author:paul.ren | |
//e-mail:rsr_cn@yahoo.com.cn | |
//website:www.yawill.com | |
//create:2004-6-23 09:22 | |
//modify: 2011-12-30 - Martin Mevald, www.mevald.cz - added SSL connection | |
////////////////////////////////////////////////// |
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
Modified Drupal module Galleria | |
The example of the modified galleria: | |
http://www.centernarovinu.org/content/weekend-coordinators-distance-adoption | |
---------- | |
Modules: | |
Galleria 6.x-1.0 | |
http://drupal.org/project/galleria |
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
#!/usr/bin/env python | |
import sys | |
import re | |
getEmails = re.compile(r'[\w\-][\w\-\.]+@[\w\-][\w\-\.]+[a-zA-Z]{1,4}') | |
content=open(sys.argv[1],'r').readlines() | |
found = set() | |
for c in content: |
OlderNewer