A zoomable candlestick chart.
Copyright © 2015-16, Anil Nair - MIT License
A zoomable candlestick chart.
Copyright © 2015-16, Anil Nair - MIT License
| <?php // Simple PHP script to lookup for blacklisted IP against multiple DNSBLs at once. ?> | |
| <html> | |
| <head> | |
| <title>DNSBL Lookup Tool - IP Blacklist Check Script</title> | |
| </head> | |
| <body> | |
| <h2>IP Blacklist Check Script</h2> | |
| <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> | |
| <input type="text" value="" name="ip"/> | |
| <input type="submit" value="LOOKUP"/> |
| //Note method 6 is an single line using only logical and, and or it is the fastest method. | |
| //This document contains the steps to create the singular translation. | |
| //Super Fast log 2 calculation over 32-bit integer in right shift. Each right shift is a division of 2 in binary. | |
| function Log2_Int32_V1(V) | |
| { | |
| for( var n = 31; n > 0; V >>> n ? ( V = n, n = 0 ) : n-- ); | |
| return(V); | |
| } |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| package main | |
| import ( | |
| "crypto/rand" | |
| "flag" | |
| "log" | |
| mrand "math/rand" | |
| "net" | |
| "os" | |
| "os/signal" |
| import * as mongoose from 'mongoose'; | |
| export let Schema = mongoose.Schema; | |
| export let ObjectId = mongoose.Schema.Types.ObjectId; | |
| export let Mixed = mongoose.Schema.Types.Mixed; | |
| export interface IHeroModel extends mongoose.Document { | |
| name: string; | |
| power: string; |
| ##############Script Settings################## | |
| :local RemoteNOIPHost "domainname.noip.com" | |
| :local IPsecComment "myIPsec" | |
| ############################################### | |
| :local TmpIP [/ip ipsec peer get [find comment="$IPsecComment"] address] | |
| :local OldIP [:pick "$TmpIP" 0 ([:len $TmpIP] - 3)] | |
| :local NewIP [:resolve $RemoteNOIPHost] | |
| :if ($NewIP != $OldIP) do={ |
| ##############Script Settings################## | |
| :local DDNSUser "username" | |
| :local DDNSPass "password" | |
| :local DDNSDomain "yourhost.ddns.net" | |
| :local DDNSServer "https://members.dyndns.org/v3/update" | |
| :local WANInter "pppoe-out1" | |
| ############################################### | |
| :local IpCurrent [/ip address get [find interface=$WANInter] address]; | |
| :for i from=( [:len $IpCurrent] - 1) to=0 do={ |
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
| #!/bin/sh | |
| BIN=/home/whs/.local/share/letsencrypt/bin/letsencrypt | |
| SHUT_SVC=1 | |
| if [ "$SHUT_SVC" = "1" ]; then | |
| sudo service nginx stop | |
| sudo service apache2 stop | |
| fi | |
| SITES=certs/* |