%LOCALAPPDATA%\Microsoft\WindowsApps\debian.exe -cur_console:p5
This file contains 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
//Declare variables. | |
$numbers: ( | |
0: "zero", | |
1: "one", | |
2: "two", | |
3: "three", | |
4: "four", | |
5: "five", | |
6: "six", | |
7: "seven", |
This file contains 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
<Shapes xmlns="http://www.evolus.vn/Namespace/Pencil" | |
xmlns:p="http://www.evolus.vn/Namespace/Pencil" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
id="Blueprint_CSS.Icons" | |
displayName="Blueprint CSS" | |
description="Blueprint CSS Grid" | |
author="Alice Kaerast" | |
url="http://blueprintcss.org/"> |
This file contains 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
//Declare variables. | |
var $worm = jQuery('#abilityitem_26'); | |
var $time = jQuery('#abilityitem_27'); | |
var $gold = jQuery('#abilityitem_22'); | |
var _interval; | |
//Set an interval to click the worm. | |
var _MHTH = setInterval(function() { | |
//Clear old intervals. | |
clearInterval(_interval); |
This file contains 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
//http://james.padolsey.com/javascript/detect-ie-in-js-using-conditional-comments/ | |
var ie = (function(){ | |
var undef, | |
v = 3, | |
div = document.createElement('div'), | |
all = div.getElementsByTagName('i'); | |
while ( | |
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->', |
This file contains 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
<?php | |
$value = get_post_meta($post_id, 'progress_value', true); | |
?> | |
<div class="progress-bar"> | |
<div class="inner-progress-bar" style="width: <?php print(round(100 - ($value * (100 / 7)), 1)); ?>%;"></div> | |
</div> |
This file contains 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
#include <Adafruit_NeoPixel.h> | |
#include <math.h> | |
#define LEDCOUNT 8 | |
#define PINLED 1 | |
#define PINSENSOR 0 | |
#define RGB 3 | |
#define STEPS 20 | |
#define TIMER 4 | |
#define TIMEOUT 5 |
This file contains 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
/9j/4AAQSkZJRgABAgAAAQABAAD//gAQTGF2YzU4LjE4LjEwMAD/2wBDAAgICAkICQsLCwsLCw0MDQ0NDQ0NDQ0NDQ0ODg4REREODg4NDQ4OEBARERITEhERERETExQUFBgYFxccHB0iIin/xACdAAABBQEBAQAAAAAAAAAAAAACBQADBAEGBwgBAAMBAQEBAAAAAAAAAAAAAAABAgMEBQYQAAEDAwIDBQYEAwYFAgcBAAEAAwIRIQQxEgVRQYFxImETsUKhkQYyFCPBUtHwcuFi8TM0FZKCsqIkBxajQzVEY3N0VBEBAQACAgICAgIDAQEBAAAAAAECESEDEjEEQSJRE3FhoTIFI4H/wAARCAFoAWgDASIAAhEAAxEA/9oADAMBAAIRAxEAPwD2FGEKJcbYJWVWlClSrUJJWoapE0IkIT6KlKol+bJTi6giPHJTgoCRNZVNANMarKJoA6oVqYQAlYAKIiQgqgGmgnIRiSVFHIjKgGqDkT1WoKpqSGnqsTrQWQG0QEUW3WEFABVaEK1AM3WLVqcAKLU9E6phlUJTMkFaqQIJ1Q1KzcUG01Woap1QG6JgoEYCA1DoiQlBtqsTTQDWp2W0CAvVUm5VwUYVJSVQEpoClSrSUwFGdEYSJMLBCU0JVKQx++SmooWvvkrCAEFEgNtEQ0ugHVVvV8aQePcYlgANtkGc/mF5jP6wzGcra7LfA9h/RCpi9y9aNLEFDJ+ERUyA7yvKx9QS2icHY+LpIm3yVZ76jm5VsmI8wTdA8XrsXIzFiD3KOUqLwyf1BkMOVbyTHyrVKWL9bZTZpOjg/nuRyfi9ZyZVbKScJ6Lr9AdFzTf1mw60Yzhtkfl7VS4BxOE+IOt7rTNYmulTWiXI09SCdUEJCUQfJGjSR1CdUFQiBAQRkoKko6hYbpAIWrFoKejOidUyUNQmTSsJQ1KjkSgMkarCsWEpaA+iFNakGLKp0otCDMFHVYmgNqhJTWUQNmiWAIkGwLbJp1PJAWwpFEFIqSZQ1WlRkpUq |
This file contains 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
Set WshShell = CreateObject("WScript.Shell") | |
response = InputBox("Your Digital Product ID", "Windows Serial Key", ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))) | |
Function ConvertToKey(Key) | |
Const KeyOffset = 52 | |
i = 28 | |
Chars = "BCDFGHJKMPQRTVWXY2346789" | |
Do | |
Cur = 0 | |
x = 14 |
I needed to take a string, such as "255.255.255.0/24" and get an array containing every value from "255.255.255.0" to "255.255.255.255".
This is the question that I found, from 2013: https://stackoverflow.com/questions/15521725/php-generate-ips-list-from-ip-range/15613770#15613770
Edmhs answered their own question, with a function:
function ipListFromRange($range){
$parts = explode('/',$range);
$exponent = 32-$parts[1].'-';