Skip to content

Instantly share code, notes, and snippets.

# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)

Keybase proof

I hereby claim:

  • I am amarkulo on github.
  • I am amar (https://keybase.io/amar) on keybase.
  • I have a public key whose fingerprint is 5105 5708 1C8A 039C 54D5 EEF2 605C 15BA 2FA1 4190

To claim this, I am signing this object:

@amarkulo
amarkulo / Klix_unread_post_fix.user.js
Created December 2, 2016 11:04
Klix unread post fix tampermonkey script for Chrome
// ==UserScript==
// @name Klix unread posts fix
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Unread posts fix for permalinks
// @author Amar Kulo (amar@url.ba)
// @match http://forum.klix.ba/search.php?*
// @grant none
// ==/UserScript==
@amarkulo
amarkulo / .sql
Last active July 20, 2021 17:17
Import data to PwnedPwdDB
-- create table
USE [PwnedPwdDB]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
@amarkulo
amarkulo / .sql
Created August 24, 2017 09:12
Check PwnedPwdDB for unsecure hashes
use PwnedPwdDB
go
DECLARE @HashThis varchar(MAX) = 'password';
DECLARE @Hash varchar(MAX);
set @Hash = convert(varchar(max), HASHBYTES('SHA1', @HashThis), 2);
select * from Hashes where hash = @Hash;
@amarkulo
amarkulo / .txt
Created August 24, 2017 09:45
OPFService test output
C:\OPF>OPFTest.exe password
----------------------------------------------------------------------
Test program for OpenPasswordFilter.dll (Josh Stone, yakovdk@gmail.com)
----------------------------------------------------------------------
Initializing winsock...done.
Loading library...success (88de0000).
Getting PasswordFilter() address...success (88de1030).
Testing password password...failure.
@amarkulo
amarkulo / ca.md
Created January 28, 2019 08:12 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

Keybase proof

I hereby claim:

  • I am amarkulo on github.
  • I am amar (https://keybase.io/amar) on keybase.
  • I have a public key whose fingerprint is EEDF 9246 F3AA 66D7 908B 90F0 2720 4B77 EE41 4C1B

To claim this, I am signing this object: