Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
[
{
"title": "Nghệ thuật tạo đất mùn",
"category": "nong-lam-ngu",
"thumbnailUrl": "https://nhasachmienphi.com/wp-content/uploads/Ngh%E1%BB%87-thu%E1%BA%ADt-t%E1%BA%A1o-%C4%91%E1%BA%A5t-m%C3%B9n.jpg",
"resources": {
"pdf": "https://file.nhasachmienphi.com/nhasachmienphi-nghe-thuat-tao-dat-mun-11-2020-11615362283.pdf",
"readonline": "https://nhasachmienphi.com/readfile-online?id=350083&type=pdf"
}
},
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e=e||self).ss={})}(this,(function(e){"use strict";function o(e,o){return o?e+" #"+o:e}e.default={shareNative:function(e,t){void 0===e&&(e=document.title),void 0===t&&(t=""),navigator.share&&navigator.share({url:location.href,text:o(e,t)})},shareLINE:function(e,t){void 0===e&&(e=document.title),void 0===t&&(t=""),window.open("https://social-plugins.line.me/lineit/share?url="+encodeURIComponent(location.href)+"&text="+encodeURIComponent(o(e,t)))},shareFacebook:function(){window.open("https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(location.href))},shareTwitter:function(e,t){void 0===e&&(e=document.title),void 0===t&&(t=""),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(location.href)+"&text="+encodeURIComponent(o(e,t)))}},Object.defineProperty(e,"__esModule",{value:!0})}));
@ngobach
ngobach / README.md
Created August 13, 2019 04:02
RUST

RustLang

Keybase proof

I hereby claim:

  • I am ngobach on github.
  • I am bachnx (https://keybase.io/bachnx) on keybase.
  • I have a public key ASAkPKXh0NsKBcGcApoqARhT96scvTVjUnyWOtUXU9IEHgo

To claim this, I am signing this object:

@ngobach
ngobach / deluge-web.service
Created April 15, 2018 15:43
deluge systemd
[Unit]
Description=Service for deluge web
After=network.service
BindTo=deluged.service
[Service]
WorkingDirectory=/home/thanbaiks
ExecStart=/usr/bin/deluge-web
User=thanbaiks
Restart=on-failure
@ngobach
ngobach / install-latest-compose.sh
Created December 31, 2017 03:31 — forked from deviantony/install-latest-compose.sh
Install latest version of Docker Compose
#!/bin/bash
# get latest docker compose released tag
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)
# Install docker-compose
sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose"
chmod +x /usr/local/bin/docker-compose
sh -c "curl -L https://raw.githubusercontent.com/docker/compose/${COMPOSE_VERSION}/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose"
#include <bits/stdc++.h>
#define FOR(i,a,b) for (int i=(a),_b_=(b);i<_b_;i++)
#define ROF(i,a,b) for (int i=(a),_b_=(b);i>_b_;i--)
#define IT(i,v) for (typeof((v).begin()) i = (v).begin(); i != (v).end(); ++i)
#define ALL(v) v.begin(), v.end()
#define MS(v) memset(v,0,sizeof(v))
using namespace std;
typedef long long LL;
typedef unsigned long long ULL;
template<typename T> vector<T> &operator += (vector<T> &v, T x) {v.push_back(x);return v;}

I. Rain

Dùng stack để tính lượng mưa tạo thành bởi cột đó và các cột bên trái nó. (hơi phức tạp)

J. Sale

Số nhỏ nhất trong dãy chắc chắn là giá tiền đã giảm. Loại bỏ nó và số = 4/3 nhân với nó ra khỏi dãy (dùng map để đánh dấu đã xóa). Xóa xong cả 2 số rồi thì số nhỏ nhất tiếp theo sẽ chắc chắn là giá tiền mới. cứ thế đến khi nào hết toàn bộ dãy.

@ngobach
ngobach / readme.md
Last active October 10, 2017 14:42

Just a test

This is the first paragraph.

And this is the second.

npm install -S something
npm run start
@ngobach
ngobach / 00_hackintosh.md
Last active November 3, 2019 17:20
Idiot's guide to hackintosh. https://git.io/vhwSM