Skip to content

Instantly share code, notes, and snippets.

View mrsinguyen's full-sized avatar
🎯
Focusing

Si Nguyen mrsinguyen

🎯
Focusing
View GitHub Profile
@mrsinguyen
mrsinguyen / sco12.js
Created May 29, 2018 05:01
SCO12.js from ScoTube
/*
Source code created by Rustici Software, LLC is licensed under a
Creative Commons Attribution 3.0 United States License
(http://creativecommons.org/licenses/by/3.0/us/)
Want to make SCORM easy? See our solutions at http://www.scorm.com.
*/
var VO = null,
REPORT_SATISFACTION = !0;
@mrsinguyen
mrsinguyen / xss2.txt
Created April 30, 2018 05:01
XSS payload by RedBirdTeam
__ __ _____ _____
\ \ / // ____/ ____|
\ V /| (___| (___
> < \___ \\___ \ [RedBirdTeam]
/ . \ ____) |___) |
_____ __ / / \_\_____/_____/ _____ _____
| __ \ /\\ \ / / | / _ \ /\ | __ \ / ____| <script>alert(/Payloads XSS Filter Bypass List/)</script>
| |__) / \\ \_/ /| | | | | | / \ | | | | (___
| ___/ /\ \\ / | | | | | |/ /\ \ | | | |\___ \
@mrsinguyen
mrsinguyen / xss1.txt
Created April 30, 2018 05:00
XSS paypload by.JohannesHoppe
88888 88888
88 ad8888ba, ad8888ba, ad8888ba, 88
88 8P' "Y8 8P' "Y8 8P' "Y8 88
88 d8 d8 d8 88
88 88,dd888bb, 88,dd888bb, 88,dd888bb, 88
88 88P' `8b aaaaaaaa 88P' `8b aaaaaaaa 88P' `8b 88
88 88 d8 """""""" 88 d8 """""""" 88 d8 88
88 88a a8P 88a a8P 88a a8P 88
88 "Y88888P" "Y88888P" "Y88888P" 88
@mrsinguyen
mrsinguyen / gist:d634521e8e152449397c32dfe4923408
Created April 12, 2018 05:32
Package Property Overrides
#region Default Package Properties
/// <summary>
/// See <see cref="IntegrationInterface.DefaultShowFinishButton"/> for a full description..
/// </summary>
/// <param name="learningStandard">The learning standard that governs delivery of the package</param>
/// <param name="singleSco">Will be true if there is only one SCO in the package (because this structure usually results in a different default setup)</param>
/// <param name="externalConfig">External configuration information.</param>
/// <returns>This implementation returns <see cref="YesNoValue.NO"/> for a single SCO, otherwise it returns <see cref="YesNoValue.YES"/>.</returns>
public override YesNo DefaultShowFinishButton(LearningStandard learningStandard, bool singleSco, ExternalConfiguration externalConfig)

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@mrsinguyen
mrsinguyen / iota.bash
Created December 28, 2017 02:08
IOTA generate seed command
#Linux
cat /dev/urandom |tr -dc A-Z9|head -c${1:-81}
#Mac
cat /dev/urandom |LC_ALL=C tr -dc 'A-Z9' | fold -w 81 | head -n 1
0x416ba821ffe94a7ef8fe187aa78a155bdb387021

"Nocoiner là người không có Bitcoin. Nocoiner (thường là người theo CNXH, luật sư hay thạc sĩ kinh tế) là những người đã tuột mất cơ hội mua Bitcoin giá rẻ vì họ nghĩ đấy là trò lừa đảo và vì thế rất cay cú. Nocoiner tìm cách đổ nỗi cay đắng của họ lên những người sở hữu Bitcoin bằng cách không ngừng tuyên bố Bitcoin sẽ sụp đổ, là lừa đảo, là bong bóng hay reo rắc đủ loại sợ hãi vô căn cứ khác. Nocoiner không có kỹ năng máy tính cũng chả có trí tưởng tượng; khi thấy giá Bitcoin tăng và được chấp nhận rộng rãi họ cho rằng những người dùng Bitcoin bị thôi miên tập thể, còn họ mới chính là những người duy nhất thấy được điều thực sự xảy ra ..."

"A Nocoiner is a person who has no Bitcoin. Nocoiners (usually Socialists, Lawyers or MBA Economists ) are people who missed their opportunity to buy Bitcoin at a low price because they thought it was a scam, and who is now bitter at having missed out. The nocoiner takes out his or her bitterness on Bitcoin Hodlers, by constantly claiming that Bitcoin will crash, is a sc

@mrsinguyen
mrsinguyen / Zoho.txt
Created November 28, 2017 06:29
Zoho Mail Client Configuration
IMAP
- Incoming Server Name : imappro.zoho.com
- Port : 993
- Require SSL : Yes
- Username : [email protected]
POP
- Incoming Server Name : poppro.zoho.com
@mrsinguyen
mrsinguyen / git-dmz-flow.md
Created October 6, 2017 02:45 — forked from djspiewak/git-dmz-flow.md
Git DMZ Flow

Git DMZ Flow

I've been asked a few times over the last few months to put together a full write-up of the Git workflow we use at RichRelevance (and at Precog before), since I have referenced it in passing quite a few times in tweets and in person. The workflow is appreciably different from GitFlow and its derivatives, and thus it brings with it a different set of tradeoffs and optimizations. To that end, it would probably be helpful to go over exactly what workflow benefits I find to be beneficial or even necessary.

  • Two developers working on independent features must never be blocked by each other
    • No code freeze! Ever! For any reason!
  • A developer must be able to base derivative work on another developer's work, without waiting for any third party
  • Two developers working on inter-dependent features (or even the same feature) must be able to do so without interference from (or interfering with) any other parties
  • Developers must be able to work on multiple features simultaneously, or at lea