Skip to content

Instantly share code, notes, and snippets.

View tansautn's full-sized avatar
🚀
Flying

Zuko tansautn

🚀
Flying
View GitHub Profile
@tansautn
tansautn / .htaccess
Last active May 25, 2017 14:47
global.php - dpd
<IfModule mod_rewrite.c>
RewriteEngine On
#Base template URL reslove
RewriteCond %{REQUEST_URI} public/frontend/skin/([^/]*)/(.*)$ [OR]
RewriteCond %{REQUEST_URI} frontend/skin/([^/]*)/(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^public/frontend/skin/([^/]*)/(.*)$ public/frontend/skin/default/$2 [L,NC]
# IMPORTANT : The three lines bellow is using for enforce a no-trailing-slash.
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} /(.*)/$
@tansautn
tansautn / .htaccess
Last active April 29, 2018 05:52
No "public" in the url .htaccess rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^public/ - [NC,L]
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
@tansautn
tansautn / composer.json
Last active June 9, 2020 09:07
SPYPRO Bot Fake Referer
{
"name": "zuko/fkr",
"type": "project",
"require": {
"symfony/panther": "^1.0@dev"
},
"authors": [
{
"name": "Zuko",
"email": "[email protected]"
@tansautn
tansautn / json_to_srt.py
Created September 15, 2020 00:45
Python convert IBM Watson Speech To Text JSON Response to SRT
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. http://www.gnu.org/licenses/
@tansautn
tansautn / README.md
Last active June 4, 2021 05:08
Windows 10 - Sync time at computer startup

Windows 10 Timesync VBS Script

  • Feature : Update local clock synced with http webserver
  • Requirements: Working windows with VBS Host, Administrator right access

Usage

  • Run .vbs script driectly or setup a task to run at every startup
  • Or you can import xml file to "Task Scheduler" management windows
  • With startup task. Please import xml file to task scheduler management.
  • Run test once when imported.
  • If the task fail. Run secpol.msc /s and add Logon as batch script for user SYSTEM
@tansautn
tansautn / musicDownWallBypasser.userscript.js
Last active July 31, 2024 12:27
musicDownWallBypasser | by Zuko®
// ==UserScript==
// @name musicDownWallBypasser | Hypeddit, PumpYourSound | by fan1200, Zuko®
// @namespace https://zuko.pro
// @version 1.1
// @description auto download from hypeddit, auto download from pumpyoursound, auto connect soundcloud. Thank for fan1200
// @description-org Bypass the fangates. Soundcloud and Spotify accounts are mandatory! Please make sure to log them on first before running the script!
// @author fan1200, Zuko <[email protected]>
// @match https://hypeddit.com/*
// @match https://pumpyoursound.com/*
// @match https://secure.soundcloud.com/connect*