Skip to content

Instantly share code, notes, and snippets.

@illnino
illnino / ass
Created August 24, 2024 21:52 — forked from mikewlange/ass
best way download a full site
BEST WAY TO DOWNLOAD FULL WEBSITE WITH WGET
I show two ways, the first way is just one command that doesnt run in the background - the second one runs in the background and in a different "shell" so you can get out of your ssh session and it will continue either way
First make a folder to download the websites to and begin your downloading: (note if downloading www.kossboss.com, you will get a folder like this: /websitedl/www.kossboss.com/ )
(STEP1)
mkdir /websitedl/
cd /websitedl/
(STEP2)
@illnino
illnino / install-metasploit-on-yosemite
Created December 9, 2014 08:11
Yosemite中安装 Metasploit Framework
笔者工作中使用的主力机器是 MacBookPro, 系统是 Yosemite. 下面简介在 Yosemite中安装Metasploit Framework.
## Install Commandline for XCode
```
xcode-select --install
```
## Install Java7 SDK & JRE
```
http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-macosx-x64.dmg
@illnino
illnino / sqlmap-shortcut
Last active August 29, 2015 14:07
SQLMap Shortcut
[SQLMap](http://sqlmap.org/) 是一个 SQL Injection 的工具. 下载到 Mac 中时, 由于 PATH 变量没有这个 path, 我们每次使用的时候都需要进到 sqlmap 的 folder, 才能调用, 这比较费时.
笔者使用的是 oh-my-zsh, 需要修改的文件为`~/.zshrc`,
**oh-my-zsh**
```
"echo 'export PATH=/path/to/sqlmap:$PATH' >> ~/.zshrc"
```

Header 1

Header 2

Header 3 ### (Hashes on right are optional)

Header 4

Header 5

Markdown plus h2 with a custom ID ## {#id-goes-here}

Link back to H2

This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one

<script type="text/javascript"><!--
var option_value_row = 11;
function addOptionValue(option_row) {
html = '<tbody id="option-value-row' + option_value_row + '">';
html += ' <tr>';
html += ' <td class="left"><select name="product_option[' + option_row + '][product_option_value][' + option_value_row + '][option_value_id]">';
html += $('#option-values' + option_row).html();
html += ' </select><input type="hidden" name="product_option[' + option_row + '][product_option_value][' + option_value_row + '][product_option_value_id]" value="" /></td>';
html += ' <td class="right"><input type="text" name="product_option[' + option_row + '][product_option_value][' + option_value_row + '][quantity]" value="" size="3" /></td>';
@illnino
illnino / index.html
Created July 23, 2013 03:28
A CodePen by illnino. Multiple BG image - With CSS3, you could use multiple images to stack layers to draw a beautiful picture.
<div>Dinosaur with Grass and clouds</div>
@illnino
illnino / 2.vb
Created March 24, 2013 15:07
Split according to contents in a column
'将单元格区域插入到一个表的最后
Sub AddRow(sht As Worksheet, rg As Range)
Dim shtrn As Integer
Dim rn, cn As Integer
shtrn = sht.Range("A1").CurrentRegion.Rows.Count
rn = rg.Rows.Count
cn = rg.Columns.Count
rg.Copy sht.Range("A1").Offset(shtrn, 0).Resize(rn, cn)
End Sub
@illnino
illnino / CRecord.vb
Last active December 11, 2015 09:18
travel agent project
Option Explicit
Private mlRecordID As Long
Private mlParentPtr As Long
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _
(dest As Any, Source As Any, ByVal bytes As Long)
Private msDte As String
Private msClient As String
Private msName As String
@illnino
illnino / project.vb
Last active December 10, 2015 02:39
project
Sub ImportLargeFile(i As Integer)
'Imports text file into Excel workbook using ADO.
'If the number of records exceeds 65536 then it splits it over more than one sheet.
Dim strFilePath As String, strFilename As String, strFullPath As String
Dim lngCounter As Long
Dim oConn As Object, oRS As Object, oFSObj As Object
'Get a text file name
strFullPath = Application.GetOpenFilename("Text Files (*.txt),*.txt", , "Please selec text file...")