Skip to content

Instantly share code, notes, and snippets.

View huseyinbarin's full-sized avatar

Huseyin Barin huseyinbarin

View GitHub Profile
@huseyinbarin
huseyinbarin / GitHub_app_in_action.md
Last active December 9, 2022 06:46
Github app usage instead of Personal Access Token a.k.a (PAT)

Basic roadmap

  • Create a Github app by using UI or Probot template
  • Set up the permissions
  • Install this created Github app for the repositories where PAT is used
  • Authenticate the Github app installation access token and use it as a user

Places in we use PAT

Releases pipeline

@huseyinbarin
huseyinbarin / android-screen-to-gif.sh
Created January 15, 2016 08:07 — forked from lorenzos/android-screen-to-gif.sh
Captures screen from Android device via ADB and makes a 180x320 GIF
#!/bin/bash
# How to install:
# exo-open "http://developer.android.com/sdk/index.html#Other"
# sudo apt-get install libav-tools imagemagick
# wget https://gist.githubusercontent.com/lorenzos/e8a97c1992cddf9c1142/raw/android-screen-to-gif.sh
# chmod a+x android-screen-to-gif.sh
# Help message
function usage() {
package barin.com.soundcloudapp.services;
import android.app.IntentService;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v4.content.LocalBroadcastManager;
import android.util.Log;