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
# Today's Files | |
datemodified:today NOT type:folder NOT (.git) | |
# Yesterday's Files | |
datemodified:yesterday NOT type:folder NOT (.git) | |
# Earlier This Week | |
datemodified:earlier this week NOT type:folder NOT (.git) | |
# Today's Folders |
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
COMMENT Script: Pull random attribute sample. | |
COMMENT | |
Before using this script, | |
1. set the SampleSize variable; | |
2. replace "PopulationTable" with the population table name; and | |
3. replace "SampleTable" with the sample table name. | |
END | |
COMMENT Define sample size. |
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
Private Sub ExecSQL(ByVal SQL As String) | |
Call CurrentDb.Execute(SQL, dbFailOnError) | |
End Sub |
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
ALTER TABLE TableName DROP CONSTRAINT PrimaryKey; |
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
dir | Rename-Item -NewName { $_.name -replace "OldText", "ReplacementText" } |
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
#!/bin/tcsh | |
# Grab user information. | |
echo "PrivateInternetAccess OpenVPN Setup:" | |
echo " https://www.privateinternetaccess.com/pages/client-control-panel" | |
echo " -> PPTP/L2TP/SOCKS Username and Password" | |
echo -n "User: " | |
set user = $< | |
echo -n "Pass: " | |
set pass = $< |
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
Attribute VB_Name = "LoggedInUserName" | |
Option Explicit | |
Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ | |
"GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long | |
Function GetLoggedInUserName() As String | |
Dim MaxBufferLength As Long | |
MaxBufferLength = 255 |
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
VERSION 1.0 CLASS | |
BEGIN | |
MultiUse = -1 'True | |
END | |
Attribute VB_Name = "DAOQueryRunner" | |
Attribute VB_GlobalNameSpace = False | |
Attribute VB_Creatable = False | |
Attribute VB_PredeclaredId = False | |
Attribute VB_Exposed = False | |
Option Compare Database |
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
VERSION 1.0 CLASS | |
BEGIN | |
MultiUse = -1 'True | |
END | |
Attribute VB_Name = "DAOTemporaryTableController" | |
Attribute VB_GlobalNameSpace = False | |
Attribute VB_Creatable = False | |
Attribute VB_PredeclaredId = False | |
Attribute VB_Exposed = False | |
Option Compare Database |
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
import Foundation | |
public struct SemanticVersionNumber: Equatable { | |
public let major: Int | |
public let minor: Int | |
public let patch: Int | |
public init?(version: String) { | |
let components = version.split(separator: ".") | |
guard components.count == 3 else { return nil } |
OlderNewer