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
select o.created,o.last_ddl_time | |
from user_objects o | |
where o.object_name='MY_VIEW' and o.object_type='VIEW'; |
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
###Pikachu A | |
proxmark3> hf mfu info | |
--- Tag Information --------- | |
------------------------------------------------------------- | |
TYPE : NTAG 215 504bytes (NT2H1511G0DU) | |
UID : 04 a6 16 72 61 3e 80 | |
UID[0] : 04, NXP Semiconductors Germany | |
BCC0 : 3C, Ok | |
BCC1 : AD, Ok |
#!/usr/bin/env python3 | |
""" | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import logging | |
class S(BaseHTTPRequestHandler): |
Quick tip. It is possible to download media with small python script.
Goto https://my.telegram.org and generate api id and api hash
Install Telethon library with pip3 install telethon
Run saveAllMedia.py (replace api_id, api_hash and username with your values).
If you need proxy install https://github.com/Anorov/PySocks pip install PySocks
This code downloads all media from the dialog with username user/chat/channel in current directory.
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
This installation is going to require 2 servers one acts as kerberos KDC server
and the other machine is going to be client. Lets assume the FQDN's are (here
cw.com
is the domain name, make a note of the domain name here):
Important: Make sure that both systems have their hostnames properly set and both systems have the hostnames and IP addresses of both systems in
package main | |
import ( | |
iconv "github.com/djimenez/iconv-go" | |
"io/ioutil" | |
"log" | |
"net/http" |
If you haven’t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:
let
and const
statements. For the purposes of the React documentation, you can consider them equivalent to var
.class
keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value of this
in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav