Skip to content

Instantly share code, notes, and snippets.

Avatar
Focusing

pmaingi pmaingi

Focusing
View GitHub Profile
View setup.sh
# how to run this thingy
# create a file on your mac called setup.sh
# run it from terminal with: sh setup.sh
# heavily inspired by https://twitter.com/damcclean
# https://github.com/damcclean/dotfiles/blob/master/install.sh
#!/bin/bash
set -euo pipefail
View Build 3114 License Key.markdown

Sublime text 3 (Build 3114) license key, these all tested available on 2016/05/13

—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@pmaingi
pmaingi / ci-encryption-key-generator.php
Created May 19, 2016 — forked from jeffreybarke/ci-encryption-key-generator.php
This is the code I use (minus Google Analytics) for the CodeIgniter encryption key generator located at http://jeffreybarke.net/tools/codeigniter-encryption-key-generator/
View ci-encryption-key-generator.php
<?php
/**
* Generate an encryption key for CodeIgniter.
* http://codeigniter.com/user_guide/libraries/encryption.html
*/
// http://www.itnewb.com/v/Generating-Session-IDs-and-Random-Passwords-with-PHP
function generate_token ($len = 32)
{
@pmaingi
pmaingi / Sublime Text 3 Build 3103 License Key - CRACK
Created May 19, 2016
Sublime Text 3 Build 3103 License Key - CRACK
View Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@pmaingi
pmaingi / List.md
Created Oct 7, 2015 — forked from msurguy/List.md
List of open source projects made with Laravel
View List.md

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@pmaingi
pmaingi / download_paper.py
Last active Sep 18, 2015 — forked from ninenine/download_paper.py
Download Kenyan Daily Nation and Business Daily
View download_paper.py
#!/usr/bin/env python
import urllib2
from datetime import date
def main():
today = date.today()
suffix = getDateSuffix(today)
fdate = "%s %s%s %s" % (today.strftime('%b'),today.strftime('%d').lstrip('0'),suffix,today.strftime('%Y'))
print("Downloading Daily Nation...")
@pmaingi
pmaingi / Sublime Text License Key
Last active Sep 18, 2015
Sublime Text 2 License Key, Sublime Text 3 License Key, Sublime Text Full Version.
View Sublime Text License Key
Tags: Sublime Text 2 License Key, Sublime Text 3 License Key, Sublime Text Full Version
Go to menu Help > Enter License.
----- BEGIN LICENSE -----
J2TeaM
2 User License
EA7E-940282
45CB0D8F 09100037 7D1056EB A1DDC1A2
View wildfly-install.sh
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 9.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :20150705
#usage :/bin/bash wildfly-install.sh
WILDFLY_VERSION=9.0.0.Final
WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION
View FormAutoValidatingBehavior.java
/**
* Copyright (C) 2012 Michal Wegrzyn <bend-up@users.sourceforge.net>
* Licensed under The MIT license.
* You can use this file as long as you retain the above copyright notice.
*/
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.AjaxFormSubmitBehavior;
import org.apache.wicket.feedback.IFeedback;
You can’t perform that action at this time.