Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Coding

Jorge Frisancho teocci

👨‍💻
Coding
View GitHub Profile
View convert-office-to-vl.cmd
@echo off
Title Converter Office 2016 Retail to Volume
echo Press Enter to start VL-Conversion...
echo.
pause
echo.
for /f "tokens=6 delims=[]. " %%G in ('ver') do set win=%%G
@teocci
teocci / activateoffice2019.md
Created May 1, 2020 — forked from CHEF-KOCH/activateoffice2019.md
How to activate Office 2019
View activateoffice2019.md
  • Download the Retail Office 2019 images (or standalone) (MS currently does not provide VL images for Windows [only MAcOS])
  • Go to https://github.com/abbodi1406/BatUtil/tree/master/OfficeC2R-R2V and download it
  • Install Office 2019 (Retail)
  • Use C2R-R2V (start the batch with admin rights)
  • Wait until all is finished
  • Activate Office with KMSAuto.Net, MSToolkit, batch scripts or manually like you would do with a normal KMS version
@teocci
teocci / Activate Office 2019 for macOS VoL.md
Created Mar 4, 2020 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file
View Activate Office 2019 for macOS VoL.md

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@teocci
teocci / androidPlayAudio.java
Created Jun 7, 2019 — forked from yavor87/androidPlayAudio.java
Record, play and visualize raw audio data in Android
View androidPlayAudio.java
ShortBuffer mSamples; // the samples to play
int mNumSamples; // number of samples to play
void playAudio() {
new Thread(new Runnable() {
@Override
public void run() {
int bufferSize = AudioTrack.getMinBufferSize(SAMPLE_RATE, AudioFormat.CHANNEL_OUT_MONO,
AudioFormat.ENCODING_PCM_16BIT);
if (bufferSize == AudioTrack.ERROR || bufferSize == AudioTrack.ERROR_BAD_VALUE) {
@teocci
teocci / tcpClient1.py
Created Aug 1, 2017 — forked from mike-zhang/tcpClient1.py
a simple tcp client(python code)
View tcpClient1.py
#! /usr/bin/python
# a simple tcp client
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(('127.0.0.1', 12345))
#sock.send('Test\n')
sock.send(raw_input("Please input : "))
print sock.recv(1024)
sock.close()
@teocci
teocci / udpClient1.py
Created Aug 1, 2017 — forked from mike-zhang/udpClient1.py
a simple udp client (python code)
View udpClient1.py
#! /usr/bin/python
# a simple udp client
import socket,time,traceback
client = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
dstHost = ('192.168.1.100', 12345)
while True:
try:
client.sendto('3',dstHost)
print time.time(),' : send success'
@teocci
teocci / tcpServer1.py
Created Aug 1, 2017 — forked from mike-zhang/tcpServer1.py
a simple tcp server (python code)
View tcpServer1.py
#! /usr/bin/python
# a simple tcp server
import socket,os
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.bind(('127.0.0.1', 12345))
sock.listen(5)
while True:
connection,address = sock.accept()
buf = connection.recv(1024)
print buf
@teocci
teocci / udpServer1.py
Created Aug 1, 2017 — forked from mike-zhang/udpServer1.py
a simple udp server (python code)
View udpServer1.py
#! /usr/bin/python
# a simple udp server
import socket, traceback
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
s.bind(("127.0.0.1",12345))
while 1:
try:
@teocci
teocci / nmapScanUdp.py
Created Aug 1, 2017 — forked from mike-zhang/nmapScanUdp.py
udp端口扫描(python-nmap代码)
View nmapScanUdp.py
#! /usr/bin/python
import nmap
# python-nmap url : http://xael.org/norman/python/python-nmap/python-nmap-0.1.4.tar.gz
nm = nmap.PortScanner()
nm.scan(hosts='192.168.1.0/24', arguments='-n -p 161 -sU ')
hosts_list = [(x, nm[x][u'udp'][161]['state']) for x in nm.all_hosts()]
#print nm.all_hosts()
#print nm[u'192.168.1.100'][u'udp'][161]['state']
@teocci
teocci / rtspTcpClient_DSS.py
Created Aug 1, 2017 — forked from mike-zhang/rtspTcpClient_DSS.py
rtsp TCP Client for DarwinStreamingServer(python)
View rtspTcpClient_DSS.py
#! /usr/bin/python
import socket,time,string,random,thread
m_Vars = {
"bufLen" : 1024 * 10,
"defaultServerIp" : "192.168.1.100",
"defaultServerPort" : 554,
"defaultTestUrl" : "rtsp://192.168.1.100/test1.mp4",
"defaultUserAgent" : "LibVLC/2.0.3 (LIVE555 Streaming Media v2011.12.23)"