Skip to content

Instantly share code, notes, and snippets.

Avatar
🔒
Fighting for freedom, security and privacy 🔐

Charlike Mike Reagent tunnckoCore

🔒
Fighting for freedom, security and privacy 🔐
View GitHub Profile
@tunnckoCore
tunnckoCore / 1-table-of-contents.md
Last active Sep 1, 2021
Markdown (marked.js) Media Extras - Youtube, Vimeo, DailyMotion, Viddler
View 1-table-of-contents.md

Table Of Contents

  • this.gist (this gist, haha)
  • [About][2] enhancement
  • [Usage][4]
  • [JsBin Demo][5]
  • [Integrate][3] with [chjj/marked@0.3.2][6]

Most powerful GFM(-ish) markdown compilier/parser, [chjj/marked@0.3.2][6] already with VIDEO MEDIA EXTRAS!

View test-gistinig.md

Github API Test

___sasas

some tests .. git@github.com:tunnckoCore/WAFramework-PHP.git

@tunnckoCore
tunnckoCore / test-welcome.md
Created Mar 15, 2014
File contents are saved in the URL so you can share files
View test-welcome.md

Basic useful feature list:

  • Ctrl/Cmd + S to save the file
  • Drag and drop a file into here to load it
  • File contents are saved in the URL so you can share files

I'm no good at writing sample / filler text, so go write something yourself.

Look, a list!

View sysctl.conf
# Configuration file for runtime kernel parameters.
# See sysctl.conf(5) for more information.
# See also http://www.nateware.com/linux-network-tuning-for-2013.html for
# an explanation about some of these parameters, and instructions for
# a few other tweaks outside this file.
# Protection from SYN flood attack.
net.ipv4.tcp_syncookies = 1
View jsrouter.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Building a router</title>
<script>
// Put John's template engine code here...
(function () {
// A hash to store our routes:
View Readme.md

Javascript #router. Features:

  • Just 70 lines of code.
  • Router scope can be bound to any object (default window); just change first parameter
  • Triggers custom DOM (Level 2) events on window.document.
  • IE 9+, FF, and Webkit based browsers [Tested only in Chrome and FF].
View Readme.md

Javascript #router. Features:

  • Just 70 lines of code.
  • Router scope can be bound to any object (default window); just change first parameter
  • Triggers custom DOM (Level 2) events on window.document.
  • IE 9+, FF, and Webkit based browsers [Tested only in Chrome and FF].
View Array.prototype.slice.html
<!DOCTYPE html>
<body id="body" class="abc"><script src="Array.prototype.slice.js"></script><script src="testing-Array.prototype.slice.js"></script>
</body>
View dotslashtaskdotjs.markdown

why ./task.js?

One word: task automation. It's basically zero effort and you can use the ./task.js package manager to handle any repetitive tasks. You can use ./task.js to automate everything with minimum effort.

./task.js provides the structure, order, and authority that you as a developer so desperately crave. ./task.js will also take responsibility for your actions if you need it to. It's what everybody is using now. ./task.js is the new hotness. It's all about ./task.js now, just like that.

This is compared to npm run/bash scripts, which are: