Skip to content

Instantly share code, notes, and snippets.

View bojanpopic's full-sized avatar

Bojan Popić bojanpopic

  • Beyounic
  • Novi Sad, Serbia
View GitHub Profile
@bojanpopic
bojanpopic / keybase.md
Created June 15, 2016 10:01
keybase.md

Keybase proof

I hereby claim:

  • I am bojanpopic on github.
  • I am bojanpopic (https://keybase.io/bojanpopic) on keybase.
  • I have a public key whose fingerprint is 93EB C58A 0A83 6A5E B07B C678 29F6 7BB2 4946 999C

To claim this, I am signing this object:

@bojanpopic
bojanpopic / backup_github_issues.sh
Last active May 20, 2020 09:34
A (dirty) bash script that will backup issues from the GitHub repo using API. It takes pagination into consideration. Originally created by @boombatower. Done under a hour, so it can be improved (grep anyone?), but hey, it's one time script and it works. What more do you need? :)
#!/bin/bash
repo="" # put the name of the repo here. Usually it is like this: organization/repo-name
username="" # your github username
password="" # your github password
numberofpages= # leave blank for now and script will help you find the number of pages
if [ -z $numberofpages ]
then
echo "No number of pages set, lets find out how many pages are there"
@bojanpopic
bojanpopic / br height
Created January 24, 2014 21:42
How to change height of <br>
/* probably not working in IE7- */
.form-validate br {
display: block; /* not to break flow */
margin-top: -12px; /* this actually control the height */
line-height:0; /* I'm not 100% sure this is needed */
content: " "; /* needed for chrome */
}