Skip to content

Instantly share code, notes, and snippets.

@hoalongntc
hoalongntc / React in two weeks roadmap.html
Last active Aug 18, 2020
React in two weeks roadmap
View React in two weeks roadmap.html
<h1 id="react-in-2-weeks-roadmap">React in 2 weeks roadmap</h1>
<h2 id="1-development-environment">1. Development environment</h2>
<p>It’s recommended to set up a local environment for better development experience. But you can choose to use some online IDEs also: <a href="https://codesandbox.io/">https://codesandbox.io/</a>, <a href="https://stackblitz.com/">https://stackblitz.com/</a></p>
<p>The local development environment requires NodeJS and npm, and an IDE of choice.</p>
View OpenFacebook.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Open Facebook</title>
View gianh-ve-dsvn.js
var s = angular.element('.et-car-floor-region').scope();
function buy(num) {
var seat = s.seats.Chos.filter(function(s) { return s.ChoSo == num; })[0];
if (seat) {
seat.waiting = false;
seat.Status.Status = 3;
s.buyTicket(seat, s.direct);
}
}
@hoalongntc
hoalongntc / Sublime Text 3 Build 3103 License Key - CRACK
Created May 30, 2016
Sublime Text 3 Build 3103 License Key - CRACK
View Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@hoalongntc
hoalongntc / install-ffmpeg-amazon-linux.sh
Last active Mar 11, 2016 — forked from gboudreau/install-ffmpeg-amazon-linux.sh
How to compile ffmpeg on Amazon Linux (EC2)
View install-ffmpeg-amazon-linux.sh
#!/bin/sh
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
cat > /etc/yum.repos.d/centos.repo<<EOF