Skip to content

Instantly share code, notes, and snippets.

behinder Behinder

Block or report user

Report or block Behinder

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Behinder
Behinder / MergePdfIntoOne
Created May 12, 2017
Merge all pdf in directory into one
View MergePdfIntoOne
require 'combine_pdf'
pdf = CombinePDF.new
Dir.glob("*.pdf") do |file|
pdf << CombinePDF.load(file)
end
pdf.save "KukBuk.pdf"
@Behinder
Behinder / Clipboard2Evernote
Created May 12, 2017
Generate note in Evernote from clipboard when first line is a title
View Clipboard2Evernote
set tekst to (get the clipboard)
set lns to paragraphs of tekst
set bodytekst to ""
set tytul to item 1 of lns
repeat with ln from 2 to length of lns
set linia to item ln of lns
set bodytekst to bodytekst & linia & "
"
View wynikCDATAperl
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:admin="http://webns.net/mvcb/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
>
@Behinder
Behinder / emojiTime.php
Last active Apr 19, 2017
Converts time or number to its representation in emoji symbols
View emojiTime.php
function convertNumberToEmoji($cyfra)
{
switch ($cyfra) {
case '0':
return "\u{30}\u{FE0F}\u{20E3}";
break;
case '1':
return "\u{31}\u{FE0F}\u{20E3}";
@Behinder
Behinder / objc:dynamicTitleBarSize.sublime-snippet
Last active Aug 29, 2015
Change size dynamically of Title Label ios7
View objc:dynamicTitleBarSize.sublime-snippet
self.title = @"Your TiTle Text";
UILabel* tlabel=[[UILabel alloc] initWithFrame:CGRectMake(0,0, 200, 40)];
tlabel.text=self.navigationItem.title;
tlabel.textColor=[UIColor whiteColor];
tlabel.font = [UIFont fontWithName:@"Helvetica-Bold" size: 30.0];
tlabel.backgroundColor =[UIColor clearColor];
tlabel.adjustsFontSizeToFitWidth=YES;
self.navigationItem.titleView=tlabel;
View keybase.md

Keybase proof

I hereby claim:

  • I am Behinder on github.
  • I am behinder (https://keybase.io/behinder) on keybase.
  • I have a public key whose fingerprint is 6E46 A04D 069B 1BB4 1B20 3ED0 0EEB 4A82 564D A581

To claim this, I am signing this object:

You can’t perform that action at this time.