Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| @echo off | |
| rem Environment variables are local only and thus forgotten when script exits | |
| setlocal | |
| title msbuilr | |
| set DOTNET_FRAMEWORK=4.0.30319 | |
| set MSBUILD=%systemroot%\Microsoft.NET\Framework\v%DOTNET_FRAMEWORK%\MSBuild.exe | |
| set ROOT=. | |
| if not exist %MSBUILD% goto :requirements_missing |
| #!/usr/bin/env sh | |
| # Download lists, unpack and filter, write to stdout | |
| curl -s https://www.iblocklist.com/lists.php \ | |
| | sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| | xargs wget -O - \ | |
| | gunzip \ | |
| | egrep -v '^#' |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| # To run this file you will need to open Powershell as administrator and first run: | |
| # Set-ExecutionPolicy Unrestricted | |
| # Then source this script by running: | |
| # . .\install_python.ps1 | |
| $save_dir=Resolve-Path ~/Downloads | |
| $project_dir = "C:\Projects" | |
| $virtualenv_dir = $project_dir + "\virtualenvs" | |
| $client = New-Object System.Net.WebClient |
| function organizeData() { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var fromSheet = ss.getSheetByName("Monthly link"); | |
| var toSheet = ss.getSheetByName("Name"); | |
| var aCol = fromSheet.getRange("A10:A"); | |
| var rCol = fromSheet.getRange("R10:R"); | |
| var agCol = fromSheet.getRange("AG10:AG"); | |
| var auCol = fromSheet.getRange("AU10:AU"); |
| @echo off | |
| rem Usage: find-msvc.cmd MinimumVersion MaximumVersion | |
| rem | |
| rem Given a range of versions to search for, this script attempts to locate a | |
| rem valid Visual Studio installation based upon the current set of environment | |
| rem variables. If a valid installation is found, this script sets the | |
| rem environment variable "VCROOT" to Drive:\Path\To\VS\VC. On success, we | |
| rem should be able to call %VCROOT%\vcvarsall.bat. | |
| rem | |
| rem Versions use the VSXX0COMNTOOLS environment variable: |
| {-# LANGUAGE OverloadedStrings #-} | |
| module Main (main) where | |
| import Control.Applicative ((<$>)) | |
| import Data.List | |
| import Data.Maybe (mapMaybe) | |
| import Data.Word (Word) | |
| import Data.Char (isSpace) |