Skip to content

Instantly share code, notes, and snippets.

View J2TEAM's full-sized avatar
💭
I may be slow to respond.

JUNO_OKYO J2TEAM

💭
I may be slow to respond.
View GitHub Profile
a,abandon,ability,able,abortion,about,above,abroad,absence,absolute,absolutely,absorb,abuse,academic,accept,access,accident,accompany,accomplish,according,account,accurate,accuse,achieve,achievement,acid,acknowledge,acquire,across,act,action,active,activist,activity,actor,actress,actual,actually,ad,adapt,add,addition,additional,address,adequate,adjust,adjustment,administration,administrator,admire,admission,admit,adolescent,adopt,adult,advance,advanced,advantage,adventure,advertising,advice,advise,adviser,advocate,affair,affect,afford,afraid,African,African-American,after,afternoon,again,against,age,agency,agenda,agent,aggressive,ago,agree,agreement,agricultural,ah,ahead,aid,aide,AIDS,aim,air,aircraft,airline,airport,album,alcohol,alive,all,alliance,allow,ally,almost,alone,along,already,also,alter,alternative,although,always,AM,amazing,American,among,amount,analysis,analyst,analyze,ancient,and,anger,angle,angry,animal,anniversary,announce,annual,another,answer,anticipate,anxiety,any,anybody,anymore,anyone,any
@J2TEAM
J2TEAM / remove_accents.py
Created August 31, 2016 17:11 — forked from cinoss/remove_accents.py
Remove Vietnamese Accents - Xoá dấu tiếng việt in Python
s1 = u'ÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚÝàáâãèéêìíòóôõùúýĂăĐđĨĩŨũƠơƯưẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặẸẹẺẻẼẽẾếỀềỂểỄễỆệỈỉỊịỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợỤụỦủỨứỪừỬửỮữỰựỲỳỴỵỶỷỸỹ'
s0 = u'AAAAEEEIIOOOOUUYaaaaeeeiioooouuyAaDdIiUuOoUuAaAaAaAaAaAaAaAaAaAaAaAaEeEeEeEeEeEeEeEeIiIiOoOoOoOoOoOoOoOoOoOoOoOoUuUuUuUuUuUuUuYyYyYyYy'
def remove_accents(input_str):
s = ''
print input_str.encode('utf-8')
for c in input_str:
if c in s1:
s += s0[s1.index(c)]
else:
s += c
@J2TEAM
J2TEAM / sublime-text-scopes.md
Last active January 17, 2024 22:44 — forked from iambibhas/scopes.txt
Sublime Text 2/3: Snippet scopes

Here is a list of scopes to use in Sublime Text 2/3 snippets -

ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
@J2TEAM
J2TEAM / youtube.user.js
Last active October 3, 2023 13:06
Tự động đóng tab Youtube khi hết video. Sử dụng bằng cách cài Tampermonkey nhé.
// ==UserScript==
// @name YouTube Auto Close
// @namespace http://j2team.dev/
// @version 0.1
// @description Automatically closes YouTube videos after playback.
// @author JUNO_OKYO
// @match https://www.youtube.com/watch*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant window.close
// ==/UserScript==
@J2TEAM
J2TEAM / Bookmarklet.txt
Created January 9, 2020 03:51
Bookmarklet to create links for your post on Facebook group. Create a new bookmark and paste this code.
data:text/html,<p style="text-align:center"><a href="https://www.junookyo.com" contenteditable>EDIT_ME</a></p>
@J2TEAM
J2TEAM / get-hdo-subtitle.js
Created July 23, 2017 19:25
Tự động lấy link tải phụ đề từ phim đang xem trên hdonline.vn
/* Developed by Juno_okyo */
(function(j2team){var b="";jwplayer().getCaptionsList().map(function(a){a.id.includes("vsub.php")&&(console.log(a.label,a.id),b+=a.id+"\n");copy(b)})})("J2TEAM");
@J2TEAM
J2TEAM / J2TEAM Security - Privacy Policy.md
Last active March 17, 2023 14:01
Privacy Policy for J2TEAM Security

J2TEAM Security - Privacy Policy

This privacy policy has been compiled to better serve those who are concerned with how their 'Personally Identifiable Information' (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our Extension.

What personal information do we collect from the people that use J2TEAM Security extension?

We DO NOT collect any Personally identifiable Information. We only collect extension usage statistics to help improve user experience. If you want to opt-out of Google Analytics tracking, please visit https://tools.google.com/dlpage/gaoptout.

When do we collect information?

@J2TEAM
J2TEAM / envato-preview-bypass.js
Created December 28, 2020 07:21
Bookmarklet to remove preview iframe on Envato sites (Themeforest, Codecanyon)
javascript:window.top.location.replace(document.querySelector('.full-screen-preview__frame').src);
@J2TEAM
J2TEAM / demo.au3
Created December 26, 2022 07:15
AutoIt Hotkey Example
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.14.5
Author: JUNO_OKYO
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
/*
Bootstrap v3.3.1 (http://getbootstrap.com)
*/
/*
NOTE:
This file has Normalize.css removed.
It still requires a "reset.css", so we're using this...