Download netinstall disc from (https://www.debian.org/distrib/netinst) and run the installer.
Uninstall these packages:
- nano
Install these packages:
import os | |
import csv | |
from collections import OrderedDict | |
original_dir = os.path.abspath('original') | |
new_dir = os.path.abspath('new_translations') | |
output_dir = os.path.abspath('output') | |
for (root, dirs, files) in os.walk(original_dir): | |
for filename in files: |
doc[row['key']] = row['trans'] | |
# Write | |
output_path = os.path.join(output_dir, relpath[len(original_dir) + 1:]) | |
output_path_dir = os.path.dirname(output_path) | |
if not os.path.exists(output_path_dir): | |
os.makedirs(output_path_dir) | |
with open(output_path, 'w') as csvfile: | |
writer = csv.writer(csvfile, delimiter=",", quotechar='"', |
import os | |
import csv | |
original_dir = 'first' | |
new_dir = 'other' | |
output_dir = 'output' | |
for (root, dirs, files) in os.walk(original_dir): | |
for filename in files: | |
relpath = os.path.join(root, filename) |
import os | |
import csv | |
original_dir = 'first' | |
new_dir = 'other' | |
output_dir = 'output' | |
for (root, dirs, files) in os.walk(original_dir): | |
for filename in files: | |
relpath = os.path.join(root, filename) |
~/Projects/monday-100gb:/ vagrant ssh -c 'ls -l' 100gb | |
total 0 | |
Connection to 127.0.0.1 closed. |
Download netinstall disc from (https://www.debian.org/distrib/netinst) and run the installer.
Uninstall these packages:
Install these packages:
""" | |
AuthUser views | |
~~~~~~~~~~~~~~ | |
""" | |
from pluto.views import ( | |
InvalidDataError, | |
client_data_schema, |
""" | |
Auth database models | |
~~~~~~~~~~~~~~~~~~~~ | |
""" | |
from pyramid.security import ( | |
Allow, | |
Authenticated, |
from colander import ( | |
MappingSchema, | |
SchemaNode, | |
String, | |
) | |
class Login(MappingSchema): | |
username = SchemaNode(String()) |
import copy | |
import functools | |
import json | |
from pyramid.httpexceptions import ( | |
HTTPUnsupportedMediaType, | |
) | |
from colander import ( | |
Invalid, | |
) |