Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Tulip Garden
// @namespace https://tulip.garden
// @version 0.1
// @description Sum of equity value
// @author You
// @match https://tulip.garden/your-positions
// @icon https://www.google.com/s2/favicons?domain=tulip.garden
// @grant unsafeWindow
// @grant GM_registerMenuCommand
@tamvm
tamvm / company_feedback_mood.txt
Created January 22, 2020 02:13
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
Questions6
Bạn đang làm việc ở bộ phận nào trong công ty?
Single-choice survey question Conditions
Options
1.
Customer Support
2.
@tamvm
tamvm / gist:1f940806680bca895cf5a0435f22bfa8
Created December 19, 2018 13:46
tampermonkey-github-expand-all
// ==UserScript==
// @name (github) Expand all hidden file contents
// @namespace http://github.com/
// @version 0.1
// @description (github) Expand all hidden file contents
// @author You
// @match https://github.com/*/*/pull/*
// @grant GM_registerMenuCommand
// ==/UserScript==
@tamvm
tamvm / trustpilot-template
Created November 21, 2018 00:25
TrustPilot Invitation Template
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<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;
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
中国农业银行
中国银行
交通银行
中国中信银行
中国建设银行
中国开发银行
中国进出口银行
华夏银行
中国工商银行
中国人民银行(中央人民银行)
@tamvm
tamvm / gist:c8114b35b2d3222ad668
Last active August 29, 2015 14:17
count lead
var jq = document.createElement('script');
jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq); var count = '0';
setInterval(function() {
$ = jQuery.noConflict(); $.get("http://offer-alert.herokuapp.com/api/v1/leads/summary.html", function(a) {
count = $(a).find("td:contains('tam@sushiwork.com')").siblings().eq(1).text();
if (document.title != count) { document.title = count; var msg = new SpeechSynthesisUtterance(count); window.speechSynthesis.speak(msg); }
});
}, 3000);1
@tamvm
tamvm / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/bin/sh
#
# 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
REDISPORT=6379
@tamvm
tamvm / install-rbenv.sh
Created April 21, 2014 09:26
Install rbenv
#!/bin/bash
echo '# rbenv setup - only add RBENV PATH variables if no single user install found' > /etc/profile.d/rbenv.sh
echo 'if [[ ! -d "${HOME}/.rbenv" ]]; then' >> /etc/profile.d/rbenv.sh
echo ' export RBENV_ROOT=/usr/local/rbenv' >> /etc/profile.d/rbenv.sh
echo ' export PATH="$RBENV_ROOT/bin:$PATH"' >> /etc/profile.d/rbenv.sh
echo ' eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh
echo 'fi' >> /etc/profile.d/rbenv.sh
chmod +x /etc/profile.d/rbenv.sh