Skip to content

Instantly share code, notes, and snippets.

tamvm / company_feedback_mood.txt
Created Jan 22, 2020
View company_feedback_mood.txt
Welcome message
Chào buổi sáng! Xin bạn vui lòng dành chút thời gian thảo luận về một số điều dưới đây để giúp công ty trở nên tốt hơn :smiley:.
Enable video & voice answers
Bạn đang làm việc ở bộ phận nào trong công ty?
Single-choice survey question Conditions
Customer Support
View gist:1f940806680bca895cf5a0435f22bfa8
// ==UserScript==
// @name (github) Expand all hidden file contents
// @namespace
// @version 0.1
// @description (github) Expand all hidden file contents
// @author You
// @match*/*/pull/*
// @grant GM_registerMenuCommand
// ==/UserScript==
tamvm / trustpilot-template
Created Nov 21, 2018
TrustPilot Invitation Template
View trustpilot-template
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<head><meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title>Your opinion matters</title>
<style media="all" type="text/css">@media only screen and (max-device-width: 480px) {
#backgroundTableTd {
padding: 5px !important;
#templateContainerTd {
padding: 15px !important;
View refs
D07881326P D07927497P D08104548P D08127839P D08547356P D08575313P D09121163P D09847498P D10049353P D10222380P D10261858P D82398281P D82398281P D10595776P D10760397P D11019360P D11192796P D12244666P D49504365P D49504365P D13514820P D13514820P D64727274P D64727274P D91487015P D91487015P D00410324P D46316286P D53131646P D87360731P D92458589P D93718251P D00494657P D00879831P D04646221P D05160415P D05993367P D06534558P D09538830P D10468669P D11932884P D12099268P D13119796P D14034936P D15197927P D18997430P D20568532P D22097543P D22841062P D24328558P D24451722P D24705811P D24711305P D26348842P D26675038P D27052130P D31829379P D33418822P D33449790P D34736418P D36335745P D36749800P D40330947P D41960747P D42882262P D43415683P D44255608P D45087284P D45215634P D45678191P D46316286P D48267186P D49420740P D50405570P D52635465P D53131646P D54115063P D54660268P D60967776P D61098123P D61275051P D61316147P D63092416P D63395739P D63919336P D64316554P D64321405P D66959634P D66987211P D70497668P D70748664P D70886703P D71047233P D
View chinese_banks.txt
View gist:c8114b35b2d3222ad668
var jq = document.createElement('script');
jq.src = "//";
document.getElementsByTagName('head')[0].appendChild(jq); var count = '0';
setInterval(function() {
$ = jQuery.noConflict(); $.get("", function(a) {
count = $(a).find("td:contains('')").siblings().eq(1).text();
if (document.title != count) { document.title = count; var msg = new SpeechSynthesisUtterance(count); window.speechSynthesis.speak(msg); }
}, 3000);1
tamvm / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:c26612e30a6f6e91dac5
# Simple Redis init.d script conceived to work on Linux systems
# as it does use of the /proc filesystem.
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis
echo '# rbenv setup - only add RBENV PATH variables if no single user install found' > /etc/profile.d/
echo 'if [[ ! -d "${HOME}/.rbenv" ]]; then' >> /etc/profile.d/
echo ' export RBENV_ROOT=/usr/local/rbenv' >> /etc/profile.d/
echo ' export PATH="$RBENV_ROOT/bin:$PATH"' >> /etc/profile.d/
echo ' eval "$(rbenv init -)"' >> /etc/profile.d/
echo 'fi' >> /etc/profile.d/
chmod +x /etc/profile.d/
tamvm / gist:4290926
Created Dec 15, 2012
Date parser in PHP
View gist:4290926
* CDateTimeParser class file
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
* @author Qiang Xue <>
* @author Tomasz Suchanek <tomasz[dot]suchanek[at]gmail[dot]com>
* @link
* @copyright Copyright &copy; 2008-2011 Yii Software LLC
* @license