Skip to content

Instantly share code, notes, and snippets.

View tranquangchau's full-sized avatar

Trần Quang Châu tranquangchau

View GitHub Profile
<html>
<head>
<title>Video Backgrounds like the Bing Homepage</title>
<style>
body
{
margin:0;
padding:0;
text-align:center;
@tranquangchau
tranquangchau / themes hyperx for product wc.php
Last active January 1, 2017 05:57
themes hyperx for product wc
<?php
// Template Name: Product Portfolio Index
// get header.php
get_header();
// get theme customizer data
$bPage_general = get_option('royal_bPage_general');
$bPost_title = get_option('royal_bPost_title');
$bPost_cats = get_option('royal_bPost_cats');
$bPost_meta = get_option('royal_bPost_meta');
@tranquangchau
tranquangchau / new link and content
Last active December 23, 2016 06:32
libraries js cnd
<style>
.css_time li{
text-decoration: none;
list-style: none;
display: inline;
border: 1px solid;
padding: 7px;
}
.c-red{color:red}
li:hover{cursor:pointer;}
https://github.com/duckduckgo/android/issues/194
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Failed to notify project evaluation listener.
> Cannot evaluate module libnetcipher : Configuration with name 'default' not found.
> Could not resolve all dependencies for configuration ':compile'.
> Module version :android:unspecified, configuration 'compile' declares a dependency on configuration 'default' which is not declared in the module descriptor for android.libs.OnionKit:libnetcipher:unspecified
@tranquangchau
tranquangchau / listview scroll end.java
Last active November 8, 2016 17:26
listview check when scroll end
//http://stackoverflow.com/a/32904001
package com.javahelps.externaldatabasedemo;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.widget.AbsListView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
{"action":"getgames","check":"success","fb_sig_user":"0","themes":[{"themeid":"79","levels":[{"lvlid":"4","lvlname":"Champ","games":[{"gid":"955","board":"VECSTATICLDK,WOQZWEGFBUOD,IEKFWJXUODEF,MNYLEMOHUGGR,IVFQRJZCNZVI,NWCAJMUITCJE,DIVRTKREIAEN,LNZPIULPFRCD,EDLMFSAKUIVL,SIOAJVPTLNTY,SNSDNJZVEGTA,FGTYGFSRGDTH","valword":"MINDLESS,BOUNTIFUL,ECSTATIC,CARING,RINGED,INFATUATED,FRIENDLY,HOMELY,DAMP,LOST,CRISP,WINDING","numbonus":"4"},{"gid":"957","board":"EUSYRGCHSDSO,CLAMSIDSTEEL,OVDJKGNIVOLW,IRKKLXLVCWOP,YUKGHNAAJYXR,HICXJWGLFDLO,WIGKDAEDMIHT,THORNYRDSGWB,BSELFASSURED,ZGREGARIOUST,PNWKVVJQZDIF,QTNALIBUJGQT","valword":"SAD,DEAD,DISMAL,THORNY,LOVING,STEEL,ICY,SELFASSURED,REGAL,GREGARIOUS,JUBILANT,LAVISH","numbonus":"4"},{"gid":"958","board":"EKEMPTYCTDCL,KVQSSAOJEIAK,YWLHHIATVMNB,EPAUUOINUPFX,AHIMMNRSSLQI,ROROUWITQELD,LNENSNCGTDAM,YYTGGFREEERP,CFAOPOISEDRD,XSMUAVZMIMKM,ALMSAAWEZCPE,OBICYLDAEDQC","valword":"DIMPLED,POISED,UNITED,PHONY,IMMATERIAL,AMUSING,HUMONGOUS,YEARLY,DEADLY,EMPTY,FREE,SHORTTERM","numbonus":"4"}
welcome to http://php-chautran.rhcloud.com/ 2
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\chau>cd..
C:\Users>cd..
C:\Users\chau>git --version
git version 2.9.0.windows.1
<link rel="stylesheet" type="text/css" href="http://192.168.1.20/fantacy/css/glyphicons.css" />
<i class="glyphicons refresh gly-spin"></i>
<style>
.glyphicons{
padding-left:0;
}
.gly-spin {