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
| // To ensure cross-browser support even without a proper SubtleCrypto | |
| // impelmentation (or without access to the impelmentation, as is the case with | |
| // Chrome loaded over HTTP instead of HTTPS), this library can create SHA-256 | |
| // HMAC signatures using nothing but raw JavaScript | |
| /* eslint-disable no-magic-numbers, id-length, no-param-reassign, new-cap */ | |
| // By giving internal functions names that we can mangle, future calls to | |
| // them are reduced to a single byte (minor space savings in minified file) | |
| var uint8Array = Uint8Array; |
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 { grad, linspace, plot } from "propel"; | |
| f = x => x.tanh(); | |
| x = linspace(-4, 4, 200); | |
| plot(x, f(x), | |
| x, grad(f)(x), | |
| x, grad(grad(f))(x), | |
| x, grad(grad(grad(f)))(x), | |
| x, grad(grad(grad(grad(f))))(x)) |
This file was generated automatically based on this two sources:
- /etc/nginx/mime.types
- http://www.garykessler.net/library/file_sigs.html
This is a JSON object by following structure:
[string ext] : {
signs: [sign]
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 android.app.Activity; | |
| import android.app.Dialog; | |
| import android.app.Fragment; | |
| import android.os.Build; | |
| import android.support.annotation.RequiresApi; | |
| import android.view.SurfaceView; | |
| import android.view.Window; | |
| import android.view.WindowManager; | |
| /** |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| void function(global){ | |
| if ('DataView' in global && 'ArrayBuffer' in global) { | |
| return; | |
| } | |
| var hide = (function(){ | |
| // check if we're in ES5 | |
| if (typeof Object.getOwnPropertyNames === 'function' && !('prototype' in Object.getOwnPropertyNames)) { | |
| var hidden = { enumerable: false }; |
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
| { | |
| "env": { | |
| "browser": true, | |
| "node": true, | |
| "es6": true | |
| }, | |
| "plugins": ["react"], | |
| "ecmaFeatures": { |
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 main | |
| import ( | |
| "net/http" | |
| ) | |
| func main() { | |
| go func() { | |
| http.ListenAndServe(":8001", &fooHandler{}) | |
| }() |
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