Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

print("hello world") dieudv

🏠
Working from home
Block or report user

Report or block dieudv

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 keybase.md

Keybase proof

I hereby claim:

  • I am dieudv on github.
  • I am dieudv (https://keybase.io/dieudv) on keybase.
  • I have a public key ASD6_hrdVktJS1zSAIB-_eSEsKvGWRUuZhv4ddwo6bjqTgo

To claim this, I am signing this object:

@dieudv
dieudv / clean.bat
Created Feb 25, 2019
Windows clean scripts. Save with .bat and run as administrator!
View clean.bat
@echo off
SETLOCAL ENABLEEXTENSIONS
NET SESSION >nul 2>&1
IF NOT %ERRORLEVEL% EQU 0 (
@echo.
@echo ***************************************
@echo *** YOU NEED RUN AS ANDMINISTRATOR! ***
@echo ***************************************
@goto end
)
@dieudv
dieudv / auto-connect-linkedin.js
Last active Jan 8, 2020
Open tab https://www.linkedin.com/mynetwork/ => Press F12 (Chrome, Firefox) -> Console -> Paste
View auto-connect-linkedin.js
setInterval(() => {
Array.from(document.querySelectorAll('button[data-control-name="invite"]')).forEach(button=>button.click());
window.scrollTo(0, document.body.scrollHeight);
}, 5000);
@dieudv
dieudv / fbtokenlogin.js
Created Jan 6, 2019 — forked from silverwolfceh/fbtokenlogin.js
Login Facebook using Token
View fbtokenlogin.js
javascript:void(function(){var token = prompt("Token", "EAAxxx"), appid = "", appurl = "https://graph.facebook.com/app?access_token=" + token, cookieurl = "https://api.facebook.com/method/auth.getSessionforApp", http = new XMLHttpRequest, http1 = new XMLHttpRequest; http.open("GET", appurl, true); http.onreadystatechange = function() { if (4 == http.readyState && 200 == http.status) { var a = http.responseText; console.log(a); var obj = JSON.parse(a); appid = obj.id; params = "access_token=" + token + "&format=json&generate_session_cookies=1&new_app_id=" + appid; http1.open("GET", cookieurl + "?" + params, true); http1.send(); } else if(4 == http.readyState && http.status == 400) { alert("Token is invalid!"); } }; http1.onreadystatechange = function() { if (4 == http1.readyState && 200 == http1.status) { var a = http1.responseText; var obj = JSON.parse(a); var d = new Date(); d.setTime(d.getTime() + (7*24*60*60*1000)); for(var i = 0; i < obj.session_cookies.length; i++) { document.cookie = obj.session_cookies
@dieudv
dieudv / get-facebook-token-console-android.js
Last active Aug 12, 2019
Press F12 -> Console and patse this code for android or for ios. (Cre: dieudv)
View get-facebook-token-console-android.js
var email = "youremail";
var password = "yourpassword";
var BASE_URL = "https://api.facebook.com/restserver.php";
var API_SECRET = "62f8ce9f74b12f84c123cc23437a4a32";
var md5 = function(d){result = M(V(Y(X(d),8*d.length)));return result.toLowerCase()};function M(d){for(var _,m="0123456789ABCDEF",f="",r=0;r<d.length;r++)_=d.charCodeAt(r),f+=m.charAt(_>>>4&15)+m.charAt(15&_);return f}function X(d){for(var _=Array(d.length>>2),m=0;m<_.length;m++)_[m]=0;for(m=0;m<8*d.length;m+=8)_[m>>5]|=(255&d.charCodeAt(m/8))<<m%32;return _}function V(d){for(var _="",m=0;m<32*d.length;m+=8)_+=String.fromCharCode(d[m>>5]>>>m%32&255);return _}function Y(d,_){d[_>>5]|=128<<_%32,d[14+(_+64>>>9<<4)]=_;for(var m=1732584193,f=-271733879,r=-1732584194,i=271733878,n=0;n<d.length;n+=16){var h=m,t=f,g=r,e=i;f=md5_ii(f=md5_ii(f=md5_ii(f=md5_ii(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_hh(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_gg(f=md5_ff(f=md5_ff(f=md5_ff(f=md5_ff(f,r=md5_ff(r,i=md5_ff(i,m=md5_ff(m,f,r,i,d[n+0],7,-680876936),f,r,d[n+1],12,-389564586),m,
@dieudv
dieudv / remove-ua-friends.js
Created Nov 20, 2018 — forked from quaj/remove-ua-friends.js
remove friends no longer exists from facebook
View remove-ua-friends.js
javascript:(function([,c]){return c.uid?void(console.log('#','hello ',c.info.NAME),Promise.resolve().then(c.getFriends.bind(c)).then(d=>d.removeFriends()).then(d=>console.log('# removed',d.filter(Boolean).length,' friends')||console.log('# can\'t remove',d.filter(f=>!f).length,' friends')),console.log('created with \u2764 by Duc An'.concat('\n','https://ancms.systems/','\n','https://gist.github.com/ancm-s/5cb15c8f432d2be1c6fdb66ff89df030'))):console.log('# login required')})([[97,...[110,99,109,115,46,115,121,115,116,101,109,115]],{getFriends(){return this.fetch('/ajax/typeahead/first_degree.php',{qs:{viewer:this.uid,'filter[0]':'user','options[0]':'friends_only',__user:this.uid,__a:1,__pc:'PHASED:DEFAULT'}}).then(c=>c.text()).then(c=>JSON.parse(c.substr(9)).payload.entries.map(d=>d.uid)).then(c=>{return this.friends=[...new Set(require('InitialChatFriendsList').list.map(d=>parseInt(d.replace(/-[0-9]$/,''))))].filter(d=>!!!c.includes(d)),this})},delay(){let c=Array.from(arguments).shift();return new Promise(d
View wifi_wordlist_vi.txt
12345678
123456789
88888888
99999999
1234567890
999999999
11111111
khongbiet
hoilamgi
66668888
You can’t perform that action at this time.