Skip to content

Instantly share code, notes, and snippets.

View netsharec's full-sized avatar
🐧
Focusing

gle netsharec

🐧
Focusing
View GitHub Profile
@netsharec
netsharec / App.js
Created September 15, 2018 07:43 — forked from rogeliog/App.js
Composition and filters in React
/*
This is a minimal working example
*/
import React, { Component } from 'react';
import Filters from './Filters';
import InputFilter from './InputFilter';
import allMovies from './movies';
class App extends Component {
@netsharec
netsharec / README.md
Created April 28, 2018 16:23 — forked from cyrus-and/README.md
let-in - User-initiated reverse shell via OpenSSL

let-in

User-initiated reverse support shell via OpenSSL from a host user behind a firewall to the guest.

Usage

  1. Both parties run:
@netsharec
netsharec / gist:998fd91ef92caa372a5d1eb5f7503fa7
Created December 15, 2017 08:50 — forked from SimonSun1988/gist:2ef7db45e46b889783647d941ec15e4d
解決 Ubuntu "can’t set the locale; make sure $LC_* and $LANG are correct" 的錯誤
## 安裝語系檔
`$ sudo locale-gen "en_US.UTF-8"`
## 重新設定語系檔
`$ sudo dpkg-reconfigure locales`
## 設定檔
@netsharec
netsharec / 金庸武侠武功选.md
Created October 5, 2017 10:33 — forked from weakish/金庸武侠武功选.md
#金庸 #武侠 小说 #武功 选
  • 神门十三剑(武当) 专刺手腕神门穴。

  • 柳絮剑法(慕容) 缓缓刺出,轻飘飘的没有声响。

  • 三分剑术(天山) 以快打慢,以变扰敌。每一手都只使到三分之一为止,未待对方招架,自己招术已变。一招中包含三招,最为繁杂凶狠。这派剑术没有守势,全都是进攻杀着。

  • 雨打飞花剑法(昆仑)

<!--
In Vue, we use v-model for all form bindings, while
Knockout maintains separate binding types, such as
textInput, checked, and options. In some cases,
such as for an input of type "range", Knockout
simply doesn't have an equivalent two-way binding
helper and the more verbose value and valueUpdate
must be used.
-->
<div id="app">
@netsharec
netsharec / curl.md
Created May 27, 2017 07:58 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@netsharec
netsharec / gist:30d1731a9673e39fd25af41c58476a03
Created May 26, 2017 02:02 — forked from clintel/gist:1155906
Fenced code in bullet lists with GitHub-flavoured MarkDown??

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    Code
    More Code
    
@netsharec
netsharec / gist:963af10af332ddf7fa4fdc10aa739664
Created May 16, 2017 01:48 — forked from JeffreyWay/gist:1525217
Instant Server for Current Directory
alias server='open http://localhost:8000 && python -m SimpleHTTPServer'
@netsharec
netsharec / SimpleHTTPServerWithUpload.py
Created May 9, 2017 14:55 — forked from touilleMan/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload - Python3 version
#!/usr/bin/env python3
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
see: https://gist.github.com/UniIsland/3346170
"""
@netsharec
netsharec / concurrency-in-go.md
Created May 5, 2017 10:32 — forked from kachayev/concurrency-in-go.md
Channels Are Not Enough or Why Pipelining Is Not That Easy