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
/** | |
* This code will be remove your friend from list without unfriend him/her | |
* <your_friend_id> | |
*/ | |
setTimeout(function(){ | |
$('li[data-id="<your_friend_id>"]').remove(); | |
console.log('Remove Liinh From Your Friend'); | |
}, 1000); |
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 | |
generalData(); | |
function generalData() | |
{ | |
$id = 26; | |
$max = 100000000000000000000; |
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
$(document).ready(function(){ | |
const regex = /(.*)(?=in)/g; | |
var nowUrl = window.location.href; | |
if(nowUrl.indexOf('/sizes/')){ | |
$('#allsizes-photo').children('div').remove(); | |
$('#allsizes-photo').children('img').each(function(){ | |
var $this = $(this); | |
$this.wrap('<a href="' + $this.attr('src') + '" download />') | |
}); |
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
$(document).ready(function(){ | |
$('#allsizes-photo').children('div').remove(); | |
$('#allsizes-photo').children('img').each(function(){ | |
var $this = $(this); | |
$this.wrap('<a href="' + $this.attr('src') + '" download />') | |
}); | |
}); |
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 srcImg = $('#allsizes-photo').children('img').attr('src'); | |
var nowUrl = window.location.href; | |
if(nowUrl.indexOf('sizes/k') > 0){ | |
if(typeof srcImg !== 'undefined'){ | |
openInNewTab(srcImg); | |
} | |
} | |
function openInNewTab(url) { | |
var win = window.open(url, '_blank'); |
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
{ | |
"data": [ | |
[ | |
"Tiger Nixon", | |
"System Architect", | |
"Edinburgh", | |
"5421", | |
"2011/04/25", | |
"$320,800" | |
], |
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
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<table class="pricing" summary="BotDetect CAPTCHA Enterprise License information table"> | |
<tbody><tr id="price_table_header" class="pricing"> | |
<td id="price_table_header" class="license" style="vertical-align:middle;width:96px" rowspan="2">License<br>Type</td> | |
<td id="price_table_header" class="license" colspan="4">Technologies<br>(select one or more)</td> | |
<td id="price_table_header" class="license" colspan="4" style="vertical-align:middle;">Annual License Subscription<br>(including Support & Maintenance)</td> |
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
package com.the360lifechange; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
public class MainActivity extends AppCompatActivity { | |
public static String TAG = MainActivity.class.getSimpleName().toUpperCase(); | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
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
package com.the360lifechange.service; | |
/** | |
* Created by thanhcs94 on 8/1/2016. | |
*/ | |
import android.app.NotificationManager; | |
import android.app.PendingIntent; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.media.RingtoneManager; | |
import android.net.Uri; |
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 | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |