| Value | Color |
|---|---|
| \e[0;30m | Black |
| \e[0;31m | Red |
| \e[0;32m | Green |
| \e[0;33m | Yellow |
| \e[0;34m | Blue |
| \e[0;35m | Purple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ipvalidation; | |
| import com.google.common.net.InetAddresses; | |
| import org.apache.commons.validator.routines.InetAddressValidator; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| import java.util.Objects; | |
| import java.util.regex.Matcher; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # Python Network Programming Cookbook -- Chapter - 3 | |
| # This program is optimized for Python 2.7. | |
| # It may run on any other version with/without modifications. | |
| import os | |
| import argparse | |
| import socket | |
| import struct | |
| import select | |
| import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import struct | |
| import time | |
| import select | |
| import socket | |
| import binascii | |
| ICMP_ECHO_REQUEST = 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf8 | |
| #see https://developer.android.com/studio/write/convert-webp.html | |
| from functools import reduce | |
| intBase = 1024 | |
| intKB = intBase | |
| intMB = intKB * intBase | |
| intGB = intMB * intBase | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Stephen subscriptions in feedly Cloud</title> | |
| </head> | |
| <body> | |
| <outline text="Companies" title="Companies"> | |
| <outline type="rss" text="Trello" title="Trello" xmlUrl="https://trello.engineering/feed.xml" htmlUrl="http://tech.trello.com/"/> | |
| <outline type="rss" text="IMVU" title="IMVU" xmlUrl="http://engineering.imvu.com/feed/" htmlUrl="https://engineering.imvu.com"/> |
Putting cryptographic primitives together is a lot like putting a jigsaw puzzle together, where all the pieces are cut exactly the same way, but there is only one correct solution. Thankfully, there are some projects out there that are working hard to make sure developers are getting it right.
The following advice comes from years of research from leading security researchers, developers, and cryptographers. This Gist was [forked from Thomas Ptacek's Gist][1] to be more readable. Additions have been added from
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Create Maven Repository | |
| #Create a directory named mavenrepo | |
| mkdir mavenrepo | |
| #Move into the dir | |
| cd mavenrepo | |
| #Initialise with git | |
| git init |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * P I N G . C | |
| * | |
| * Using the InterNet Control Message Protocol (ICMP) "ECHO" facility, | |
| * measure round-trip-delays and packet loss across network paths. | |
| * | |
| * Author - | |
| * Mike Muuss | |
| * U. S. Army Ballistic Research Laboratory | |
| * December, 1983 |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
NewerOlder