Skip to content

Instantly share code, notes, and snippets.

View safaariman's full-sized avatar
🏠
Working from home

Safa Arıman safaariman

🏠
Working from home
View GitHub Profile
@safaariman
safaariman / GitCommitEmoji.md
Created October 25, 2022 17:46 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@safaariman
safaariman / pspec.json
Created December 29, 2019 09:42
New PISI Spec file
{
"source": {
"name": "java-openjdk",
"homepage": "https://openjdk.java.net/",
"packager": {
"name": "Safa Arıman",
"email": "safa@ariman.gen.tr"
},
"licenses": [
"GPLv2"
@safaariman
safaariman / pisi_repository_cleaner.py
Last active April 12, 2020 20:25
PISI Repository Cleaner
#!/usr/bin/env python3
"""PISI Repository Cleaner.
This script removes old PISI packages by taking only two positional arguments.
First one is the path to the PISI repository and second one is the number of
package versions to keep in the repository. (Latest versions will be kept.)
Example:
This script can easily be run by providing two positional arguments directory and count.

Keybase proof

I hereby claim:

  • I am safaariman on github.
  • I am safaariman (https://keybase.io/safaariman) on keybase.
  • I have a public key ASDyBE2G_8EWyVdaD1XMpLWuV50iOJ3AAZEFH2PF0KQF7Ao

To claim this, I am signing this object:

@safaariman
safaariman / checkelf.py
Created August 6, 2019 21:55
/usr/bin/checkelf
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2010 TUBITAK/UEKAE
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
@safaariman
safaariman / service.py
Created August 4, 2019 10:52
/bin/service
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Service management tool
# Copyright (C) 2006-2011 TUBITAK/UEKAE
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version. Please read the COPYING file.