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
| alias lastlog="tail -n 20 $(ls -d -t -1 "$PWD/logs/"** | sed -n '2p')" |
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
| # CONSIDER THIS AN EXAMPLE ... replace variables with own vals | |
| az account set -s <SUBSCRIPTION_ID> | |
| az vm deallocate --resource-group TWEBBUILDER --name TWEBBUILDERVM | |
| az vm list -g TWEBBUILDER --query '[].{Name:name,DiskName:storageProfile.osDisk.name}' --output table | |
| az disk create -g TWEBBUILDER_GALL --name TWEBBUILDER_GALL_disk --source /subscriptions/<SUBSCRIPTION_ID>/resourceGroups/TWEBBUILDER/providers/Microsoft.Compute/snapshots/TWBSnap | |
| az disk list -g TWEBBUILDER_GALL --output table | |
| az network vnet create -g TWEBBUILDER_GALL --location westeurope --name TWBGALLVNet --address-prefix 192.168.0.0/16 --subnet-name TWBGALLSubNet --subnet-prefix 192.168.1.0/24 | |
| az network public-ip create -g TWEBBUILDER_GALL --location westeurope --name TWBGALLIP --dns-name twbgallery --allocation-method static --idle-timeout 4 | |
| az network nic create -g TWEBBUILDER_GALL --location westeurope --name TWBGallNic --vnet-name TWBGALLVNet --subnet TWBGALLSubNet --public-ip-address TWBGALLIP | |
| az vm create -g TWEBBUILDER_GALL --name TW |
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
| ### JHW 2018 | |
| import numpy as np | |
| import umap | |
| # This code from the excellent module at: | |
| # https://stackoverflow.com/questions/4643647/fast-prime-factorization-module | |
| import random |
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
| <!-- msg template --> | |
| <script type="text/template" id="msg_template"> | |
| <li class="content"> | |
| <p class="img" style='background-image: url("<%= img %>")'> </p> | |
| <p class="msg"><%= msg %></p> | |
| </li> | |
| </script> | |
| <!-- main html --> | |
| <a href="https://github.com/uriuriuriu/beat.js" target="_blank"><h1 id="title">NuChwezi Chan</h1></a> |
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.nu-title Nu Chwezi KIDS | |
| #truck | |
| .body | |
| .shadow | |
| .cockpit | |
| .front | |
| .back | |
| .left | |
| .right |
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
| <section id="app"> | |
| <div class="container-fluid"> | |
| <div class="row"> | |
| <div class="container banner"> | |
| <h1 class="neon small">{{ title }}</h1> | |
| </div> | |
| </div> | |
| <div class="row"> |
A technique to create an infinitely scrolling background (evolves into the World's most loved technology, one bit at a time).
My name is AK1N NEMESIS FIXX, of the Nu Chwezi Hackers, and I am the creator of Flow. Ask me anything, or, welcome, let's hack for the advancement of mankind!
A Pen by Nemesis Fixx on CodePen.
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
| Sub InstallPictures() | |
| Application.ScreenUpdating = False | |
| Application.Calculation = xlCalculationManual | |
| Dim url_column As Range | |
| Dim image_column As Range | |
| 'column with url... | |
| Set url_column = Worksheets(1).UsedRange.Columns("AE") | |
| 'column where image will be inserted |
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
| @ECHO OFF | |
| ECHO *********************** | |
| ECHO Remember Batch sCripts? | |
| ECHO Good ol days... but, right now, we got work to do ;-) | |
| ECHO *********************** | |
| ECHO SCRIPT: run_all_sql_in_dir.bat | |
| ECHO SYNTAX: run_all_sql_in_dir [DIR] [HOST] [SERVER] [DBNAME] [USER] [PASSWORD] | |
| ECHO Purpose: should be obvious by now... checks the DIR, and using the connection params, executes all SQL scripts found in that dir, against the specified DB | |
| ECHO Uses some convinient defaults... check the source-code of this script! |