Skip to content

Instantly share code, notes, and snippets.

View ApplicationDDESummaryReport.json
{
"tables": [
{
"title": [
"Application Data Driven Events Summary: Exception Requests",
"System Name: RSA Archer GRC Version: 6.4.00200.1032",
"9/20/2018"
],
"info": {
"Application Name": "Exception Requests",
View press.one
https://press.one/p/address/v?s=43db63b18a5592a3f955ef638bd8d247d7315e1e33d2b21bed8d4d91e45f8ed37518a0e7ec1ac83858dcb470311e18223dac5c8df23c698e3dda207186af54421&h=06ca22c7639b002267255305b79b5ad50b794cb561968cb3694e0d6ebeeb28e8&a=7ac6a4535e1726dd6eec4f952359dcee725017f1&f=P1&v=2
@freewind
freewind / gist:f0ad661b608c8c10fb87c8e9057ff54a
Created Apr 5, 2018 — forked from mestizo/gist:9167834
Completely disable IPv6 on OSX
View gist:f0ad661b608c8c10fb87c8e9057ff54a
#To Get List of Hardware
sudo networksetup -listallhardwareports
#To Disable IPv6 on Wifi Adapter
sudo networksetup -setv6off wi-fi
#To Disable IPv6 on Built-in Ethernet Adapter
sudo networksetup -setv6off Ethernet
View install ubuntu softwares
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get update
sudo apt-get install skype
sudo apt-get install build-essential libssl-dev
curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash
关掉terminal,重新打开才能使用nvm命令
View js_frontend.txt
FROM nowind/ubuntu_js_frontend:v0.12.9
View Git aliases for fish shell.fish
# migrating from https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh
# Aliases
alias g='git'
#compdef g=git
alias gst='git status'
#compdef _git gst=git-status
alias gd='git diff'
#compdef _git gd=git-diff
alias gdc='git diff --cached'
@freewind
freewind / input.txt
Created Nov 5, 2015
get last two characters of Chinese names
View input.txt
王小红
王小绿
王小白
王小紫
王小青
王小黑
张飞
张跑
张跳
张爬
@freewind
freewind / lens.scala
Created Oct 21, 2015 — forked from Centaur/lens.scala
Nested Lens
View lens.scala
import monocle.macros.Lenses
import language.higherKinds
@Lenses("_") case class Street(name: String)
@Lenses("_") case class Address(street: Street)
@Lenses("_") case class Company(addresses: Seq[Address])
@Lenses("_") case class Employee(company: Company)
object ILens {
val employee = Employee(Company(Seq(
@freewind
freewind / sed cheatsheet
Created Oct 21, 2015 — forked from un33k/sed cheatsheet
magic of sed -- find and replace "text" in a string or a file
View sed cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'