Open up a Terminal window. (If you have never seen Terminal before, go to Spotlight Search and type "Terminal.")
In the Terminal box, try this:
defaults read com.google.Chrome AppleLanguages
If you see this:
#!/usr/bin/env python | |
import os | |
import time | |
import json | |
import base64 | |
import requests | |
import argparse | |
from base64 import urlsafe_b64decode, b64decode | |
from Crypto.Hash import SHA256, SHA512 |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Base box: https://github.com/akrabat/packer-templates | |
Vagrant.configure("2") do |config| | |
config.vm.box = "19ft/windows2016" | |
config.vm.guest = :windows | |
config.vm.boot_timeout = 600 |
Since modern.ie released vagrant boxes, it' no longer necessary to manually import the ova file to virtualbox, as mentioned here.
However, the guys at modern.ie didn't configured the box to work with WinRM. This how-to addresses that, presenting steps to proper repackage these boxes, adding WinRM support. Additionally configures chocolatey package manager and puppet provisioner.
#.editorconfig default | |
root = true | |
[*] | |
indent_style = space | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
max_line_length = 80 |
@ECHO OFF | |
setLocal EnableDelayedExpansion | |
@REM ************************************************************************* | |
@REM Purpose: Runs BI Publisher Catalog Utility on Windows OS | |
@REM Author: Dmitry Nefedkin ([email protected]) | |
@REM Description: script is based on BIPCatalogUtil.sh | |
@REM found in $MW_HOME\Oracle_BI1\clients\bipublisher\ of Oracle BI EE 11.1.1.6 installation | |
@REM Last changed: Oct, 25, 2012 18:00 | |
@REM Version: 0.1 | |
@REM ************************************************************************* |
@ECHO OFF | |
setLocal EnableDelayedExpansion | |
@REM ************************************************************************* | |
@REM Purpose: Runs BI Publisher Catalog Utility on Windows OS | |
@REM Author: Dmitry Nefedkin ([email protected]) | |
@REM Description: script is based on BIPCatalogUtil.sh | |
@REM found in $MW_HOME\Oracle_BI1\clients\bipublisher\ of Oracle BI EE 11.1.1.6 installation | |
@REM Last changed: Oct, 25, 2012 18:00 | |
@REM Version: 0.1 | |
@REM ************************************************************************* |
<!-- ==================================== | |
Colors for git annotation | |
====================================== --> | |
<dict> | |
<key>name</key> | |
<string>Git Modified Line</string> | |
<key>scope</key> | |
<string>git.changes.x</string> | |
<key>settings</key> | |
<dict> |
def force_unicode(string, codecs=['utf8', 'cp1252']): | |
""" Force use unicode when you don't know correct codec of the string """ | |
for i in codecs: | |
try: | |
return unicode(string, i) | |
except: | |
pass |
# encoding=utf-8 | |
# Idea of a Custom data types for validate the Chilean RUT in Flask-RESTful | |
# by @lacosox | |
from itertools import cycle | |
#rut='XXXXXXXX-X' | |
def chilean_rut(rut_text): | |
rut_text.upper().strip().replace(".", "").replace("K", "10") | |
(rut, dv)=rut_text.split('-') |