Skip to content

Instantly share code, notes, and snippets.

View radinreth's full-sized avatar
👨‍💻
Hello World!

Radin Reth radinreth

👨‍💻
Hello World!
View GitHub Profile
@radinreth
radinreth / sublime_text_2_useful_shortcuts.md
Created November 5, 2015 15:05 — forked from nuxlli/sublime_text_2_useful_shortcuts.md
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 - Useful Shortcuts

Tested in Mac OS X: super == command

Open/Goto


  • super+t: go to file
  • super+ctrl+p: go to project
  • super+r: go to methods
# List of all uploaded videos and playlists on a YouTube Channel
# Note that YouTube API v3 requires a key. Create a browser API key with a referer at https://console.developers.google.com.
#
# Here are the steps using "curl" that matches the Ruby code below:
#
# Get channel information.
# curl --referer "YOUR_REFERER" "https://www.googleapis.com/youtube/v3/channels?part=snippet,contentDetails,statistics,status&maxResults=50&forUsername=YOUR_USERNAME&key=YOUR_KEY"
# Find "Uploads" playlist ID at items => contentDetails => relatedPlaylists => uploads.
# Find Channel ID at items => id.
#
@radinreth
radinreth / readme.md
Created January 11, 2016 08:21 — forked from maxivak/readme.md
Send email to multiple recipients in Rails with ActionMailer

Send email to multiple recipients

Send multiple emails to different recipients.

Mailer class

# app/mailers/notify_mailer.rb

class NotifyMailer < ApplicationMailer
@radinreth
radinreth / springer-free-maths-books.md
Created January 12, 2016 01:18 — forked from bishboria/springer-free-maths-books.md
Springer made a bunch of books available for free, these were the direct links
require 'nokogiri'
require 'open-uri'
MARK_FILE = "mark.dat"
def wait_for_threads(threads)
print "Waiting for downloads to finish..."
threads.each { |t| t.join }
puts " ok"
end
#!/usr/bin/env ruby
require 'rubygems'
require 'open-uri'
require 'nokogiri'
require 'net/http'
url = 'http://hewgill.com/~greg/stackoverflow/ebooks/'
root = uri.parse(url)
@radinreth
radinreth / ebooks.md
Created May 9, 2017 11:17 — forked from aalvesjr/ebooks.md
My ebooks from packetpub

Ebooks:

  • 3D Printing with RepRap Cookbook [eBook] - Richard Salinas
  • 3D Printing with SketchUp [eBook] - Marcus Ritland
  • ASP.NET 3.5 CMS Development [eBook] - Curt Christianson, Jeff Cochran
  • ASP.NET Data Presentation Controls Essentials [eBook] - Joydip Kanjilal
  • ASP.NET Web API: Build RESTful web applications and services on the .NET framework [eBook] - Joydip Kanjilal
  • Allan Brito
  • Amazon Web Services: Migrating your .NET Enterprise Application [eBook] - Rob Linton
  • Android 3.0 Application Development Cookbook [eBook] - Kyle Merrifield Mew

Trochę darmowych książek z programowania i szeroko rozumianego IT:

Wszystkie znajdziesz tutaj: https://www.syncfusion.com/resources/techportal/ebooks

By ściągnąć trzeba się zalogować/założyć darmowe konto (działa rejestracja z emaila tymczasowego)

Możecie użyć do logowania danych - email: yamukaxoje@mailzi.ru, hasło: wykop14k

A tutaj lista poszczególnych tytułów (83):

@radinreth
radinreth / manifest.json
Created May 9, 2017 11:33 — forked from bblanchon/manifest.json
syncfusion-ebook-links
{
"manifest_version": 2,
"name": "Syncfusion e-book links",
"description": "Replace DOWNLOAD buttons by convenient links",
"version": "1.0",
"content_scripts": [ {
"js": [ "jquery-1.11.1.min.js", "script.js" ],
"matches": [ "https://www.syncfusion.com/resources/techportal/ebooks" ]
} ]