При установке под линукс (проверено на Ubuntu 16):
- Устанавливаем wine
- Из папки crack копируем файл MentorKG.exe в
<install_dir>/linux
(или/linux_x86_64
) - Выполняем
sudo chown root:root ~/.wine
{ | |
"targets": [ | |
{ | |
"target_name": "hello", | |
"sources": [ "hello.cc" ] | |
} | |
] | |
} |
#!/bin/bash | |
# | |
# Configure sshd on MinGW for Windows | |
# Create host keys | |
ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa | |
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa | |
ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa | |
ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519 |
import scipy.io | |
import pandas as pd | |
mat = scipy.io.loadmat('file.mat') | |
mat = {k:v for k, v in mat.items() if k[0] != '_'} | |
data = pd.DataFrame({k: pd.Series(v[0]) for k, v in mat.iteritems()}) | |
data.to_csv("example.csv") |
sudo apt-get update | |
sudo apt-get install default-jre | |
sudo apt-get install default-jdk |
#!/bin/bash | |
ALTERA_PATH=~/altera/13.1/ | |
sudo dpkg --add-architecture i386 | |
sudo apt-get update | |
sudo apt-get install gcc-multilib g++-multilib \ | |
lib32z1 lib32stdc++6 lib32gcc1 \ | |
expat:i386 fontconfig:i386 libfreetype6:i386 libexpat1:i386 libc6:i386 libgtk-3-0:i386 \ | |
libcanberra0:i386 libpng12-0:i386 libice6:i386 libsm6:i386 libncurses5:i386 zlib1g:i386 \ |
Here are a list of headless browsers that I know about:
// One shot request HTTP client - show local/remote addresses | |
// | |
// Attempt to use a modified Agent that has own self.createConnection() | |
// that binds the client socket to a particular address. | |
var assert = require('assert'), | |
dns = require('dns'), | |
http = require('http'), | |
net = require('net'), | |
util = require('util'); |