For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
import json | |
import glob | |
all_bookmarks = [] | |
md_file = open("bookmarks.md", "w+") # saving in markdown file, if no file exists using '+' creates one | |
files = [file for file in glob.glob("JSONBookmarks/*")] # using glob to read all files from the folder | |
for file_name in files: | |
print(file_name) | |
with open(file_name) as bk: |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
# ... | |
# standard rails stuff here | |
# ... | |
Rake::TestTask.new([:test, :lockdown]) do |t| | |
t.test_files = FileList[ | |
'test/functional/lockdown_test.rb' | |
] | |
end |
Create the document structure
require 'pg' | |
require 'ap' | |
def connect(db, user, pw) | |
PGconn.new('localhost', 5432, '', '', db, user, pw) | |
end | |
def show_shops2(conn) | |
conn.exec( "SELECT haendler_id AS id, * from tbl_haendler;" ) do |result| | |
result.each do |row| |
package ch.jgraber.blog; | |
import org.eclipse.swt.SWT; | |
import org.eclipse.swt.events.SelectionAdapter; | |
import org.eclipse.swt.events.SelectionEvent; | |
import org.eclipse.swt.graphics.Point; | |
import org.eclipse.swt.layout.FillLayout; | |
import org.eclipse.swt.widgets.Button; | |
import org.eclipse.swt.widgets.Composite; | |
import org.eclipse.swt.widgets.Display; |