Skip to content

Instantly share code, notes, and snippets.

[
{"t": "(ok)", "str": "\\(ok\\)", "src": "http://i.imgur.com/owO97yH.gif"},
{"t": "OK.", "str": "^OK\\.$", "src": "http://i.imgur.com/owO97yH.gif"},
{"t": "(thankyou)", "str": "\\(thankyou\\)", "src": "http://i.imgur.com/CHmSNJw.gif"},
{"t": "(chucmung)", "str": "\\(chucmung\\)", "src": "http://i.imgur.com/HG55iou.png"},
{"t": "(sad)", "str": "\\(sad\\)", "src": "http://i.imgur.com/U7ba4Vf.png"},
{"t": "(lol)", "str": "\\(lol\\)", "src": "http://i.imgur.com/7Lec0ew.png"},
{"t": "(yaoming)", "str": "\\(yaoming\\)", "src": "http://i.imgur.com/9cEEjFI.png"},
{"t": "(facepalm)", "str": "\\(facepalm\\)", "src": "http://i.imgur.com/9FEpQFR.gif"},
{"t": "(nod2)", "str": "\\(nod2\\)", "src": "http://i.imgur.com/y4kYYlE.gif"},
[
{"t": ":-SS", "str": ":-SS", "src": "https://s.yimg.com/lq/i/mesg/emoticons7/42.gif"},
{"t": "#:-S", "str": "#:-S", "src": "https://s.yimg.com/lq/i/mesg/emoticons7/18.gif"},
{"t": ">:D<", "str": ">:D<", "src": "https://s.yimg.com/lq/i/mesg/emoticons7/6.gif"},
{"t": ";;)", "str": ";;\\)", "src": "https://s.yimg.com/lq/i/mesg/emoticons7/5.gif"},
{"t": ":(tv)", "str": ":\\(tv\\)", "src": "https://s.yimg.com/lq/lib/msg/img/aurora/emot/201105/tv.gif"},
{"t": ":(game)", "str": ":\\(game\\)", "src": "https://s.yimg.com/lq/lib/msg/img/aurora/emot/201105/play_game.gif"},
{"t": ":((", "str": ":\\(\\(", "src": "https://s.yimg.com/lq/i/mesg/emoticons7/20.gif"},
{"t": ":(fight)", "str": ":\\(fight\\)", "src": "https://s.yimg.com/lq/lib/msg/img/aurora/emot/201105/fight.gif"},
{"t": "<):)", "str": "<\\):\\)", "src": "https://s.yimg.com/lq/i/mesg/emoticons7/48.gif"},
@hieuns
hieuns / atom-snippets.cson
Last active March 23, 2021 08:53
Personal Atom snippets
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
@hieuns
hieuns / rspec-noti.sh
Created March 8, 2017 07:31
Run rspec command and show notification when it finished
#!/bin/sh
# get name of current directory
current_dir=${PWD##*/}
if rspec $@; then
notify-send -i face-laugh "Rspec in $current_dir end: Success"
else
notify-send -i face-sad "Rspec in $current_dir end: Failure"
fi
@hieuns
hieuns / userContent.css
Last active March 4, 2020 00:44
Customize mention, reply badge (color, position) and avatar image in Chatwork
/* Customize mention, reply badge (color, position) and avatar image in Chatwork
put this in ~/.mozilla/firefox/<profile_directory>/chrome
*/
@-moz-document domain(www.chatwork.com) {
.messageBadge__avatar {
border-radius: 15px !important;
width: 16px !important;
height: 16px !important;
border: 1px solid #a484ec !important;
@hieuns
hieuns / atom-keymap.cson
Created May 25, 2017 01:04
Personal Atom keymap
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
@hieuns
hieuns / t5enc.def
Created May 31, 2017 15:11
T5 encode for Vietnamese (Latex)
% Copyright 2000-2005 Werner Lemberg <wl@gnu.org> and
% Vladimir Volovich <vvv@vsu.ru>.
% This file is part of vntex. License: LPPL, version 1.3 or newer,
% according to http://www.latex-project.org/lppl.txt
%
%
% This is the file t5enc.def which provides T5 encoding for Vietnamese.
%
% written by Werner Lemberg <wl@gnu.org> and
% Vladimir Volovich <vvv@vsu.ru>
@hieuns
hieuns / test_jquery.js
Last active March 12, 2018 03:24
Test jQuery
(function() {
$(function() {
console.log('test inaccessible code');
});
console.log('inaccessible');
}).call(this);
@hieuns
hieuns / atom-styles.less
Created June 29, 2018 03:47
Atom styles
atom-panel.modal:after {
background: rgba(22, 24, 29, 0.46);
}
@hieuns
hieuns / concat_mp4.sh
Last active January 31, 2020 14:46
ffmpeg commands collection
$ cat files.txt
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'
$ ffmpeg -f concat -safe 0 -i files.txt -c copy output.mp4