- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
program ProjectMysqlADO; | |
{$APPTYPE CONSOLE} | |
uses | |
ActiveX, | |
DB, | |
ADODB, | |
SysUtils; |
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
/* | |
******************************************************************************************************************************** | |
Credits: @Jeremy | |
Posted: http://stackoverflow.com/questions/7048839/sql-server-query-to-find-all-permissions-access-for-all-users-in-a-database | |
******************************************************************************************************************************** | |
Security Audit Report | |
1) List all access provisioned to a sql user or windows user/group directly | |
2) List all access provisioned to a sql user or windows user/group through a database or application role | |
3) List all access provisioned to the public role |
/** =========================== SERVER =================================== */ | |
var express = require('express'); | |
var MjpegCamera = require('mjpeg-camera'); | |
var app = express(); | |
// Create an MjpegCamera instance | |
var camera = new MjpegCamera({ | |
name: 'backdoor', | |
url: 'http://192.168.7.1/video' | |
}); |
var async = require('async'); | |
async.waterfall( | |
[ | |
function(callback) { | |
callback(null, 'Yes', 'it'); | |
}, | |
function(arg1, arg2, callback) { | |
var caption = arg1 +' and '+ arg2; | |
callback(null, caption); |
<# | |
.SYNOPSIS | |
Performs a SQL query and returns an array of PSObjects. | |
.NOTES | |
Author: Jourdan Templeton - [email protected] | |
.LINK | |
https://blog.jourdant.me/post/simple-sql-in-powershell | |
#> | |
function Invoke-SqlCommand() { | |
[cmdletbinding(DefaultParameterSetName="integrated")]Param ( |
USE [master] | |
GO | |
/****** Object: UserDefinedFunction [dbo].[fn_hexadecimal] | |
Credit - http://weblogs.sqlteam.com/billg/archive/2010/07/08/Scripting-out-SQL-Server-Logins.aspx | |
****/ | |
SET ANSI_NULLS ON | |
GO |
ul.products li.product { | |
width: 46.411765%; | |
float: left; | |
margin-right: 5.8823529412%; | |
} | |
ul.products li.product:nth-of-type( 2n ) { | |
margin-right: 0; | |
} |