Skip to content

Instantly share code, notes, and snippets.

Vincent VincentSit

Block or report user

Report or block VincentSit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MicrosoftOffice2019Activate.cmd
@echo off
title Activate Microsoft Office 2019 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&ech
View X509.swift
enum X509Error: Error {
case certificateError(message: String)
case publicKeyError(message: String)
class X509 {
// A DER (Distinguished Encoding Rules) representation of an X.509 certificate.
let publicKey: SecKey
VincentSit / iOS @3x assets script
Created May 11, 2019 — forked from rnystrom/iOS @3x assets script
Save this shell script to generate @2x and 1x PNG assets for your apps. Requires Imagemagick ( These will probably look shitty and blurred.
View iOS @3x assets script
# Example usage
# cd into directory that has @3x images
# ./
# Remember to chmod +x the script
resize () {
ls *@3x.png | awk '{print("convert "$1" -filter box -resize '$1' "$1)}' | sed 's/@3x/'$2'/2' | /bin/sh
VincentSit / v2ex.js
Created Jan 7, 2019
v2ex 批量点赞
View v2ex.js
var arr = new Array();
$('.thank').each(function() {
var str = $(this).attr('onclick');
if (str.indexOf("铜币") >= 0) {
var substr = str.match(/thankReply.*;/);
for (i = 0; i < arr.length; i++) {
VincentSit / README.MD
Created Dec 29, 2018
VincentSit / AutoHook.h
Created Oct 29, 2018 — forked from JohnCoates/AutoHook.h
Simple Objective-C Method Hooking
View AutoHook.h
@protocol AutoHook <NSObject>
+ (NSArray <NSString *> *)targetClasses;
View ios_simulator_links.xml
VincentSit / change_swift_version.rb
Last active Sep 24, 2018
Change swift version base on podspec
View change_swift_version.rb
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if == 'Debug'
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
change_directly = false
VincentSit /
Created Aug 17, 2018
Download youku video playlist. 批量下载优酷视频列表或保存列表视频链接.
import os
import sys
import shlex
import requests
from bs4 import BeautifulSoup
# 前置
# 安装 you-get
VincentSit / Obfuscator.swift
Created Jan 14, 2018 — forked from DejanEnspyra/Obfuscator.swift
Obfuscation of hard-coded security-sensitive strings.
View Obfuscator.swift
// Obfuscator.swift
// Created by Dejan Atanasov on 2017-05-31.
import Foundation
class Obfuscator: AnyObject {
You can’t perform that action at this time.